Changeset 3262970
- Timestamp:
- 03/27/2025 03:35:26 PM (10 months ago)
- Location:
- debug-log-admin-viewer/trunk
- Files:
-
- 7 edited
-
CHANGELOG.md (modified) (2 diffs)
-
admin/class-debug-log-admin-viewer-admin.php (modified) (2 diffs)
-
admin/css/debug-log-admin-viewer-admin.css (modified) (1 diff)
-
admin/js/debug-log-admin-viewer-admin.js (modified) (2 diffs)
-
debug-log-admin-viewer.php (modified) (2 diffs)
-
readme.md (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
debug-log-admin-viewer/trunk/CHANGELOG.md
r3254822 r3262970 4 4 The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), 5 5 and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). 6 7 ## [1.0.1] - 2025-03-27 8 ### Added 9 - Important disclaimer about wp-config.php modifications and backup recommendations 10 - Enhanced UI for backup location display 11 - One-click copy functionality for backup location path 12 13 ### Changed 14 - Label text change for brevity 15 6 16 7 17 ## [1.0.0] - 2025-03-12 … … 26 36 - WP_DEBUG_DISPLAY 27 37 38 [1.0.1]: https://github.com/aidamartinez/debug-log-admin-viewer/releases/tag/v1.0.1 28 39 [1.0.0]: https://github.com/aidamartinez/debug-log-admin-viewer/releases/tag/v1.0.0 -
debug-log-admin-viewer/trunk/admin/class-debug-log-admin-viewer-admin.php
r3254822 r3262970 279 279 add_options_page( 280 280 'Debug Log Admin Viewer Settings', 281 'Debug Log AdminViewer',281 'Debug Log Viewer', 282 282 'manage_options', 283 283 $this->plugin_name, … … 826 826 <h2><?php esc_html_e( 'Debug Log Admin Viewer Settings', 'debug-log-admin-viewer' ); ?></h2> 827 827 828 <p class="description"> 829 <?php 830 printf( 831 esc_html__('Backup config files location: %s', 'debug-log-admin-viewer'), 832 '<code class="backup-location" role="button" tabindex="0" data-clipboard-text="' . esc_attr($this->backup_dir) . '" title="' . esc_attr__('Click to copy path', 'debug-log-admin-viewer') . '">' . 833 esc_html($this->backup_dir) . '</code>' 834 ); 835 ?> 836 <span class="copied-feedback" style="display: none;"><?php esc_html_e('Copied!', 'debug-log-admin-viewer'); ?></span> 837 </p> 838 828 839 <?php if ( ! $config_writable ) : ?> 829 840 <div class="notice notice-error"> -
debug-log-admin-viewer/trunk/admin/css/debug-log-admin-viewer-admin.css
r3254822 r3262970 274 274 vertical-align: text-bottom; 275 275 } 276 277 .backup-location { 278 cursor: pointer; 279 padding: 2px 4px; 280 background: #f0f0f1; 281 border-radius: 3px; 282 transition: background 0.2s ease; 283 } 284 285 .backup-location:hover { 286 background: #e0e0e1; 287 } 288 289 .backup-location:focus { 290 outline: 1px solid #2271b1; 291 box-shadow: 0 0 0 1px #2271b1; 292 } 293 294 .copied-feedback { 295 color: #008a20; 296 margin-left: 8px; 297 font-style: italic; 298 } -
debug-log-admin-viewer/trunk/admin/js/debug-log-admin-viewer-admin.js
r3254822 r3262970 6 6 // Initialize clipboard.js 7 7 new ClipboardJS('.copy-log'); 8 new ClipboardJS('.backup-location'); 8 9 9 10 // Handle copy button feedback … … 13 14 setTimeout(function() { 14 15 $button.removeClass('copied'); 16 }, 1500); 17 }); 18 19 // Handle backup location copy feedback 20 $('.backup-location').on('click', function() { 21 var $location = $(this); 22 var $feedback = $location.siblings('.copied-feedback'); 23 24 $feedback.fadeIn(200); 25 setTimeout(function() { 26 $feedback.fadeOut(200); 15 27 }, 1500); 16 28 }); -
debug-log-admin-viewer/trunk/debug-log-admin-viewer.php
r3254829 r3262970 11 11 * Plugin URI: https://wordpress.org/plugins/debug-log-admin-viewer 12 12 * Description: A powerful debug log admin viewer with filtering and search capabilities, plus debug settings management. 13 * Version: 1.0. 013 * Version: 1.0.1 14 14 * Author: TWK Media 15 15 * Author URI: https://www.thewebkitchen.co.uk/ … … 24 24 } 25 25 26 define( 'DEBUG_LOG_ADMIN_VIEWER_VERSION', '1.0. 0' );26 define( 'DEBUG_LOG_ADMIN_VIEWER_VERSION', '1.0.1' ); 27 27 define( 'DEBUG_LOG_ADMIN_VIEWER_DIR', plugin_dir_path( __FILE__ ) ); 28 28 -
debug-log-admin-viewer/trunk/readme.md
r3254889 r3262970 2 2 3 3 Contributors: twkmedia 4 Tags: debug, log, viewer 5 Requires at least: 5.0 6 Tested up to: 6.7 7 Stable tag: 1.0.1 8 Requires PHP: 7.4 9 License: GPLv2 or later 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html 4 11 5 Tags: debug, log, viewer12 ## ⚠️ Important Disclaimer 6 13 7 Requires at least: 5.0 14 This plugin modifies your wp-config.php file directly. While the plugin automatically creates backups before any modifications (keeping the 5 most recent backups), it is strongly recommended to: 8 15 9 Tested up to: 6.7 16 1. Create a manual backup of your wp-config.php file before installing and using this plugin 17 2. Note the location of automatic backups (shown in the plugin settings page) 18 3. Test the plugin in a staging environment first 10 19 11 Stable tag: 1.0.0 12 13 Requires PHP: 7.4 14 15 License: GPLv2 or later 16 17 License URI: https://www.gnu.org/licenses/gpl-2.0.html 20 The plugin may not work if your wp-config.php has unusual formatting or custom modifications. In case of any issues, you can restore your wp-config.php from the automatic backups located in wp-content/uploads/debug-log-admin-viewer/. 18 21 19 22 ## Short Description -
debug-log-admin-viewer/trunk/readme.txt
r3254889 r3262970 4 4 Requires at least: 5.0 5 5 Tested up to: 6.7 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later … … 10 10 11 11 A WordPress plugin providing a user-friendly interface to manage debug settings and view debug logs with advanced filtering capabilities. 12 13 == ⚠️ Important Disclaimer == 14 15 This plugin modifies your wp-config.php file directly. While the plugin automatically creates backups before any modifications (keeping the 5 most recent backups), it is strongly recommended to: 16 17 1. Create a manual backup of your wp-config.php file before installing and using this plugin 18 2. Note the location of automatic backups (shown in the plugin settings page) 19 3. Test the plugin in a staging environment first 20 21 The plugin may not work if your wp-config.php has unusual formatting or custom modifications. In case of any issues, you can restore your wp-config.php from the automatic backups located in wp-content/uploads/debug-log-admin-viewer/. 12 22 13 23 == Description ==
Note: See TracChangeset
for help on using the changeset viewer.