Plugin Directory

Changeset 3262970


Ignore:
Timestamp:
03/27/2025 03:35:26 PM (10 months ago)
Author:
twkmedia
Message:

Change label, add backups folder URL, tweak readme

Location:
debug-log-admin-viewer/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • debug-log-admin-viewer/trunk/CHANGELOG.md

    r3254822 r3262970  
    44The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
    55and 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
    616
    717## [1.0.0] - 2025-03-12
     
    2636  - WP_DEBUG_DISPLAY
    2737
     38[1.0.1]: https://github.com/aidamartinez/debug-log-admin-viewer/releases/tag/v1.0.1
    2839[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  
    279279        add_options_page(
    280280            'Debug Log Admin Viewer Settings',
    281             'Debug Log Admin Viewer',
     281            'Debug Log Viewer',
    282282            'manage_options',
    283283            $this->plugin_name,
     
    826826            <h2><?php esc_html_e( 'Debug Log Admin Viewer Settings', 'debug-log-admin-viewer' ); ?></h2>
    827827
     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
    828839            <?php if ( ! $config_writable ) : ?>
    829840                <div class="notice notice-error">
  • debug-log-admin-viewer/trunk/admin/css/debug-log-admin-viewer-admin.css

    r3254822 r3262970  
    274274    vertical-align: text-bottom;
    275275}
     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  
    66        // Initialize clipboard.js
    77        new ClipboardJS('.copy-log');
     8        new ClipboardJS('.backup-location');
    89
    910        // Handle copy button feedback
     
    1314            setTimeout(function() {
    1415                $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);
    1527            }, 1500);
    1628        });
  • debug-log-admin-viewer/trunk/debug-log-admin-viewer.php

    r3254829 r3262970  
    1111 * Plugin URI:        https://wordpress.org/plugins/debug-log-admin-viewer
    1212 * Description:       A powerful debug log admin viewer with filtering and search capabilities, plus debug settings management.
    13  * Version:           1.0.0
     13 * Version:           1.0.1
    1414 * Author:            TWK Media
    1515 * Author URI:        https://www.thewebkitchen.co.uk/
     
    2424}
    2525
    26 define( 'DEBUG_LOG_ADMIN_VIEWER_VERSION', '1.0.0' );
     26define( 'DEBUG_LOG_ADMIN_VIEWER_VERSION', '1.0.1' );
    2727define( 'DEBUG_LOG_ADMIN_VIEWER_DIR', plugin_dir_path( __FILE__ ) );
    2828
  • debug-log-admin-viewer/trunk/readme.md

    r3254889 r3262970  
    22
    33Contributors: twkmedia
     4Tags: debug, log, viewer
     5Requires at least: 5.0
     6Tested up to: 6.7
     7Stable tag: 1.0.1
     8Requires PHP: 7.4
     9License: GPLv2 or later
     10License URI: https://www.gnu.org/licenses/gpl-2.0.html
    411
    5 Tags: debug, log, viewer
     12## ⚠️ Important Disclaimer
    613
    7 Requires at least: 5.0
     14This 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:
    815
    9 Tested up to: 6.7
     161. Create a manual backup of your wp-config.php file before installing and using this plugin
     172. Note the location of automatic backups (shown in the plugin settings page)
     183. Test the plugin in a staging environment first
    1019
    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
     20The 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/.
    1821
    1922## Short Description
  • debug-log-admin-viewer/trunk/readme.txt

    r3254889 r3262970  
    44Requires at least: 5.0
    55Tested up to: 6.7
    6 Stable tag: 1.0.0
     6Stable tag: 1.0.1
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    1010
    1111A WordPress plugin providing a user-friendly interface to manage debug settings and view debug logs with advanced filtering capabilities.
     12
     13== ⚠️ Important Disclaimer ==
     14
     15This 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
     171. Create a manual backup of your wp-config.php file before installing and using this plugin
     182. Note the location of automatic backups (shown in the plugin settings page)
     193. Test the plugin in a staging environment first
     20
     21The 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/.
    1222
    1323== Description ==
Note: See TracChangeset for help on using the changeset viewer.