Changeset 3227843
- Timestamp:
- 01/24/2025 06:26:15 AM (14 months ago)
- Location:
- security-checker-for-themes
- Files:
-
- 12 added
- 2 edited
-
tags/1.1.1 (added)
-
tags/1.1.1/assets (added)
-
tags/1.1.1/assets/css (added)
-
tags/1.1.1/assets/css/styles.css (added)
-
tags/1.1.1/assets/img (added)
-
tags/1.1.1/assets/img/security.png (added)
-
tags/1.1.1/assets/js (added)
-
tags/1.1.1/assets/js/Chart.js (added)
-
tags/1.1.1/assets/js/scripts.js (added)
-
tags/1.1.1/documenation.html (added)
-
tags/1.1.1/readme.txt (added)
-
tags/1.1.1/security-checker-for-themes.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/security-checker-for-themes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
security-checker-for-themes/trunk/readme.txt
r3203450 r3227843 64 64 == Changelog == 65 65 66 = 1.1.0 2024-12-06 = 66 = 1.1.1 = 67 * Enhancement - Security checks for issues. 68 * Updated - Updated the code to check the deprecated functions. 67 69 68 **Security Checker for Themes** 70 = 1.1.0 = 71 * Added hardcoded URL detection and recommended using dynamic functions like `home_url()` or `site_url()`. 72 * Enhanced security checks for issues like insecure file handling and weak encryption methods. 73 * Excluded external resources (e.g., CDN links) from triggering unnecessary warnings. 74 * Improved scoring system and visual reports. 69 75 70 * Added - Detection for hardcoded URLs, recommending using dynamic WordPress functions like `home_url()` or `site_url()`. 71 * Added - Enhanced security checks for potential issues like insecure file handling and weak encryption methods. 72 * Added - Exclusion of external resources from unnecessary warning triggers. 73 * Improved - Scoring system and visual reports to provide clearer insights into code quality. 76 = 1.0.0 = 77 * Initial release. 74 78 75 = 1.0.0 2024-09-06=79 == Upgrade Notice == 76 80 77 **Security Checker for Themes** 78 79 * Initial release of the plugin to analyze themes for coding standards, security vulnerabilities, and best practices. 81 = 1.1.0 = 82 * This update adds hardcoded URL detection and enhanced security checks. No upgrade required for current users. -
security-checker-for-themes/trunk/security-checker-for-themes.php
r3203450 r3227843 296 296 } 297 297 298 public function scft_enqueue_plugin_script_inline() { 298 public function scft_enqueue_plugin_script_inline($screen) { 299 300 if ( 'toplevel_page_security-checker-for-themes' != $screen ) { 301 return; 302 } 303 299 304 wp_register_script('chart-inline-js', plugin_dir_url(__FILE__) . 'assets/js/Chart.js', [], '4.4.4', true); 300 305 wp_enqueue_script('chart-inline-js'); … … 621 626 'get_theme' => 'Use wp_get_theme() instead.', 622 627 'get_current_theme' => 'Use wp_get_theme() instead.', 623 'get_theme_data' => 'Use wp_get_theme() instead.' 628 'get_theme_data' => 'Use wp_get_theme() instead.', 629 'add_contextual_help' => 'Use WP_Screen::add_help_tab() instead.', 630 'add_custom_background' => 'Use add_theme_support() instead.', 631 'add_custom_image_header' => 'Use add_theme_support() instead.', 632 'attribute_escape' => 'Use esc_attr() instead.', 633 'clean_page_cache' => 'Use clean_post_cache() instead.', 624 634 ]; 625 635
Note: See TracChangeset
for help on using the changeset viewer.