Changeset 1981671
- Timestamp:
- 11/28/2018 01:01:43 AM (7 years ago)
- Location:
- wpdevhub-troubleshooting-guides/trunk
- Files:
-
- 5 edited
-
classes/class.DSCF_DTG_TroubleshootingGuides_Guide.php (modified) (1 diff)
-
classes/class.DSCF_DTG_TroubleshootingGuides_Main.php (modified) (1 diff)
-
classes/core/class.DSCF_DTG_StandardMain.php (modified) (4 diffs)
-
index.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wpdevhub-troubleshooting-guides/trunk/classes/class.DSCF_DTG_TroubleshootingGuides_Guide.php
r1981644 r1981671 88 88 'search_items' => __( 'Search Troubleshooting Guides' ), 89 89 ), 90 'description' => __( ' DimbalTroubleshooting Guides' ),90 'description' => __( 'WPDevHub Troubleshooting Guides' ), 91 91 'public' => true, 92 92 'has_archive' => true, -
wpdevhub-troubleshooting-guides/trunk/classes/class.DSCF_DTG_TroubleshootingGuides_Main.php
r1981644 r1981671 64 64 //DSCF_DTG_Utilities::migrateMetaBoxDataIfNeeded("steps", DSCF_DTG_TroubleshootingGuides_StepMetaBox::KEYNAME); 65 65 66 } 67 68 public static function wpActionActivate(){ 69 70 // Need to register the Taxonomies BEFORE calling the Flush Rewrite Rules Routine 71 DSCF_DTG_TroubleshootingGuides_Guide::registerTaxonomies(); 72 73 parent::wpActionActivate(); 66 74 } 67 75 -
wpdevhub-troubleshooting-guides/trunk/classes/core/class.DSCF_DTG_StandardMain.php
r1981651 r1981671 56 56 public static function wpActionInit(){ 57 57 58 //flush_rewrite_rules();59 60 58 // Some basic setup validations 61 59 … … 141 139 // Flush the rewrite rules on activation 142 140 // https://codex.wordpress.org/Function_Reference/register_post_type 143 flush_rewrite_rules();141 self::flushRewriteRules(); 144 142 145 143 } … … 163 161 // Flush the rewrite rules on deactivation 164 162 // https://codex.wordpress.org/Function_Reference/register_post_type 165 flush_rewrite_rules();163 self::flushRewriteRules(); 166 164 167 165 } … … 411 409 /* 412 410 * Flush Rewrite rules 411 * https://codex.wordpress.org/Function_Reference/register_post_type 413 412 */ 414 413 public static function flushRewriteRules(){ 414 415 // Note:: Need to make sure custom post types are registered before flushing rewrite rules (see DTG Example) 416 417 // Flush the rules 415 418 flush_rewrite_rules(); 416 419 } -
wpdevhub-troubleshooting-guides/trunk/index.php
r1981651 r1981671 2 2 /* 3 3 * Plugin Name: WPDevHub Troubleshooting Guides 4 * Version: 2. 74 * Version: 2.8 5 5 * Plugin URI: https://www.wpdevhub.com/wordpress-plugins/troubleshooting-guides/ 6 6 * Description: Create feature rich troubleshooting guides for your website visitors to follow. … … 25 25 // Actions 26 26 add_action( 'init', array('DSCF_DTG_TroubleshootingGuides_Main', 'wpActionInit'), 0 ); 27 28 // Activations Hooks 29 register_activation_hook(__FILE__, array('DSCF_DTG_TroubleshootingGuides_Main', 'wpActionActivate')); -
wpdevhub-troubleshooting-guides/trunk/readme.txt
r1981651 r1981671 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.8 7 Stable tag: 2. 77 Stable tag: 2.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 71 71 * Fix issues with bad URLs 72 72 73 = 2.8.0 = 74 * Fix problems related to flushing rewrite rules 75 73 76 == Upgrade Notice == 74 77
Note: See TracChangeset
for help on using the changeset viewer.