Plugin Directory

Changeset 2147705


Ignore:
Timestamp:
08/29/2019 10:41:11 AM (7 years ago)
Author:
puvoxsoftware
Message:

fix "WP_DEBUG_LOG"

Location:
enable-wp-debug-from-admin-dashboard/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • enable-wp-debug-from-admin-dashboard/trunk/_wp_config_addon.php

    r2026819 r2147705  
    6262define("ewdfad_WP_DEBUG",           ($vars==1 || $vars==2 || $vars==3));
    6363define("ewdfad_WP_DEBUG_DISPLAY",   ($vars==2 || $vars==3) );
    64 define("ewdfad_WP_DEBUG_LOGS",      ($vars==3) );
     64define("ewdfad_WP_DEBUG_LOG",       ($vars==3) );
    6565
    6666?>
  • enable-wp-debug-from-admin-dashboard/trunk/index.php

    r2072634 r2147705  
    55 * Text Domain:     enable-wp-debug-from-admin-dashboard
    66 * Domain Path:     /languages
    7  * Version:         1.70
     7 * Version:         1.80
    88 * WordPress URI:   https://wordpress.org/plugins/enable-wp-debug-from-admin-dashboard/
    99 * Plugin URI:      https://puvox.software/wordpress/
     
    9393                "\r\n".'    define("WP_DEBUG", ewdfad_WP_DEBUG);'.
    9494                "\r\n".'    define("WP_DEBUG_DISPLAY", ewdfad_WP_DEBUG_DISPLAY);'.
    95                 "\r\n".'    define("WP_DEBUG_LOGS", ewdfad_WP_DEBUG_LOGS);'.
     95                "\r\n".'    define("WP_DEBUG_LOG", ewdfad_WP_DEBUG_LOG);'.
    9696                "\r\n".'}'.
    9797                "\r\n".$this->phrase_end.
     
    104104                $new_content= $wp_config_content;
    105105                $new_content= preg_replace($pattern('WP_DEBUG'),        '//$0', $new_content);
    106                 $new_content= preg_replace($pattern('WP_DEBUG_LOGS'),   '//$0', $new_content);
     106                $new_content= preg_replace($pattern('WP_DEBUG_LOG'),    '//$0', $new_content);
    107107                $new_content= preg_replace($pattern('WP_DEBUG_DISPLAY'),'//$0', $new_content);
    108108                $new_content= preg_replace('/\/\* That\'s all, stop editing/i', $inserting_code_block.'$0', $new_content);
     
    146146        <script>
    147147        function redirect_to_ewdfad(el){   
    148              window.location = el.href + '&ewdfad_debug_type='+( prompt('<?php _e('1 [enables:  WP_DEBUG]\n2 [enables:  WP_DEBUG + WP_DEBUG_DISPLAY]\n3 [enables:  WP_DEBUG + WP_DEBUG_DISPLAY + WP_DEBUG_LOGS]','enable-wp-debug-from-dashboard');?>', 2) ) + '&ewdfad_ip_type='+( confirm('<?php _e('Click "OK" if it should be only enabled for your IP (otherwise, clicking the "cancel" will turn on wp-debug for everyone for 24 hours)\n','enable-wp-debug-from-dashboard');?>') ? 1 : 0) ; 
     148             window.location = el.href + '&ewdfad_debug_type='+( prompt('<?php _e('1 [enables:  WP_DEBUG]\n2 [enables:  WP_DEBUG + WP_DEBUG_DISPLAY]\n3 [enables:  WP_DEBUG + WP_DEBUG_DISPLAY + WP_DEBUG_LOG]','enable-wp-debug-from-dashboard');?>', 2) ) + '&ewdfad_ip_type='+( confirm('<?php _e('Click "OK" if it should be only enabled for your IP (otherwise, clicking the "cancel" will turn on wp-debug for everyone for 24 hours)\n','enable-wp-debug-from-dashboard');?>') ? 1 : 0) ; 
    149149        }
    150150        </script>
  • enable-wp-debug-from-admin-dashboard/trunk/readme.txt

    r2147661 r2147705  
    22
    33Tags             : enable,wp_debug,wp,debug,admin,dashboard, debug bar,
    4 Stable tag       : 1.70
     4Stable tag       : 1.80
    55WordPress URI    : https://wordpress.org/plugins/enable-wp-debug-from-admin-dashboard/
    66Plugin URI       : https://puvox.software/wordpress/
Note: See TracChangeset for help on using the changeset viewer.