Plugin Directory

Changeset 1670773


Ignore:
Timestamp:
06/05/2017 06:40:14 AM (9 years ago)
Author:
ABTOP
Message:

Deactivation order problem fixed

Location:
custom-canonical/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • custom-canonical/trunk/custom-canonical.php

    r1667471 r1670773  
    44Plugin URI:  https://github.com/AndreiZhitkov/custom-canonical
    55Description: Set default custom canonical URL for Yoast SEO. The setting is in Settings -> General.
    6 Version:     1.0
     6Version:     1.01
    77Author:      Andrei Zhitkov
    88Author URI:  https://github.com/AndreiZhitkov
     
    3535    if ( customcanonical_discover_yoast() == FALSE ) {
    3636        add_action( 'admin_notices', 'customcanonical_admin_notice_noyoast');
    37         deactivate_plugins( custom-canonical( custom-canonical.php ) );
     37        deactivate_plugins( plugin_basename( __FILE__ ) );
    3838    } else {
    3939        add_settings_section(
  • custom-canonical/trunk/readme.txt

    r1667471 r1670773  
    1717
    1818== Changelog ==
    19 Version 1.0, Initial release.
     19
     20= 1.01 =
     21* Fixed deactivation issue
     22
     23= 1.0 =
     24* Initial release.
Note: See TracChangeset for help on using the changeset viewer.