Plugin Directory

Changeset 1177800


Ignore:
Timestamp:
06/09/2015 06:52:17 PM (11 years ago)
Author:
lti
Message:

Bug fix: rewrite rules have to be initiated whenever the plugin loads, not just when it activates

Location:
lti-sitemap/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lti-sitemap/trunk/lti-sitemap.php

    r1174335 r1177800  
    77 * Plugin Name:       LTI Sitemap
    88 * Description:       Hassle free XML Sitemaps: pick your featured content, let search engines do the rest!
    9  * Version:           0.5.0
     9 * Version:           0.5.1
    1010 * Author:            Linguistic Team International
    1111 * Author URI:        http://dev.linguisticteam.org/
     
    4343define( 'LTI_SITEMAP_PLUGIN_DIR', $plugin_dir_path );
    4444define( 'LTI_SITEMAP_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
    45 define( 'LTI_SITEMAP_VERSION', '0.5.0' );
     45define( 'LTI_SITEMAP_VERSION', '0.5.1' );
    4646define( 'LTI_SITEMAP_NAME', 'lti-sitemap' );
    4747
     
    5151register_deactivation_hook( __FILE__, array( 'Lti\Sitemap\LTI_Sitemap', 'deactivate' ) );
    5252
     53add_filter( 'rewrite_rules_array', 'Lti\Sitemap\Activator::rewrite_rules_array', 1, 1 );
    5354$plugin = LTI_Sitemap::get_instance();
    5455$plugin->run();
  • lti-sitemap/trunk/readme.txt

    r1174335 r1177800  
    44Requires at least: 4
    55Tested up to: 4.2.2
    6 Stable tag: 0.5.0
     6Stable tag: 0.5.1
    77License: GNU General Public License, version 2
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9292- 0.5.0
    9393  - First Version
     94- 0.5.1
     95  - Bug fix: rewrite rules have to be initiated whenever the plugin loads, not just when it activates.
    9496
    9597== Upgrade Notice ==
Note: See TracChangeset for help on using the changeset viewer.