Changeset 3183924
- Timestamp:
- 11/07/2024 02:40:52 PM (14 months ago)
- Location:
- wp-hide-security-enhancer
- Files:
-
- 208 added
- 10 edited
-
tags/2.5 (added)
-
tags/2.5/assets (added)
-
tags/2.5/assets/css (added)
-
tags/2.5/assets/css/dashboard-widget.css (added)
-
tags/2.5/assets/css/graph.css (added)
-
tags/2.5/assets/css/security-scan.css (added)
-
tags/2.5/assets/css/tipsy.css (added)
-
tags/2.5/assets/css/wph-general.css (added)
-
tags/2.5/assets/css/wph.css (added)
-
tags/2.5/assets/images (added)
-
tags/2.5/assets/images/computer.png (added)
-
tags/2.5/assets/images/rewrite-test-json-response.jpg (added)
-
tags/2.5/assets/images/warning.png (added)
-
tags/2.5/assets/js (added)
-
tags/2.5/assets/js/devtools-detect.js (added)
-
tags/2.5/assets/js/jquery.tipsy.js (added)
-
tags/2.5/assets/js/wph.js (added)
-
tags/2.5/compatibility (added)
-
tags/2.5/compatibility/a2-optimized.php (added)
-
tags/2.5/compatibility/autoptimize.php (added)
-
tags/2.5/compatibility/buddypress.php (added)
-
tags/2.5/compatibility/cache-enabler.php (added)
-
tags/2.5/compatibility/dokan.php (added)
-
tags/2.5/compatibility/easy-digital-downloads.php (added)
-
tags/2.5/compatibility/elementor.php (added)
-
tags/2.5/compatibility/fast-velocity-minfy.php (added)
-
tags/2.5/compatibility/fluentform.php (added)
-
tags/2.5/compatibility/fusion-builder.php (added)
-
tags/2.5/compatibility/general.php (added)
-
tags/2.5/compatibility/hyper-cache.php (added)
-
tags/2.5/compatibility/jch-optimize.php (added)
-
tags/2.5/compatibility/jobboardwp.php (added)
-
tags/2.5/compatibility/litespeed-cache.php (added)
-
tags/2.5/compatibility/oxygen-class.php (added)
-
tags/2.5/compatibility/oxygen.php (added)
-
tags/2.5/compatibility/qtranslate-xt.php (added)
-
tags/2.5/compatibility/redirection.php (added)
-
tags/2.5/compatibility/sg-cachepress.php (added)
-
tags/2.5/compatibility/shortpixel-adaptive-images.php (added)
-
tags/2.5/compatibility/shortpixel-image-optimiser.php (added)
-
tags/2.5/compatibility/super-cache.php (added)
-
tags/2.5/compatibility/swift-performance.php (added)
-
tags/2.5/compatibility/themes (added)
-
tags/2.5/compatibility/themes/avada.php (added)
-
tags/2.5/compatibility/themes/buddyboss-theme.php (added)
-
tags/2.5/compatibility/themes/divi.php (added)
-
tags/2.5/compatibility/themes/woodmart.php (added)
-
tags/2.5/compatibility/translatepress-multilingual.php (added)
-
tags/2.5/compatibility/ultimate-member.php (added)
-
tags/2.5/compatibility/w3-cache.php (added)
-
tags/2.5/compatibility/webarx.php (added)
-
tags/2.5/compatibility/wepos.php (added)
-
tags/2.5/compatibility/woo-global-cart.php (added)
-
tags/2.5/compatibility/woocommerce.php (added)
-
tags/2.5/compatibility/wp-asset-clean-up.php (added)
-
tags/2.5/compatibility/wp-cloudflare-page-cache.php (added)
-
tags/2.5/compatibility/wp-fastest-cache.php (added)
-
tags/2.5/compatibility/wp-hummingbird.php (added)
-
tags/2.5/compatibility/wp-job-manager.php (added)
-
tags/2.5/compatibility/wp-optimize.php (added)
-
tags/2.5/compatibility/wp-rocket.php (added)
-
tags/2.5/compatibility/wp-simple-firewall.php (added)
-
tags/2.5/compatibility/wp-smush.php (added)
-
tags/2.5/compatibility/wp-speed-of-light.php (added)
-
tags/2.5/compatibility/wpforms-lite.php (added)
-
tags/2.5/compatibility/wpml.php (added)
-
tags/2.5/compatibility/wps-hide-login.php (added)
-
tags/2.5/composer.json (added)
-
tags/2.5/include (added)
-
tags/2.5/include/admin-interface.class.php (added)
-
tags/2.5/include/admin-interfaces (added)
-
tags/2.5/include/admin-interfaces/notice-cache-path.php (added)
-
tags/2.5/include/admin-interfaces/notice-is-litespeed.php (added)
-
tags/2.5/include/admin-interfaces/notice-is-wpengine.php (added)
-
tags/2.5/include/admin-interfaces/notice-is_multisite.php (added)
-
tags/2.5/include/admin-interfaces/notice-mu-loader-update.php (added)
-
tags/2.5/include/admin-interfaces/notice-mu-loader.php (added)
-
tags/2.5/include/admin-interfaces/notice-no-permalinks.php (added)
-
tags/2.5/include/admin-interfaces/notice-rewrite-test-static-file.php (added)
-
tags/2.5/include/admin-interfaces/notice-rewrite-test.php (added)
-
tags/2.5/include/admin-interfaces/notice-server-not-supported.php (added)
-
tags/2.5/include/admin-interfaces/notice-write-check.php (added)
-
tags/2.5/include/admin-interfaces/security-scan (added)
-
tags/2.5/include/admin-interfaces/security-scan.class.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item.class.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_database_prefix.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_db_debug.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_disable_file_edit.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_firewall.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_headers.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_admin_ajax.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_admin_url.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_child_theme.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_child_theme_style.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_comments.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_plugins.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_theme.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_theme_style.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_wp_content.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_check_wp_includes.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_emulate.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_json.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_json_clean_api.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_license_txt.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_new_wp_login.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_other_generator.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_postprocessing.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_readme_html.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_registration.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_remove_header_link.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_remove_headers.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_remove_html_comments.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_replacements.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_robots.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_wlwmanifest.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_wordpress_generator.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_wordpress_tagline.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_hide_xml_rpc.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_keys_and_salts.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_mysql_version.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_old_plugins.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_outdated_plugins.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_outdated_themes.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_php_allow_url_include.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_php_display_errors.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_php_expose.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_php_register_globals.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_php_safe_mode.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_php_version.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_unwanted_files.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_use_admin_user.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_wp_debug.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_wp_version.php (added)
-
tags/2.5/include/admin-interfaces/security-scan/scan_item_wp_version_stability.php (added)
-
tags/2.5/include/admin-interfaces/setup.class.php (added)
-
tags/2.5/include/class.compatibility.php (added)
-
tags/2.5/include/class.environment.php (added)
-
tags/2.5/include/functions.class.php (added)
-
tags/2.5/include/module.class.php (added)
-
tags/2.5/include/module.component.class.php (added)
-
tags/2.5/include/rewrite-confirm.php (added)
-
tags/2.5/include/update.class.php (added)
-
tags/2.5/include/widgets.class.php (added)
-
tags/2.5/include/wph.class.php (added)
-
tags/2.5/languages (added)
-
tags/2.5/languages/wp-hide-security-enhancer.mo (added)
-
tags/2.5/languages/wp-hide-security-enhancer.po (added)
-
tags/2.5/modules (added)
-
tags/2.5/modules/components (added)
-
tags/2.5/modules/components/admin-admin_url.php (added)
-
tags/2.5/modules/components/admin-login_php.php (added)
-
tags/2.5/modules/components/cdn-setup.php (added)
-
tags/2.5/modules/components/general-admin-bar.php (added)
-
tags/2.5/modules/components/general-block-detectors.php (added)
-
tags/2.5/modules/components/general-emulate.php (added)
-
tags/2.5/modules/components/general-feed.php (added)
-
tags/2.5/modules/components/general-headers.php (added)
-
tags/2.5/modules/components/general-html.php (added)
-
tags/2.5/modules/components/general-meta.php (added)
-
tags/2.5/modules/components/general-oembed.php (added)
-
tags/2.5/modules/components/general-robots-txt.php (added)
-
tags/2.5/modules/components/general-scripts.php (added)
-
tags/2.5/modules/components/general-styles.php (added)
-
tags/2.5/modules/components/general-user-interactions.php (added)
-
tags/2.5/modules/components/general-wpemoji.php (added)
-
tags/2.5/modules/components/login_captcha-google-v2.php (added)
-
tags/2.5/modules/components/login_captcha-google-v3.php (added)
-
tags/2.5/modules/components/login_captcha.php (added)
-
tags/2.5/modules/components/rewrite-author.php (added)
-
tags/2.5/modules/components/rewrite-comments.php (added)
-
tags/2.5/modules/components/rewrite-default.php (added)
-
tags/2.5/modules/components/rewrite-json-rest.php (added)
-
tags/2.5/modules/components/rewrite-new_include_path.php (added)
-
tags/2.5/modules/components/rewrite-new_plugin_path.php (added)
-
tags/2.5/modules/components/rewrite-new_theme_path.php (added)
-
tags/2.5/modules/components/rewrite-new_upload_path.php (added)
-
tags/2.5/modules/components/rewrite-new_xml-rpc-path.php (added)
-
tags/2.5/modules/components/rewrite-root-files.php (added)
-
tags/2.5/modules/components/rewrite-search.php (added)
-
tags/2.5/modules/components/rewrite-slash.php (added)
-
tags/2.5/modules/components/rewrite-wp_content_path.php (added)
-
tags/2.5/modules/components/security-add_headers.php (added)
-
tags/2.5/modules/components/security-check_headers.php (added)
-
tags/2.5/modules/components/security-header-cross-origin-embedder-policy.php (added)
-
tags/2.5/modules/components/security-header-cross-origin-opener-policy.php (added)
-
tags/2.5/modules/components/security-header-cross-origin-resource-policy.php (added)
-
tags/2.5/modules/components/security-header-referrer-policy.php (added)
-
tags/2.5/modules/components/security-header-x-content-type-options.php (added)
-
tags/2.5/modules/components/security-header-x-download-options.php (added)
-
tags/2.5/modules/components/security-header-x-frame-options.php (added)
-
tags/2.5/modules/components/security-header-x-permitted-cross-domain-policies.php (added)
-
tags/2.5/modules/components/security-header-x-xss-protection.php (added)
-
tags/2.5/modules/module-admin.php (added)
-
tags/2.5/modules/module-captcha.php (added)
-
tags/2.5/modules/module-cdn.php (added)
-
tags/2.5/modules/module-general.php (added)
-
tags/2.5/modules/module-rewrite.php (added)
-
tags/2.5/modules/module-security_headers.php (added)
-
tags/2.5/mu-loader (added)
-
tags/2.5/mu-loader/wp-hide-loader.php (added)
-
tags/2.5/readme.txt (added)
-
tags/2.5/router (added)
-
tags/2.5/router/class.file-processor.php (added)
-
tags/2.5/router/empty.html (added)
-
tags/2.5/router/file-process.php (added)
-
tags/2.5/screenshot-1.png (added)
-
tags/2.5/screenshot-2.png (added)
-
tags/2.5/wp-hide.php (added)
-
trunk/assets/css/wph-general.css (modified) (1 diff)
-
trunk/assets/js/wph.js (modified) (1 diff)
-
trunk/include/admin-interfaces/security-scan.class.php (modified) (2 diffs)
-
trunk/include/admin-interfaces/setup.class.php (modified) (2 diffs)
-
trunk/include/functions.class.php (modified) (2 diffs)
-
trunk/include/widgets.class.php (modified) (1 diff)
-
trunk/include/wph.class.php (modified) (4 diffs)
-
trunk/modules/components/general-user-interactions.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp-hide.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-hide-security-enhancer/trunk/assets/css/wph-general.css
r2709073 r3183924 1 1 #adminmenu span.wph-info {display: inline-block;font-size: 9px;} 2 #adminmenu span.wph-info.submenu {padding-left: 20px} 3 #adminmenu .wph-current a {box-shadow: inset 2px 0 0 0 currentColor; color: #2ea2cc} -
wp-hide-security-enhancer/trunk/assets/js/wph.js
r2977600 r3183924 5 5 constructor() { 6 6 this.SiteScanProgress_interval = false; 7 this.AJAX_data = false 7 this.AJAX_data = false; 8 9 this.adminInit(); 10 } 11 12 adminInit() { 13 14 jQuery( document ).ready( function() { 15 if ( jQuery( '.submenu.wph-highlight').length > 0 ) 16 jQuery( '.submenu.wph-highlight').closest( 'li' ).addClass('wph-current'); 17 }) 18 19 8 20 } 9 21 -
wp-hide-security-enhancer/trunk/include/admin-interfaces/security-scan.class.php
r2950174 r3183924 147 147 function admin_print_styles() 148 148 { 149 wp_enqueue_style( 'tipsy.css', WPH_URL . '/assets/css/tipsy.css' );150 151 wp_register_style('WPHStyle', WPH_URL . '/assets/css/wph.css' );149 wp_enqueue_style( 'tipsy.css', WPH_URL . '/assets/css/tipsy.css', array(), WPH_CORE_VERSION ); 150 151 wp_register_style('WPHStyle', WPH_URL . '/assets/css/wph.css', array(), WPH_CORE_VERSION ); 152 152 wp_enqueue_style( 'WPHStyle'); 153 153 154 wp_register_style('wph-graphs', WPH_URL . '/assets/css/graph.css' );154 wp_register_style('wph-graphs', WPH_URL . '/assets/css/graph.css', array(), WPH_CORE_VERSION ); 155 155 wp_enqueue_style( 'wph-graphs'); 156 156 157 wp_register_style('wph-security-scan', WPH_URL . '/assets/css/security-scan.css' );157 wp_register_style('wph-security-scan', WPH_URL . '/assets/css/security-scan.css', array(), WPH_CORE_VERSION ); 158 158 wp_enqueue_style( 'wph-security-scan'); 159 159 … … 163 163 function admin_print_scripts() 164 164 { 165 wp_enqueue_script('jquery.tipsy.js', WPH_URL . '/assets/js/jquery.tipsy.js' );165 wp_enqueue_script('jquery.tipsy.js', WPH_URL . '/assets/js/jquery.tipsy.js', array(), WPH_CORE_VERSION ); 166 166 167 167 wp_enqueue_script( 'jquery'); -
wp-hide-security-enhancer/trunk/include/admin-interfaces/setup.class.php
r3093927 r3183924 25 25 function admin_print_styles() 26 26 { 27 wp_enqueue_style( 'tipsy.css', WPH_URL . '/assets/css/tipsy.css' );28 29 wp_register_style('WPHStyle', WPH_URL . '/assets/css/wph.css' );27 wp_enqueue_style( 'tipsy.css', WPH_URL . '/assets/css/tipsy.css', array(), WPH_CORE_VERSION ); 28 29 wp_register_style('WPHStyle', WPH_URL . '/assets/css/wph.css', array(), WPH_CORE_VERSION ); 30 30 wp_enqueue_style( 'WPHStyle'); 31 31 … … 36 36 { 37 37 wp_enqueue_script( 'jquery'); 38 wp_register_script('wph', WPH_URL . '/assets/js/wph.js' );39 40 wp_enqueue_script('jquery.tipsy.js', WPH_URL . '/assets/js/jquery.tipsy.js' );38 wp_register_script('wph', WPH_URL . '/assets/js/wph.js', array(), WPH_CORE_VERSION ); 39 40 wp_enqueue_script('jquery.tipsy.js', WPH_URL . '/assets/js/jquery.tipsy.js' , array(), WPH_CORE_VERSION ); 41 41 42 42 // Localize the script with new data -
wp-hide-security-enhancer/trunk/include/functions.class.php
r3093927 r3183924 624 624 625 625 626 $home_path = trim($home_path, '\\/ ');626 $home_path = rtrim($home_path, '\\/ '); 627 627 628 628 //not for windows … … 3251 3251 } 3252 3252 3253 if (class_exists('\LiteSpeed\Purge') )3253 if (class_exists('\LiteSpeed\Purge') && defined ( 'LSWCP_TAG_PREFIX' ) ) 3254 3254 { 3255 3255 \LiteSpeed\Purge::purge_all(); 3256 } 3257 3258 3259 if ( did_action( 'elementor/loaded' ) ) 3260 { 3261 // Automatically purge and regenerate the Elementor CSS cache 3262 \Elementor\Plugin::instance()->files_manager->clear_cache(); 3256 3263 } 3257 3264 -
wp-hide-security-enhancer/trunk/include/widgets.class.php
r2950174 r3183924 21 21 function dashboard_overview_styles() 22 22 { 23 wp_register_style('wph-graphs', WPH_URL . '/assets/css/graph.css' );23 wp_register_style('wph-graphs', WPH_URL . '/assets/css/graph.css', array(), WPH_CORE_VERSION ); 24 24 wp_enqueue_style( 'wph-graphs'); 25 25 26 wp_register_style('wph-security-scan', WPH_URL . '/assets/css/security-scan.css' );26 wp_register_style('wph-security-scan', WPH_URL . '/assets/css/security-scan.css', array(), WPH_CORE_VERSION ); 27 27 wp_enqueue_style( 'wph-security-scan'); 28 28 29 wp_register_style('wph-dashboard-widget', WPH_URL . '/assets/css/dashboard-widget.css' );29 wp_register_style('wph-dashboard-widget', WPH_URL . '/assets/css/dashboard-widget.css', array(), WPH_CORE_VERSION ); 30 30 wp_enqueue_style( 'wph-dashboard-widget'); 31 31 } -
wp-hide-security-enhancer/trunk/include/wph.class.php
r3139737 r3183924 350 350 function admin_print_styles() 351 351 { 352 wp_enqueue_style( 'tipsy.css', WPH_URL . '/assets/css/tipsy.css' );353 354 wp_register_style('WPHStyle', WPH_URL . '/assets/css/wph.css' );352 wp_enqueue_style( 'tipsy.css', WPH_URL . '/assets/css/tipsy.css', array(), WPH_CORE_VERSION ); 353 354 wp_register_style('WPHStyle', WPH_URL . '/assets/css/wph.css', array(), WPH_CORE_VERSION ); 355 355 wp_enqueue_style( 'WPHStyle'); 356 356 … … 360 360 function admin_print_styles_general() 361 361 { 362 wp_register_style('WPH-Styles-general', WPH_URL . '/assets/css/wph-general.css' );362 wp_register_style('WPH-Styles-general', WPH_URL . '/assets/css/wph-general.css', array(), WPH_CORE_VERSION ); 363 363 wp_enqueue_style( 'WPH-Styles-general'); 364 364 } … … 368 368 { 369 369 wp_enqueue_script( 'jquery'); 370 wp_register_script('wph', WPH_URL . '/assets/js/wph.js' );371 372 wp_enqueue_script('jquery.tipsy.js', WPH_URL . '/assets/js/jquery.tipsy.js' );370 wp_register_script('wph', WPH_URL . '/assets/js/wph.js', array(), WPH_CORE_VERSION ); 371 372 wp_enqueue_script('jquery.tipsy.js', WPH_URL . '/assets/js/jquery.tipsy.js', array(), WPH_CORE_VERSION ); 373 373 374 374 // Localize the script with new data … … 422 422 add_action('admin_print_scripts-' . $hookID , array( $this->security_scan, 'admin_print_scripts')); 423 423 424 $current_page = isset ( $_GET['page'] ) ? preg_replace( '/[^a-zA-Z0-9\-\_$]/m' , "", $_GET['page'] ) : ''; 425 $current_component = isset ( $_GET['component'] ) ? preg_replace( '/[^a-zA-Z0-9\-\_$]/m' , "", $_GET['component'] ) : ''; 426 427 $main_menu_slug = 'wp-hide'; 428 424 429 foreach($this->modules as $module) 425 430 { 426 431 $interface_menu_data = $module->get_interface_menu_data(); 427 432 428 $hookID = add_submenu_page( 'wp-hide', 'WP Hide', $interface_menu_data['menu_title'], 'manage_options', $interface_menu_data['menu_slug'], array($this->admin_interface,'_render'));433 $hookID = add_submenu_page( $main_menu_slug, 'WP Hide', $interface_menu_data['menu_title'], 'manage_options', $interface_menu_data['menu_slug'], array($this->admin_interface,'_render')); 429 434 430 435 add_action('admin_print_styles-' . $hookID , array($this, 'admin_print_styles')); 431 436 add_action('admin_print_scripts-' . $hookID , array($this, 'admin_print_scripts')); 437 438 if ( $module->get_module_slug() == $current_page ) 439 { 440 foreach( $module->components as $module_component ) 441 { 442 if( ! $module_component->title) 443 continue; 444 445 if ( in_array ( $module->get_module_slug() , array ( 'wp-hide-security-headers', 'wp-hide-login', 'wp-hide-cdn' ) ) ) 446 continue; 447 448 $class = 'wph-info submenu'; 449 if ( $current_component == $module_component->id ) 450 $class .= ' wph-highlight'; 451 452 add_submenu_page( $main_menu_slug, 'WP Hide PRO ' . $interface_menu_data['menu_title'], '<span class="' . $class .'">→</span> ' . $module_component->title, 'manage_options', $interface_menu_data['menu_slug'] . '&component=' . $module_component->id, array($this->admin_interface,'_render')); 453 454 } 455 456 } 457 432 458 } 433 459 -
wp-hide-security-enhancer/trunk/modules/components/general-user-interactions.php
r2984937 r3183924 253 253 { 254 254 add_action( 'wp_enqueue_scripts', array ( $this, 'wp_enqueue_scripts' ) ); 255 add_filter( 'wp_footer', array ( $this, 'output_footer_js' ) ); 255 add_filter( 'wp_footer', array ( $this, 'output_footer_js' ) ); 256 add_filter( 'login_footer' , array ( $this, 'output_footer_js' ) ); 256 257 } 257 258 … … 265 266 return; 266 267 267 wp_register_script('devtools-detect', WPH_URL . '/assets/js/devtools-detect.js' );268 wp_register_script('devtools-detect', WPH_URL . '/assets/js/devtools-detect.js', array(), WPH_CORE_VERSION ); 268 269 wp_enqueue_script ( 'devtools-detect' ); 269 270 -
wp-hide-security-enhancer/trunk/readme.txt
r3169300 r3183924 5 5 Requires at least: 2.8 6 6 Tested up to: 6.7 7 Stable tag: 2. 4.77 Stable tag: 2.5 8 8 License: GPLv2 or later 9 9 … … 418 418 == Changelog == 419 419 420 = 2.5 = 421 * Include a version number for all script and style assets to ensure the correct data loads when cached. 422 * Load the user interaction JavaScript on the login page as well, to ensure functionality on that page. 423 * Add submenu items to the main menu for improved accessibility. 424 * Check if LSWCP_TAG_PREFIX is defined when using LiteSpeed Cache before clearing the caches. 425 * Clear the Elementor caches, if active, when options change. 426 * Fix: Use rtrim instead of trim to strip the trailing \/ in the URL. 427 * Update and check compatibility with WordPress 6.7. 428 420 429 = 2.4.7 = 421 430 * Fix: Check if data block is serialized, before applying the revert replacements. … … 681 690 * Fix undefined get_metadata_raw 682 691 683 = 1.6.3.2 =684 * Confirmation page for Recovery link685 * Use home_url() instead site_url() for recovery links to ensure the format is correct for WordPress instances using own directory686 * Trigger the login URL change e-mail at shutdown instead init687 * Compatibility with TranslatePress - Multilingual688 * Fix undefined notice689 * Fix meta Uncaught TypeError: count(): Argument690 * Slight code improvements691 692 = 1.6.3.1 =693 * Improved description for Test Rewrite procedure, when the server fails to provide a valid response, rewrite engine is not active or the custom urls are not allowd.694 * Fixed Undefined Property Notice695 696 = 1.6.3 =697 * Server Environment Check to ensure there are no rewrite issues and the plugin can be safely deployed.698 * Interactive feedback with hints and explanations for environment issues.699 * Improved UI700 * Clear fusion cache when plugin options changed if avada active701 * Fix New Search Path replacement to include an end slash, to avoid catch wrong urls702 * Check and tag for WordPress 5.7703 704 = 1.6.2.5 =705 * Fix: Add slash for "New Search Path" to avoid wrong replacements with urls containing the new search slug.706 707 = 1.6.2.4 =708 * Reverse URLs when saving a options, to avoid custom urls to be writted within the database.709 * Check if string before making a replacement on metadata710 * Compatibility file for Oxigen editor, when using Signatures711 * Simple Firewall compatibility file update - check if FernleafSystems\Wordpress\Plugin\Shield\Controller\Controller class exists before apply712 713 = 1.6.2.0.4 =714 * Update Compatibility file with Oxygen editor, for image with link wrapper715 * WordPress 5.6 compatibility tag update716 717 = 1.6.2.0.3 =718 * Compatibility file with Oxygen editor719 720 = 1.6.2.0.2 =721 * Fix: Check the replacements for update_post_metadata method on text and array types.722 723 = 1.6.2 =724 * Reverse URLs when saving a meta data field, to avoid custom urls to be writted within the database.725 * Trigger a system notice when deployed on MultiSite, as not being compatible.726 * Don't run _init_remove_html_new_lines when AJAX call to avoid front side processing errors.727 * WP Rocket compatibility file updates, to works with combined CSS assets728 * Shield Security compatibility update, to works with version 10 and up.729 * Prevent nottices and errors when attempt to rite on .htaccess file.730 * New filter wph/components/wp_oembed_add_discovery_links to allow disabling the Remove Oembed - wp_oembed_add_discovery_links731 * New filter wph/components/wp_oembed_add_host_js to allow disabling the Remove Oembed - wp_oembed_add_host_js732 * New compatibility file for wePOS plugin733 * New compatibility file for Asset CleanUp Pro Page Speed Booster plugin734 735 736 = 1.6.1.3 =737 * Compatibility with Hyper Cache738 * Update JSON REST service disable, remove the json_enabled as being deprecated, rely on rest_authentication_errors filter739 * Fix WooCommerce Update Database link when changing the default /wp-admin/ slug740 * Fix password forget return URL741 * Remove callback for Compatibility file for Shield Security within new-admin module742 743 = 1.6.1.1 =744 * Fix: Remove callback for Compatibility file for Shield Security within custom login module745 746 = 1.6.1 =747 * Compatibility file fix for Shield Security748 * WordPress 5.5.1 compatibility tag749 750 = 1.6.0.9.1 =751 * Ignore CDN value check for domain name similitude752 753 = 1.6.0.9 =754 * LiteSpeed guide on Setup interface755 * New functionality - Disable mouse right click756 * Compatibility file - JobBoardWP757 * Compatibility WP-Optimize - Clean, Compress, Cache758 * WordPress 505 compatibility tag759 760 = 1.6.0.8 =761 * Avoid using domain name as replacement for any option, or might conclude to wrong replacements within the outputted HTML or wrong reversed urls.762 * Add system reserved words as 'wp', 'admin', 'admin-ajax.php'763 * Slight General code improvements764 * Clean cookie for the new custom slug, if set.765 * Integration with WP-Optimize - Clean, Compress, Cache766 767 = 1.6.0.6 =768 * WP Job Manager - compatibility update769 770 = 1.6.0.5 =771 * New Setup interface with helps and hints on how to use the plugin.772 * New Sample Setup, which deploy a basic set-up of plugin options773 * Remove internal wp_mail and rely on WordPress core774 * Improved FAQ area775 * Updated base language file776 777 = 1.6.0.4 =778 * Purge cache for Fast Velocity Minify plugin, when clearing internal cache779 * Return new admin slug when calling admin_url() and if default admin is customized780 * Use no-protocol when loading the files, to ensure they are being loaded over current domain protocol781 * BuddyPress compatibility file update782 * Elementor compatibility file update783 * ShortPixel Adaptive Images compatibility file update784 * WooCommerce compatibility file update785 * WP Rocket compatibility file update786 * New compatibility file for Fast Velocity Minify787 * New compatibility file for LiteSpeed Cache788 * New compatibility file for Swift Performance789 * New compatibility file for WP Speed of Light790 791 = 1.6 =792 * New filter wp-hide/content_urls_replacement793 * Compatibility with Ultimate Member, user picture upload fix794 * Updated compatibility with W3 Cache, using postprocessorRequire option795 * Fluentform compatibility updates796 * Outputs the whole stack of errors for $wp_filesystem if exists797 * Typo fix in Uploads module798 799 800 = 1.5.9.9 =801 * Updated procedure for server type identification802 * Add new type text/plain for filterable content803 * Add server_nginx_config to main class, to be used within other modules804 * Updated rewrite quantifier for IIS from .+ to .*805 * Ignore wp-content block if agent is LiteSpeed-Image806 807 = 1.5.9.5 =808 * Updated is_filterable_content_type method, return TRUE if no Content-Type header found809 810 = 1.5.9.4 =811 * Fix readme demo site protocol812 813 = 1.5.9.4 =814 * Fix "undefined method WPH_functions::get_site_module_saved_value()" when content type is text/xml815 816 = 1.5.9.3 =817 * Check for filterable buffer content type, before doing replacements, to prevent erroneously changes818 * Update only URLs on XML content type819 * Updated plugin demo site URL on readme file820 * Compatibility update for ShortPixel Image Optimizer plugin821 * Notice possible issue for Cron block on certain servers822 823 = 1.5.9 =824 * New admin interfaces skin.825 * Relocated plugin assets within a different folder for better organisator.826 * Updated mu-loader module827 * Add help and hints for each options for easier understanding.828 * Allow same base slug to be used for individual plugins829 * Updated language file830 * Check if environment file is not available and outputs admin messages831 * Environment class with relocated environment json, to avoid security scanners false reports.832 * Cache Enabler plugin compatibility module833 * WoodMart theme compatibility834 * Compatibility module for WP Smush and WP Smush PRO plugins835 * Add the new filter available for WP Rocket to change css content836 * WebARX compatibility module update837 * W3 Cache module update838 839 = 1.5.8.2 =840 * Ensure base slug (e.g. base_slug/slug ) is not being used for another option to prevent rewrite conflicts841 * Return correct home path when using own directory for WordPress and hosting account use the same slug in the path.842 * Relocated get_default_variables() function on a higher priority execution level, to get default system details.843 * Switched Yes / No options selection, to outputs first No then Yes ( more logical )844 845 = 1.5.8 =846 * Add reserved option names to avoid conflicts e.g. wp847 * Always clear any code plugin cache when plugin update848 * Easy Digital Downloads compatibility849 * Elementor plugin compatibility850 * Fusion Builder plugin compatibility851 * Divi theme compatibility updates852 * WP Fastest Cache plugin compatibility updates853 * Check if ob_gzhandler and zlib.output_compression before using 'ob_gzhandler' output buffering handler854 855 856 = 1.5.7 =857 * Autoptimize css/js cache and minify compatibility858 * Wp Hummingbird and WP Hummingbird PRO assets cache compatibility859 860 = 1.5.6.9 =861 * New functionality: Remove Link Header862 863 = 1.5.6.8 =864 * Fix: Call for invalid method WP_Error::has_errors()865 * Fix: Attempt to clear Opcache if API not being restricted866 867 = 1.5.6.7 =868 * Allow internal cron jobs to run even if wp-cron.php is blocked.869 * Check with wp_filesystem for any errors and output the messages, before attempt to write any content870 * Trigger site cache clear on settings changed or code update871 * Slight css updates872 * Mark block option in red text for better visibility and user awareness873 874 = 1.5.6.4 =875 * Fix: Keep double quote at the start of the replacements when doing JSON matches to avoid replacing strings for other domains876 * Fix: Run compatibility pachage for "ShortPixel Adaptive Images" only when plugin is active877 878 = 1.5.6.3 =879 * Fix: remove javascript comments produce worng replacements on specific format.880 881 = 1.5.6.2 =882 * Use current site prefix when retreiving 'user_roles'883 884 = 1.5.6 =885 * Fix BBPress menus by calling directly the wp_user_roles option ratter get_roles()886 * Replace comments within inline JavaScript code when Remove Comments active887 * Possible login conflict notices when using WebArx, WPS Hide Login888 * New action wp-hide/admin_notices when plugin admin notices889 * Return updated url when calling admin_url instead replaced when buffer outputs to ensure compatibility with specific plugins890 891 = 1.5.5.9 =892 * Compatibility module for ShortPixel Adaptive Image plugin893 * Add support for texarea fields within plugin options interface894 * Fixed urls for minified files when using WP Rocket cache plugin895 896 = 1.5.5.7 =897 * Filter remove fix898 899 = 1.5.5.6 =900 * Fix log-in page when using Wp Rocket cache901 902 = 1.5.5.5 =903 * Fix admin dashboard replacements when using Wp Rocket cache904 692 905 693 -
wp-hide-security-enhancer/trunk/wp-hide.php
r3169300 r3183924 6 6 * Author: Nsp Code 7 7 * Author URI: http://www.nsp-code.com 8 * Version: 2. 4.78 * Version: 2.5 9 9 * Text Domain: wp-hide-security-enhancer 10 10 * Domain Path: /languages/
Note: See TracChangeset
for help on using the changeset viewer.