Changeset 3262957
- Timestamp:
- 03/27/2025 03:28:19 PM (10 months ago)
- Location:
- dev-debug-tools
- Files:
-
- 140 added
- 9 edited
-
tags/2.0.1 (added)
-
tags/2.0.1/dev-debug-tools.php (added)
-
tags/2.0.1/includes (added)
-
tags/2.0.1/includes/TESTING_PLAYGROUND.php (added)
-
tags/2.0.1/includes/admin (added)
-
tags/2.0.1/includes/admin/admin-area.php (added)
-
tags/2.0.1/includes/admin/css (added)
-
tags/2.0.1/includes/admin/css/index.php (added)
-
tags/2.0.1/includes/admin/css/style.php (added)
-
tags/2.0.1/includes/admin/functions.php (added)
-
tags/2.0.1/includes/admin/global-options.php (added)
-
tags/2.0.1/includes/admin/header.php (added)
-
tags/2.0.1/includes/admin/img (added)
-
tags/2.0.1/includes/admin/img/admin-help-docs.png (added)
-
tags/2.0.1/includes/admin/img/broken-link-notifier.png (added)
-
tags/2.0.1/includes/admin/img/clear-cache-everywhere.png (added)
-
tags/2.0.1/includes/admin/img/discord.png (added)
-
tags/2.0.1/includes/admin/img/eri-file-library.png (added)
-
tags/2.0.1/includes/admin/img/gf-discord.png (added)
-
tags/2.0.1/includes/admin/img/gf-msteams.png (added)
-
tags/2.0.1/includes/admin/img/gf-tools.png (added)
-
tags/2.0.1/includes/admin/img/gravity-zwr.png (added)
-
tags/2.0.1/includes/admin/img/icon_google.png (added)
-
tags/2.0.1/includes/admin/img/icon_stackex.png (added)
-
tags/2.0.1/includes/admin/img/index.php (added)
-
tags/2.0.1/includes/admin/img/loading-buffering.gif (added)
-
tags/2.0.1/includes/admin/img/logo.png (added)
-
tags/2.0.1/includes/admin/img/text-area-resizer-wh-large.png (added)
-
tags/2.0.1/includes/admin/img/text-area-resizer.png (added)
-
tags/2.0.1/includes/admin/img/text-area-resizer_wh_sm.png (added)
-
tags/2.0.1/includes/admin/img/text-area-resizer_wh_sm_trans.png (added)
-
tags/2.0.1/includes/admin/index.php (added)
-
tags/2.0.1/includes/admin/js (added)
-
tags/2.0.1/includes/admin/js/apis.js (added)
-
tags/2.0.1/includes/admin/js/db.js (added)
-
tags/2.0.1/includes/admin/js/error-suppressing.js (added)
-
tags/2.0.1/includes/admin/js/error-types.js (added)
-
tags/2.0.1/includes/admin/js/feedback.js (added)
-
tags/2.0.1/includes/admin/js/htaccess.js (added)
-
tags/2.0.1/includes/admin/js/meta.js (added)
-
tags/2.0.1/includes/admin/js/pw-view-icon.js (added)
-
tags/2.0.1/includes/admin/js/settings.js (added)
-
tags/2.0.1/includes/admin/js/wpconfig.js (added)
-
tags/2.0.1/includes/admin/menu.php (added)
-
tags/2.0.1/includes/admin/option-about.php (added)
-
tags/2.0.1/includes/admin/option-activity.php (added)
-
tags/2.0.1/includes/admin/option-api.php (added)
-
tags/2.0.1/includes/admin/option-autodrafts.php (added)
-
tags/2.0.1/includes/admin/option-changelog.php (added)
-
tags/2.0.1/includes/admin/option-cookies.php (added)
-
tags/2.0.1/includes/admin/option-crons.php (added)
-
tags/2.0.1/includes/admin/option-db.php (added)
-
tags/2.0.1/includes/admin/option-debug.php (added)
-
tags/2.0.1/includes/admin/option-defines.php (added)
-
tags/2.0.1/includes/admin/option-domain.php (added)
-
tags/2.0.1/includes/admin/option-error-suppressing.php (added)
-
tags/2.0.1/includes/admin/option-error-types.php (added)
-
tags/2.0.1/includes/admin/option-functions.php (added)
-
tags/2.0.1/includes/admin/option-fx.php (added)
-
tags/2.0.1/includes/admin/option-globalvars.php (added)
-
tags/2.0.1/includes/admin/option-hooks.php (added)
-
tags/2.0.1/includes/admin/option-htaccess.php (added)
-
tags/2.0.1/includes/admin/option-logs.php (added)
-
tags/2.0.1/includes/admin/option-media-library.php (added)
-
tags/2.0.1/includes/admin/option-phpinfo.php (added)
-
tags/2.0.1/includes/admin/option-phpini.php (added)
-
tags/2.0.1/includes/admin/option-plugins.php (added)
-
tags/2.0.1/includes/admin/option-post-types.php (added)
-
tags/2.0.1/includes/admin/option-postmeta.php (added)
-
tags/2.0.1/includes/admin/option-pw-reset.php (added)
-
tags/2.0.1/includes/admin/option-pw.php (added)
-
tags/2.0.1/includes/admin/option-regex.php (added)
-
tags/2.0.1/includes/admin/option-resources.php (added)
-
tags/2.0.1/includes/admin/option-scfinder.php (added)
-
tags/2.0.1/includes/admin/option-server.php (added)
-
tags/2.0.1/includes/admin/option-settings.php (added)
-
tags/2.0.1/includes/admin/option-siteoptions.php (added)
-
tags/2.0.1/includes/admin/option-taxonomies.php (added)
-
tags/2.0.1/includes/admin/option-testing.php (added)
-
tags/2.0.1/includes/admin/option-transients.php (added)
-
tags/2.0.1/includes/admin/option-usermeta.php (added)
-
tags/2.0.1/includes/admin/option-wpcnfg.php (added)
-
tags/2.0.1/includes/admin/options.php (added)
-
tags/2.0.1/includes/backdoor.php (added)
-
tags/2.0.1/includes/class-dev-debug-tools.php (added)
-
tags/2.0.1/includes/classes (added)
-
tags/2.0.1/includes/classes/_class-TEMPLATE.php (added)
-
tags/2.0.1/includes/classes/class-activity.php (added)
-
tags/2.0.1/includes/classes/class-admin-bar.php (added)
-
tags/2.0.1/includes/classes/class-api.php (added)
-
tags/2.0.1/includes/classes/class-db.php (added)
-
tags/2.0.1/includes/classes/class-discord.php (added)
-
tags/2.0.1/includes/classes/class-download-files.php (added)
-
tags/2.0.1/includes/classes/class-error-suppressing.php (added)
-
tags/2.0.1/includes/classes/class-error-types.php (added)
-
tags/2.0.1/includes/classes/class-feedback.php (added)
-
tags/2.0.1/includes/classes/class-htaccess.php (added)
-
tags/2.0.1/includes/classes/class-logs.php (added)
-
tags/2.0.1/includes/classes/class-meta.php (added)
-
tags/2.0.1/includes/classes/class-online-users.php (added)
-
tags/2.0.1/includes/classes/class-quick-links.php (added)
-
tags/2.0.1/includes/classes/class-resources.php (added)
-
tags/2.0.1/includes/classes/class-settings.php (added)
-
tags/2.0.1/includes/classes/class-validate-code.php (added)
-
tags/2.0.1/includes/classes/class-wpconfig.php (added)
-
tags/2.0.1/includes/files (added)
-
tags/2.0.1/includes/files/000-set-debug-level.php (added)
-
tags/2.0.1/includes/files/000-suppress-errors.php (added)
-
tags/2.0.1/includes/files/activity.log (added)
-
tags/2.0.1/includes/files/debug.log (added)
-
tags/2.0.1/includes/files/error_log (added)
-
tags/2.0.1/includes/files/example_snippets.php (added)
-
tags/2.0.1/includes/files/hooks (added)
-
tags/2.0.1/includes/files/hooks/ddtt_admin_bar_condensed_items.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_admin_bar_dropdown_links.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_admin_list_update_each_post.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_admin_list_update_each_user.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_bots_to_log.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_debug_log_help_col.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_debug_log_max_filesize.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_highlight_debug_log.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_htaccess_snippets.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_ignore_pages_for_discord_notifications.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_omit_shortcodes.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_on_update_post_meta.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_on_update_user_meta.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_quick_link_icon.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_quick_link_post_types.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_recommended_plugins.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_resource_links.php (added)
-
tags/2.0.1/includes/files/hooks/ddtt_wpconfig_snippets.php (added)
-
tags/2.0.1/includes/files/tmp (added)
-
tags/2.0.1/includes/functions.php (added)
-
tags/2.0.1/includes/index.php (added)
-
tags/2.0.1/index.php (added)
-
tags/2.0.1/readme.txt (added)
-
trunk/dev-debug-tools.php (modified) (3 diffs)
-
trunk/includes/admin/admin-area.php (modified) (1 diff)
-
trunk/includes/admin/functions.php (modified) (4 diffs)
-
trunk/includes/admin/img/clear-cache-everywhere.png (added)
-
trunk/includes/admin/img/eri-file-library.png (added)
-
trunk/includes/admin/img/gf-tools.png (added)
-
trunk/includes/admin/img/gravity-zwr.png (added)
-
trunk/includes/admin/option-about.php (modified) (2 diffs)
-
trunk/includes/admin/option-logs.php (modified) (2 diffs)
-
trunk/includes/classes/class-activity.php (modified) (4 diffs)
-
trunk/includes/classes/class-logs.php (modified) (1 diff)
-
trunk/includes/classes/class-wpconfig.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dev-debug-tools/trunk/dev-debug-tools.php
r3230781 r3262957 4 4 * Plugin URI: https://github.com/apos37/dev-debug-tools 5 5 * Description: WordPress debugging and testing tools for developers 6 * Version: 2.0. 0.37 * Requires at least: 5.9 .08 * Tested up to: 6.7 .16 * Version: 2.0.1 7 * Requires at least: 5.9 8 * Tested up to: 6.7 9 9 * Requires PHP: 7.4 10 * Author: Apos37 11 * Author URI: https://apos37.com/ 10 * Author: WordPress Enhanced 11 * Author URI: https://wordpressenhanced.com/ 12 * Support URI: https://discord.gg/3HnzNEJVnR 12 13 * Text Domain: dev-debug-tools 13 14 * License: GPLv2 or later 14 15 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt 15 */ 16 17 // Exit if accessed directly. 18 if ( !defined( 'ABSPATH' ) ) { 19 exit; 20 } 16 * Created on: May 13, 2022 17 */ 18 19 20 /** 21 * Exit if accessed directly. 22 */ 23 if ( !defined( 'ABSPATH' ) ) exit; 21 24 22 25 … … 24 27 * Defines 25 28 */ 29 $plugin_data = get_file_data( __FILE__, [ 30 'name' => 'Plugin Name', 31 'description' => 'Description', 32 'version' => 'Version', 33 'plugin_uri' => 'Plugin URI', 34 'requires_php' => 'Requires PHP', 35 'textdomain' => 'Text Domain', 36 'author' => 'Author', 37 'author_uri' => 'Author URI', 38 'support_uri' => 'Support URI', 39 ] ); 40 41 42 /** 43 * Defines 44 */ 26 45 27 46 // Versions 28 define( 'DDTT_VERSION', '2.0.0.3');29 define( 'DDTT_BETA', false ); // TODO:30 define( 'DDTT_MIN_PHP_VERSION', '7.4');47 define( 'DDTT_VERSION', $plugin_data[ 'version' ] ); 48 define( 'DDTT_BETA', false ); 49 define( 'DDTT_MIN_PHP_VERSION', $plugin_data[ 'requires_php' ] ); 31 50 32 51 // Prevent loading the plugin if PHP version is not minimum … … 51 70 52 71 // Names 53 define( 'DDTT_NAME', 'Developer Debug Tools');54 define( 'DDTT_TEXTDOMAIN', 'dev-debug-tools');55 define( 'DDTT_AUTHOR', 'Apos37');72 define( 'DDTT_NAME', $plugin_data[ 'name' ] ); 73 define( 'DDTT_TEXTDOMAIN', $plugin_data[ 'textdomain' ] ); 74 define( 'DDTT_AUTHOR', $plugin_data[ 'author' ] ); 56 75 define( 'DDTT_AUTHOR_EMAIL', '[email protected]' ); 57 define( 'DDTT_AUTHOR_URL', 'https://apos37.com/');58 define( 'DDTT_DISCORD_SUPPORT_URL', 'https://discord.gg/3HnzNEJVnR');76 define( 'DDTT_AUTHOR_URL', $plugin_data[ 'author_uri' ] ); 77 define( 'DDTT_DISCORD_SUPPORT_URL', $plugin_data[ 'support_uri' ] ); 59 78 60 79 // Fetch site url only once -
dev-debug-tools/trunk/includes/admin/admin-area.php
r3230637 r3262957 97 97 if ( !get_option( DDTT_GO_PF.'hide_plugin' ) ) { 98 98 $row_meta = [ 99 'docs' => '<a href="'.esc_url( DDTT_AUTHOR_URL.'wordpress-developer-debug-tools/' ).'" target="_blank" aria-label="'.esc_attr__( 'Plugin Website Link', 'dev-debug-tools' ).'">'.esc_html__( 'Website', 'dev-debug-tools' ).'</a>',99 // 'docs' => '<a href="'.esc_url( DDTT_AUTHOR_URL.'wordpress-developer-debug-tools/' ).'" target="_blank" aria-label="'.esc_attr__( 'Plugin Website Link', 'dev-debug-tools' ).'">'.esc_html__( 'Website', 'dev-debug-tools' ).'</a>', 100 100 'discord' => '<a href="'.esc_url( DDTT_DISCORD_SUPPORT_URL ).'" target="_blank" aria-label="'.esc_attr__( 'Plugin Support on Discord', 'dev-debug-tools' ).'">'.esc_html__( 'Discord Support', 'dev-debug-tools' ).'</a>' 101 101 ]; -
dev-debug-tools/trunk/includes/admin/functions.php
r3230748 r3262957 769 769 770 770 // Define log paths and initial counts 771 $log_files = [ 772 'debug' => WP_DEBUG_LOG && WP_DEBUG_LOG !== true ? WP_DEBUG_LOG : DDTT_CONTENT_URL.'/debug.log', 773 'error' => get_option( DDTT_GO_PF.'error_log_path' ) ?: 'error_log', 774 'admin_error' => get_option( DDTT_GO_PF.'admin_error_log_path' ) ?: DDTT_ADMIN_URL.'/error_log' 775 ]; 771 if ( WP_DEBUG_LOG && WP_DEBUG_LOG !== true ) { 772 $debug_loc = WP_DEBUG_LOG; 773 } else { 774 $debug_log_path = get_option( DDTT_GO_PF.'debug_log_path' ); 775 if ( $debug_log_path && $debug_log_path != '' ) { 776 $debug_loc = sanitize_text_field( $debug_log_path ); 777 if ( str_starts_with( $debug_loc, 'wp-content/' ) ) { 778 $debug_loc = get_home_path().$debug_loc; 779 } 780 } elseif ( WP_DEBUG_LOG && WP_DEBUG_LOG !== true ) { 781 $debug_loc = WP_DEBUG_LOG; 782 } else { 783 $debug_loc = DDTT_CONTENT_URL.'/debug.log'; 784 } 785 } 786 787 $log_files = []; 788 if ( !isset( $_GET[ 'clear_debug_log' ] ) ) { 789 $log_files[ 'debug' ] = $debug_loc; 790 } 791 if ( !isset( $_GET['clear_error_log'] ) ) { 792 $log_files[ 'error' ] = get_option( DDTT_GO_PF . 'error_log_path' ) ?: 'error_log'; 793 } 794 if ( !isset( $_GET['clear_admin_error_log'] ) ) { 795 $log_files[ 'admin_error' ] = get_option( DDTT_GO_PF . 'admin_error_log_path' ) ?: DDTT_ADMIN_URL . '/error_log'; 796 } 776 797 777 798 // Store the total count … … 1901 1922 * @return string 1902 1923 */ 1903 function ddtt_view_activity_file_contents( $path, $highlight_args ) {1924 function ddtt_view_activity_file_contents( $path, $highlight_args, $ip_address_link = 'https://www.criminalip.io/asset/report/{ip}' ) { 1904 1925 // Initialize the WP_Filesystem 1905 1926 if ( !function_exists( 'WP_Filesystem' ) ) { … … 2042 2063 2043 2064 // Extract user info (e.g., Socrates ([email protected] - ID: 2)) 2044 preg_match( '/^(.*?) \((.*?) - ID: (\d+)\) /', $user_info, $matches );2065 preg_match( '/^(.*?) \((.*?) - ID: (\d+)\)(?: (.*?))?$/', $user_info, $matches ); 2045 2066 $display_name = isset( $matches[1] ) ? $matches[1] : ''; 2046 2067 if ( $display_name ) { … … 2056 2077 if ( $user_id ) { 2057 2078 $display_user[] = 'User ID: ' . $user_id; 2079 } 2080 2081 $ip_address = isset( $matches[4] ) ? $matches[4] : ''; 2082 if ( $ip_address ) { 2083 $ip_url = str_replace( '{ip}', $ip_address, $ip_address_link ); 2084 $ip_link = '<a href="' . $ip_url . '" target="_blank">' . $ip_address . '</a>'; 2085 $display_user[] = 'IP: ' . $ip_link; 2058 2086 } 2059 2087 -
dev-debug-tools/trunk/includes/admin/option-about.php
r3128387 r3262957 51 51 .plugin-card, .plugin-card-bottom { 52 52 background-color: #2D2D2D; 53 color: #F6F7F7 !important; 54 } 55 .plugin-card .desc p { 56 color: #F6F7F7 !important; 53 57 } 54 58 body #wpbody-content .plugin-card .plugin-action-buttons a.button.install-now[aria-disabled="true"] { 55 59 color: #2D2D2D !important; 60 } 61 #the-list { 62 display: flex; 63 flex-flow: wrap; 64 } 65 .plugin-card { 66 display: flex; 67 flex-direction: column; 68 margin-left: 0 !important; 69 } 70 .plugin-card .plugin-card-top { 71 flex: 1; 72 } 73 .plugin-card .plugin-card-bottom { 74 margin-top: auto; 75 } 76 .plugin-card .ws_stars { 77 display: inline-block; 78 } 79 .php-incompatible { 80 padding: 12px 20px; 81 background-color: #D1231B; 82 color: #FFFFFF; 83 border-top: 1px solid #dcdcde; 84 overflow: hidden; 85 } 86 #wpbody-content .plugin-card .plugin-action-buttons a.install-now[aria-disabled="true"] { 87 /* color: #CBB8AD !important; */ 88 border-color: #CBB8AD !important; 89 } 90 .plugin-action-buttons { 91 list-style: none !important; 56 92 } 57 93 </style> … … 100 136 <?php if ( ddtt_get_domain() != 'playground.wordpress.net' ) { ?> 101 137 <br><br> 102 <h3>Try My Other Plugins</h3> 103 <?php ddtt_plugin_card( 'admin-help-docs' ); ?> 104 <?php ddtt_plugin_card( 'gf-discord' ); ?> 105 <?php ddtt_plugin_card( 'gf-msteams' ); ?> 106 <?php ddtt_plugin_card( 'broken-link-notifier' ); ?> 138 <h2><?php echo esc_html__( 'Try My Other Plugins', 'admin-help-docs' ); ?></h2> 139 <div class="wp-list-table widefat plugin-install"> 140 <div id="the-list"> 141 <?php ddtt_plugin_card( 'admin-help-docs' ); ?> 142 <?php ddtt_plugin_card( 'clear-cache-everywhere' ); ?> 143 <?php ddtt_plugin_card( 'broken-link-notifier' ); ?> 144 <?php ddtt_plugin_card( 'eri-file-library' ); ?> 145 <?php if ( is_plugin_active( 'gravityforms/gravityforms.php' ) ) { ?> 146 <?php ddtt_plugin_card( 'gf-tools' ); ?> 147 <?php ddtt_plugin_card( 'gf-discord' ); ?> 148 <?php ddtt_plugin_card( 'gf-msteams' ); ?> 149 <?php ddtt_plugin_card( 'gravity-zwr' ); ?> 150 <?php } ?> 151 </div> 152 </div> 107 153 <?php } ?> -
dev-debug-tools/trunk/includes/admin/option-logs.php
r3230637 r3262957 27 27 // Replace the files if query string exists 28 28 if ( ddtt_get( 'clear_error_log', '==', 'true' ) ) { 29 ddtt_remove_qs_without_refresh( [ 'clear_error_log' ] ); 29 30 $DDTT_LOGS->replace_file( get_home_path().'error_log', 'error_log', true ); 30 31 } … … 34 35 } 35 36 if ( ddtt_get( 'clear_admin_error_log', '==', 'true' ) ) { 37 ddtt_remove_qs_without_refresh( [ 'clear_admin_error_log' ] ); 36 38 $DDTT_LOGS->replace_file( get_home_path().DDTT_ADMIN_URL.'/error_log', 'error_log', true ); 37 39 } -
dev-debug-tools/trunk/includes/classes/class-activity.php
r3230637 r3262957 1195 1195 if ( $action_label = $this->get_action_label( __FUNCTION__ ) ) { 1196 1196 1197 $ip = get_current_user_id() ? sanitize_text_field( $_SERVER[ 'REMOTE_ADDR' ] ) : ''; 1198 1197 1199 // Prepare log message 1198 1200 $log_message = sprintf( … … 1206 1208 1207 1209 // Write to the log 1208 if ( !$this->write_to_log( $this->current_user_log_message( $action_label ) . ' | ' . $log_message ) ) {1210 if ( !$this->write_to_log( $this->current_user_log_message( $action_label, null, $ip ) . ' | ' . $log_message ) ) { 1209 1211 ddtt_write_log( 'Failed to write to activity log during post visit.' ); 1210 1212 } … … 1248 1250 // Get action label 1249 1251 if ( $action_label = $this->get_action_label( __FUNCTION__ ) ) { 1252 1253 $ip = sanitize_text_field( $_SERVER[ 'REMOTE_ADDR' ] ); 1250 1254 1251 1255 // Prepare log message … … 1262 1266 ); 1263 1267 1264 $ip = sanitize_text_field( $_SERVER[ 'REMOTE_ADDR' ] );1265 $ip_link = '<a href="https://www.criminalip.io/asset/report/' . $ip . '" target="_blank">' . $ip . '</a>';1266 1267 1268 // Write to the log 1268 if ( !$this->write_to_log( $this->current_user_log_message( $action_label, null, 'IP: ' . $ip_link) . ' | ' . $log_message ) ) {1269 if ( !$this->write_to_log( $this->current_user_log_message( $action_label, null, $ip ) . ' | ' . $log_message ) ) { 1269 1270 ddtt_write_log( 'Failed to write to activity log during post visit.' ); 1270 1271 } -
dev-debug-tools/trunk/includes/classes/class-logs.php
r3230637 r3262957 94 94 $replacement_filename = $path_parts[ 'basename' ]; 95 95 $replacement_dir = $path_parts[ 'dirname' ]; 96 96 97 97 // Define the temporary path for the copied file 98 98 $temp_file_path = $replacement_dir . '/' . $replacement_filename; -
dev-debug-tools/trunk/includes/classes/class-wpconfig.php
r3173761 r3262957 205 205 ], 206 206 'force_ssl_admin' => [ 207 'label' => 'Ensure Sens etive Admin-area Info is Encrypted when Transmitting to Server',207 'label' => 'Ensure Sensitive Admin-area Info is Encrypted when Transmitting to Server', 208 208 'lines' => [ 209 209 [ -
dev-debug-tools/trunk/readme.txt
r3230781 r3262957 2 2 Contributors: apos37, venutius 3 3 Tags: debug, developer, testing, wp-config, htaccess 4 Requires at least: 5.9 .05 Tested up to: 6.7 .14 Requires at least: 5.9 5 Tested up to: 6.7 6 6 Requires PHP: 7.4 7 Stable tag: 2.0. 0.37 Stable tag: 2.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.txt … … 57 57 Yes, but you should always make a backup of your site before using functionality that makes changes to your core files or database. 58 58 59 = My site broke when updating my wp-config.php or .htaccess. How do I revert back to my original? 60 The originals are stored in your root folder and renamed with the date and time from which they were replaced. For example, the wp-config.php file will have been renamed to wp-config-2022-08-22-15-25-46.php and replaced with a new file. Simply log into your FTP or File Manager (from your host), rename the current file to something else such as wp-config-BROKEN.php (just in case you need it), and then rename the version you want to revert back to as wp-config.php. If everything looks good, then you can either delete this file or send a copy of it to me so I can figure out what went wrong. You can do so in the Discord server mentioned below.59 = My site broke when updating my wp-config.php or .htaccess. How do I revert back to my original? = 60 The originals are stored in your root folder and renamed with the date and time from which they were replaced. For example, the `wp-config.php` file will have been renamed to `wp-config-2022-08-22-15-25-46.php` and replaced with a new file. Simply log into your FTP or File Manager (from your host), rename the current file to something else such as `wp-config-BROKEN.php` (just in case you need it), and then rename the version you want to revert back to as `wp-config.php`. If everything looks good, then you can either delete this file or send a copy of it to me so I can figure out what went wrong. You can do so in the Discord server mentioned below. 61 61 62 62 = Why can't I edit a username for a user? = … … 64 64 65 65 = Where is the centering tool? = 66 Viewable only on the front-end, there is a link on the admin bar that shows +Off. Click on it and it will add a transparent bar with lines on it at the top of the page underneath the admin bar. If you click on the centering bar it will expand all the way down the page. Click on it again and it will minimize back to the top. You can click on the +Onlink from the admin bar to make it go away.66 Viewable only on the front-end, there is a link on the admin bar that shows `+Off`. Click on it and it will add a transparent bar with lines on it at the top of the page underneath the admin bar. If you click on the centering bar it will expand all the way down the page. Click on it again and it will minimize back to the top. You can click on the `+On` link from the admin bar to make it go away. 67 67 68 68 = Where are the quick debug links? = … … 88 88 89 89 == Changelog == 90 = 2.0.1 = 91 * Update: Changed author name from Apos37 to WordPress Enhanced, new Author URI 92 * Tweak: Optimization of main file 93 * Fix: Remove error count if just cleared 94 * Fix: Mispelling on WPCONFIG tab 95 * Fix: Count on tab not using updated debug log path 96 90 97 = 2.0.0.3 = 91 * Fix: CPU showing overload on shell with Managed WordPress hosting plans98 * Fix: CPU showing overload when using shell 92 99 93 100 = 2.0.0.2 =
Note: See TracChangeset
for help on using the changeset viewer.