Plugin Directory

Changeset 948104


Ignore:
Timestamp:
07/14/2014 02:08:27 PM (12 years ago)
Author:
giuliom
Message:

v 1.1.3

Location:
mg-quotes/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • mg-quotes/trunk/includes/class-mg-qt-installer.php

    r937854 r948104  
    99    public function install() {
    1010        $this->assign_caps();
     11        $this->permalinks();
    1112    }
    1213   
     
    4445        );
    4546    }
     47   
     48    private function permalinks() {
     49        mg_qt_setup_post_type();
     50        mg_qt_register_taxonomies();
     51       
     52        flush_rewrite_rules();
     53    }
    4654
    4755}
  • mg-quotes/trunk/plugin.php

    r946292 r948104  
    22/*
    33Plugin Name: mg Quotes
    4 Plugin URI: http://mgiulio.info
     4Plugin URI: http://mgiulio.info/projects/mg-quotes/
    55Description: Manage and publish your favorite quotes with WordPress
    6 Version: 1.1.2
     6Version: 1.1.3
    77Author: Giulio 'mgiulio' Mainardi
    88Author URI: http://mgiulio.info
     
    1818define('MG_QT_ASSETS', MG_QT_PLUGIN_DIR_URL . 'assets/');
    1919
    20 require_once MG_QT_INCLUDES . 'class-mg-qt-installer.php';
    2120require_once MG_QT_INCLUDES . 'cpt.php';
    2221require_once MG_QT_INCLUDES . 'tax.php';
     22require_once MG_QT_INCLUDES . 'class-mg-qt-installer.php';
    2323require_once MG_QT_INCLUDES . 'query.php';
    2424require_once MG_QT_INCLUDES . 'quote-template.php';
  • mg-quotes/trunk/readme.txt

    r946292 r948104  
    185185= 1.1.2 =
    186186* 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  
    77        $this->delete_taxonomies();
    88        $this->remove_caps();
     9        $this->permalinks();
    910    }
    1011   
     
    7677        );
    7778    }
     79   
     80    private function permalinks() {
     81        flush_rewrite_rules();
     82    }
    7883
    7984}
Note: See TracChangeset for help on using the changeset viewer.