Plugin Directory

Changeset 3474847


Ignore:
Timestamp:
03/04/2026 06:27:07 PM (3 weeks ago)
Author:
rocketcomunicazione
Message:

2.3.6

Location:
rc-site-manager-optimization/trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • rc-site-manager-optimization/trunk/includes/admin.php

    r3473905 r3474847  
    188188        }
    189189
    190         $wp_admin_bar->add_node([
    191             'id'     => 'rc-sm-clear-all-cache',
    192             'parent' => 'rc-site-manager',
    193             'title'  => __('Clear all pages', 'rc-site-manager-optimization'),
    194             'href'   => '#',
    195             'meta'   => ['class' => 'rc-sm-clear-all-cache'],
    196         ]);
     190        if ( ! rc_sm_is_plugin_page () ) {
     191            $wp_admin_bar->add_node([
     192                'id'     => 'rc-sm-clear-all-cache',
     193                'parent' => 'rc-site-manager',
     194                'title'  => __('Clear all pages', 'rc-site-manager-optimization'),
     195                'href'   => '#',
     196                'meta'   => ['class' => 'rc-sm-clear-all-cache'],
     197            ]);
     198        }
    197199    }
    198200
     
    205207    <div class="rc_sm_notice_fly"></div>
    206208
    207     <div id="rc_sm_modal_clear_all">
     209    <div id="rc_sm_modal_clear_all" style="display:none;">
    208210        <div class="rc_sm_modal_window">
    209211            <div class="rc_sm_modal_title"><?php _e('Clear all pages', $td); ?></div>
     
    307309add_action('admin_footer', function() {
    308310    if ( ! defined('WP_ROCKET_VERSION') ) return;
     311
    309312    $post_id = isset($_GET['post']) ? intval($_GET['post']) : 0;
    310313    ?>
  • rc-site-manager-optimization/trunk/rc-site-manager-optimization.php

    r3474383 r3474847  
    33 * Plugin Name: RC Site Manager & Optimization
    44 * Description: All-in-one Wordpress manager: control WooCommerce, SEO, caching, media, and multilingual tools from one dashboard.
    5  * Version: 2.3.5
     5 * Version: 2.3.6
    66 * Author: Rocket Comunicazione
    77 * Author URI: https://www.rocketcomunicazione.com
     
    1818
    1919
    20 define('RC_SM_PLUGIN_VERSION', '2.3.5');
     20define('RC_SM_PLUGIN_VERSION', '2.3.6');
    2121
    2222define( 'RC_SM_SITE_URL', home_url() );
     
    183183    add_submenu_page(
    184184        'rc_sm_dashboard',
    185         'Log',
    186         'Log',
    187         rc_sm_access_get_menu_capability('utility'),
    188         'rc_sm_utility',
    189         'rc_sm_utility_page'
    190     );
    191 
    192     add_submenu_page(
    193         'rc_sm_dashboard',
    194185        __('Plugins', 'rc-site-manager-optimization'),
    195186        __('Plugins', 'rc-site-manager-optimization'),
     
    238229    }
    239230
     231    add_submenu_page(
     232        'rc_sm_dashboard',
     233        'System',
     234        'System',
     235        rc_sm_access_get_menu_capability('utility'),
     236        'rc_sm_utility',
     237        'rc_sm_utility_page'
     238    );
     239   
    240240    add_submenu_page(
    241241        'rc_sm_dashboard',
  • rc-site-manager-optimization/trunk/readme.txt

    r3474383 r3474847  
    55Tested up to: 6.9
    66Requires PHP: 8.1
    7 Stable tag: 2.3.5
     7Stable tag: 2.3.6
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    160160== Changelog ==
    161161
     162
     163= 2.3.6 - March 4, 2026 =
     164* Add System info in Utility
    162165
    163166= 2.3.5 - March 4, 2026 =
     
    283286== Upgrade Notice ==
    284287
     288= 2.3.6 - March 4, 2026 =
     289Add System info in Utility.
     290
    285291= 2.3.5 - March 4, 2026 =
    286292Minor bug fixes.
  • rc-site-manager-optimization/trunk/utility/index.php

    r3438010 r3474847  
    77include RC_SM_PAGE_DIR_UTILITY . '_function.php';
    88
    9 include 'tab_log_fn.php';
     9$tab = rc_sm_security_ajax_get_param('tab_par');
     10if ($tab === 'tab_' . RC_SM_PAGE_DIR_UTILITY . '_system') {
     11    include 'tab_system_fn.php';
     12} elseif ($tab === 'tab_' . RC_SM_PAGE_DIR_UTILITY . '_log') {
     13    include 'tab_log_fn.php';
     14}
    1015
    1116
     
    4853    $tab = rc_sm_security_ajax_get_param('tab');
    4954
    50     if ($tab === 'tab_' . RC_SM_PAGE_DIR_UTILITY . '_content') {
    51         include 'tab_content.php';
     55    if ($tab === 'tab_' . RC_SM_PAGE_DIR_UTILITY . '_system') {
     56        include 'tab_system.php';
    5257    } elseif ($tab === 'tab_' . RC_SM_PAGE_DIR_UTILITY . '_log') {
    5358        include 'tab_log.php';
     
    7681            <div class="rc_sm_box_wrap_tab">
    7782                <div class="rc_sm_tab_nav">
    78                     <a href="#"
    79                        class="rc_sm_tab_button active"
     83
     84                    <a href="#" class="rc_sm_tab_button rc_sm_tab_default active"
     85                       data-tab="tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_system"
     86                       data-ajax-action="rc_sm_load_tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>">
     87                        <span class="dashicons dashicons-editor-kitchensink"></span><?php echo esc_html__('System', 'rc-site-manager-optimization'); ?>
     88                    </a>
     89
     90                    <a href="#" class="rc_sm_tab_button"
    8091                       data-tab="tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_log"
    8192                       data-ajax-action="rc_sm_load_tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>">
    82                         <span class="dashicons dashicons-superhero"></span><?php echo esc_html('Log'); ?>
     93                        <span class="dashicons dashicons-awards"></span><?php echo esc_html__('Log', 'rc-site-manager-optimization'); ?>
    8394                    </a>
    84                 </div>
    8595
     96                </div>
    8697            </div>
    8798
     99            <div class="rc_sm_tab_content tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_system active"
     100                 data-tab="tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_system">
     101                <div class="rc_sm_loader_tab"></div>
     102            </div>
    88103
    89             <div class="rc_sm_tab_content tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_log active"
     104            <div class="rc_sm_tab_content tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_log"
    90105                 data-tab="tab_<?php echo esc_attr($rc_sm_page_dir_tab_utility); ?>_log">
    91106                <div class="rc_sm_loader_tab"></div>
    92107            </div>
     108
    93109        </div>
     110
    94111    </div>
    95112    <?php
Note: See TracChangeset for help on using the changeset viewer.