Plugin Directory

Changeset 942938


Ignore:
Timestamp:
07/03/2014 02:48:49 PM (12 years ago)
Author:
pricemesh
Message:

fixed a bug where debug information was not set correct

Location:
pricemesh/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pricemesh/trunk/pricemesh.php

    r917041 r942938  
    44Plugin URI: https://www.pricemesh.io/plugins/wordpress/
    55Description: Mit diesem Plugin ist es möglich Wordpress um einen eigenen Preisvergleich zu erweitern.
    6 Version: 1.4.1
     6Version: 1.4.2
    77Author: pricemesh
    88Author URI: https://www.pricemesh.io
  • pricemesh/trunk/public/pricemesh-public.php

    r917041 r942938  
    2222     * @var     string
    2323     */
    24     const VERSION = '1.4.1';
     24    const VERSION = '1.4.2';
    2525
    2626    /**
     
    380380        if($this->is_injection_needed()){
    381381            $opts = self::get_pricemesh_settings();
    382             if(current_user_can('edit_post', get_post_meta($GLOBALS['post']->ID)) && $opts["debug"]){
    383                 $debug = "on";
    384             }else{
    385                 $debug = "off";
     382            $debug = "off";
     383
     384            if(current_user_can('delete_pages')){
     385                if($opts["debug"] == "on"){
     386                  $debug = "on";
     387                }
    386388            }
    387389            echo "<script type='text/javascript'>
  • pricemesh/trunk/readme.txt

    r917041 r942938  
    44Requires at least: 3.4
    55Tested up to: 3.9.1
    6 Stable tag: 1.4.1
     6Stable tag: 1.4.2
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7373== Changelog ==
    7474
     75= 1.4.2 =
     76* Bugfix
     77
    7578= 1.4.1 =
    7679* Bugfix
Note: See TracChangeset for help on using the changeset viewer.