Changeset 948104
- Timestamp:
- 07/14/2014 02:08:27 PM (12 years ago)
- Location:
- mg-quotes/trunk
- Files:
-
- 4 edited
-
includes/class-mg-qt-installer.php (modified) (2 diffs)
-
plugin.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
uninstall.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mg-quotes/trunk/includes/class-mg-qt-installer.php
r937854 r948104 9 9 public function install() { 10 10 $this->assign_caps(); 11 $this->permalinks(); 11 12 } 12 13 … … 44 45 ); 45 46 } 47 48 private function permalinks() { 49 mg_qt_setup_post_type(); 50 mg_qt_register_taxonomies(); 51 52 flush_rewrite_rules(); 53 } 46 54 47 55 } -
mg-quotes/trunk/plugin.php
r946292 r948104 2 2 /* 3 3 Plugin Name: mg Quotes 4 Plugin URI: http://mgiulio.info 4 Plugin URI: http://mgiulio.info/projects/mg-quotes/ 5 5 Description: Manage and publish your favorite quotes with WordPress 6 Version: 1.1. 26 Version: 1.1.3 7 7 Author: Giulio 'mgiulio' Mainardi 8 8 Author URI: http://mgiulio.info … … 18 18 define('MG_QT_ASSETS', MG_QT_PLUGIN_DIR_URL . 'assets/'); 19 19 20 require_once MG_QT_INCLUDES . 'class-mg-qt-installer.php';21 20 require_once MG_QT_INCLUDES . 'cpt.php'; 22 21 require_once MG_QT_INCLUDES . 'tax.php'; 22 require_once MG_QT_INCLUDES . 'class-mg-qt-installer.php'; 23 23 require_once MG_QT_INCLUDES . 'query.php'; 24 24 require_once MG_QT_INCLUDES . 'quote-template.php'; -
mg-quotes/trunk/readme.txt
r946292 r948104 185 185 = 1.1.2 = 186 186 * Enhancement: group widgets together in Available Widgets area 187 188 = 1.1.3 = 189 * Fix: Flush rewrite rules at plugin activation to avoid permalink problems -
mg-quotes/trunk/uninstall.php
r937854 r948104 7 7 $this->delete_taxonomies(); 8 8 $this->remove_caps(); 9 $this->permalinks(); 9 10 } 10 11 … … 76 77 ); 77 78 } 79 80 private function permalinks() { 81 flush_rewrite_rules(); 82 } 78 83 79 84 }
Note: See TracChangeset
for help on using the changeset viewer.