Plugin Directory

Changeset 564572


Ignore:
Timestamp:
06/27/2012 12:41:15 PM (14 years ago)
Author:
lpointet
Message:

Fixed a bug with the POST requests checks that implied the whole admin was blocked

Location:
wordpress-gps/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wordpress-gps/trunk/gb_gps.php

    r564567 r564572  
    44Plugin URI: http://www.globalis-ms.com
    55Description: This plugin Provide an admin screen to WordPress users in which they will choose one scenario to play. That scenario will help them through the WordPress administration thanks to WP-Pointers API
    6 Version: 1.0.7
     6Version: 1.0.8
    77Author: Lionel POINTET, GLOBALIS media systems
    88Author URI: http://www.globalis-ms.com
  • wordpress-gps/trunk/include/gb_gps.php

    r564567 r564572  
    134134     */
    135135    protected function handlePost() {
    136         if(check_admin_referer('gb_gps_nonce', 'nonce')) {
     136        global $plugin_page;
     137
     138        if(self::MENU_SLUG == $plugin_page && !empty($_POST) && check_admin_referer('gb_gps_nonce', 'nonce')) {
    137139            if(isset($_POST['scenario'])) {
    138140                $this->set_active_scenario($_POST['scenario']);
  • wordpress-gps/trunk/readme.txt

    r564567 r564572  
    44Requires at least: 3.3.0
    55Tested up to: 3.4
    6 Stable tag: 1.0.7
     6Stable tag: 1.0.8
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    4646
    4747== Changelog ==
     48
     49= 1.0.8 =
     50* Fixed a bug with the POST requests checks that implied the whole admin was blocked
    4851
    4952= 1.0.7 =
Note: See TracChangeset for help on using the changeset viewer.