Plugin Directory

Changeset 3441804


Ignore:
Timestamp:
01/18/2026 08:15:27 AM (4 weeks ago)
Author:
primeseo
Message:

Update tag 1.0.2 with flush fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prime-seo/tags/1.0.2/includes/class-prime-seo-activator.php

    r3441042 r3441804  
    4949        }
    5050       
    51         // Flush rewrite rules for sitemap
    52         flush_rewrite_rules();
     51        // Schedule rewrite rules flush (flag-based approach).
     52        // Direct flush_rewrite_rules() here doesn't work because
     53        // rewrite rules are not yet registered at activation time.
     54        // The actual flush happens on 'init' hook with priority 999.
     55        update_option( 'prime_seo_flush_rewrite', 1 );
    5356
    5457        // Store current version (prevents upgrade routine from running on fresh install).
Note: See TracChangeset for help on using the changeset viewer.