Changeset 3083161
- Timestamp:
- 05/08/2024 11:31:13 AM (3 months ago)
- Location:
- wpvulnerability
- Files:
-
- 47 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
wpvulnerability/trunk/changelog.txt
r3083082 r3083161 1 1 == Changelog == 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 2 21 3 22 = [3.1.2] - 2024-05-08 = … … 15 34 **Compatibility** 16 35 17 * WordPress 4.1 - WordPress 6.6 -alpha.36 * WordPress 4.1 - WordPress 6.6. 18 37 * PHP 5.6 - PHP 8.3. 19 38 * WordPress Coding Standards 3.1.0. -
wpvulnerability/trunk/languages/wpvulnerability.pot
r3031131 r3083161 3 3 msgstr "" 4 4 "Project-Id-Version: WPVulnerability\n" 5 "POT-Creation-Date: 2024-0 2-04 12:54+0100\n"5 "POT-Creation-Date: 2024-000\n" 6 6 "PO-Revision-Date: 2023-09-12 06:56+0200\n" 7 7 "Last-Translator: \n" … … 116 116 msgstr "" 117 117 118 #: wpvulnerability-admin.php:347 wpvulnerability-adminms.php:376 118 #: wpvulnerability-admin.php:347 wpvulnerability-admin.php:363 119 #: wpvulnerability-admin.php:380 wpvulnerability-adminms.php:376 120 #: wpvulnerability-adminms.php:392 wpvulnerability-adminms.php:409 119 121 #, php-format 120 122 msgid "%d vulnerability" … … 123 125 msgstr[1] "" 124 126 125 #: wpvulnerability-admin.php:350 wpvulnerability-adminms.php:379 127 #. translators: Show the number of vulnerabilities in a WP-Admin dashboard 128 #: wpvulnerability-admin.php:363 wpvulnerability-adminms.php:392 129 #, php-format 130 msgid "Apache %s: " 131 msgstr "" 132 133 #. translators: Show the number of vulnerabilities in a WP-Admin dashboard 134 #: wpvulnerability-admin.php:380 wpvulnerability-adminms.php:409 135 #, php-format 136 msgid "nginx %s: " 137 msgstr "" 138 139 #: wpvulnerability-admin.php:384 wpvulnerability-adminms.php:413 126 140 msgid "Vulnerability analysis of your WordPress installation:" 127 141 msgstr "" 128 142 129 #: wpvulnerability-admin.php: 382 wpvulnerability-adminms.php:411143 #: wpvulnerability-admin.php:1 130 144 msgid "More information? Visit" 131 145 msgstr "" 132 146 133 #: wpvulnerability-admin.php: 382 wpvulnerability-adminms.php:411147 #: wpvulnerability-admin.php:1 134 148 msgid "Site Health" 135 149 msgstr "" 136 150 137 #: wpvulnerability-admin.php: 395 wpvulnerability-adminms.php:424151 #: wpvulnerability-admin.php:4 138 152 msgid "WPVulnerability Status" 139 153 msgstr "" 140 154 141 #: wpvulnerability-admin.php:4 18 wpvulnerability-adminms.php:452155 #: wpvulnerability-admin.php:42 142 156 msgid "Receive notifications in your email" 143 157 msgstr "" 144 158 145 #: wpvulnerability-admin.php:4 26159 #: wpvulnerability-admin.php:46 146 160 msgid "Email addresses to notify (separated by commas)" 147 161 msgstr "" 148 162 149 #: wpvulnerability-admin.php:4 35 wpvulnerability-adminms.php:469163 #: wpvulnerability-admin.php:49 150 164 msgid "How often you want to receive notifications" 151 165 msgstr "" … … 159 173 msgstr "" 160 174 161 #: wpvulnerability-adminms.php: 460175 #: wpvulnerability-adminms.php:0 162 176 msgid "eMail addresses to notify (separated by commas)" 163 177 msgstr "" 164 178 165 #: wpvulnerability-cli.php:11 8 wpvulnerability-cli.php:320166 #: wpvulnerability-cli.php: 524 wpvulnerability-core.php:85167 #: wpvulnerability-plugins.php:10 9 wpvulnerability-process.php:80168 #: wpvulnerability-process.php:1 32 wpvulnerability-themes.php:110179 #: wpvulnerability-cli.php:11 180 #: wpvulnerability-cli.php: 181 #: wpvulnerability-plugins.php:10 182 #: wpvulnerability-process.php:1 169 183 msgid "Global score: " 170 184 msgstr "" 171 185 172 #: wpvulnerability-cli.php:1 27 wpvulnerability-cli.php:329173 #: wpvulnerability-cli.php: 533 wpvulnerability-core.php:88174 #: wpvulnerability-plugins.php:1 12 wpvulnerability-process.php:83175 #: wpvulnerability-process.php:1 35 wpvulnerability-themes.php:113186 #: wpvulnerability-cli.php:1 187 #: wpvulnerability-cli.php: 188 #: wpvulnerability-plugins.php:1 189 #: wpvulnerability-process.php:1 176 190 msgid "Severity: " 177 191 msgstr "" 178 192 179 #: wpvulnerability-cli.php:136 wpvulnerability-cli.php:338 180 #: wpvulnerability-cli.php:542 wpvulnerability-core.php:91 181 #: wpvulnerability-plugins.php:115 wpvulnerability-process.php:86 182 #: wpvulnerability-process.php:138 wpvulnerability-themes.php:116 183 msgid "Exploitability: " 184 msgstr "" 185 186 #: wpvulnerability-cli.php:242 wpvulnerability-plugins.php:92 187 #: wpvulnerability-process.php:63 193 #: wpvulnerability-cli.php:220 wpvulnerability-plugins.php:88 194 #: wpvulnerability-process.php:59 188 195 msgid "This plugin is closed. Please replace it with another." 189 196 msgstr "" 190 197 191 #: wpvulnerability-cli.php:2 53 wpvulnerability-plugins.php:95192 #: wpvulnerability-process.php:6 6198 #: wpvulnerability-cli.php:2 199 #: wpvulnerability-process.php:6 193 200 msgid "" 194 201 "This vulnerability appears to be unpatched. Stay tuned for upcoming plugin " … … 196 203 msgstr "" 197 204 198 #: wpvulnerability-cli.php:4 46 wpvulnerability-themes.php:93205 #: wpvulnerability-cli.php:4 199 206 msgid "This theme is closed. Please replace it with another." 200 207 msgstr "" 201 208 202 #: wpvulnerability-cli.php:457 wpvulnerability-cli.php:639 203 #: wpvulnerability-themes.php:96 209 #: wpvulnerability-cli.php:417 wpvulnerability-cli.php:585 210 #: wpvulnerability-cli.php:691 wpvulnerability-cli.php:798 211 #: wpvulnerability-themes.php:92 204 212 msgid "" 205 213 "This vulnerability appears to be unpatched. Stay tuned for upcoming theme " … … 215 223 216 224 #. translators: Severity: None 217 #: wpvulnerability-general.php: 159225 #: wpvulnerability-general.php: 218 226 msgid "None" 219 227 msgstr "" 220 228 221 229 #. translators: Severity: Low 222 #: wpvulnerability-general.php: 162230 #: wpvulnerability-general.php: 223 231 msgid "Low" 224 232 msgstr "" 225 233 226 234 #. translators: Severity: Medium 227 #: wpvulnerability-general.php: 165235 #: wpvulnerability-general.php: 228 236 msgid "Medium" 229 237 msgstr "" 230 238 231 239 #. translators: Severity: High 232 #: wpvulnerability-general.php: 168240 #: wpvulnerability-general.php: 233 241 msgid "High" 234 242 msgstr "" 235 243 236 244 #. translators: Severity: Critical 237 #: wpvulnerability-general.php: 171245 #: wpvulnerability-general.php: 238 246 msgid "Critical" 239 247 msgstr "" … … 255 263 msgstr "" 256 264 257 #: wpvulnerability-notifications.php:2 43265 #: wpvulnerability-notifications.php:2 258 266 msgid "There are no vulnerabilities" 259 267 msgstr "" 260 268 261 #: wpvulnerability-notifications.php:2 44269 #: wpvulnerability-notifications.php:2 262 270 msgid "" 263 271 "This is probably a test. The site probably does not have vulnerabilities." 264 272 msgstr "" 265 273 266 #: wpvulnerability-notifications.php:2 50274 #: wpvulnerability-notifications.php:2 267 275 msgid "Core vulnerabilities" 268 276 msgstr "" 269 277 270 #: wpvulnerability-notifications.php:2 56278 #: wpvulnerability-notifications.php:2 271 279 msgid "Plugins vulnerabilities" 272 280 msgstr "" 273 281 274 #: wpvulnerability-notifications.php:2 62282 #: wpvulnerability-notifications.php:2 275 283 msgid "Themes vulnerabilities" 276 284 msgstr "" 277 285 278 #: wpvulnerability-notifications.php:2 68286 #: wpvulnerability-notifications.php:2 279 287 msgid "PHP vulnerabilities" 280 288 msgstr "" 281 289 290 291 292 293 294 295 296 297 282 298 #. translators: Site name. 283 #: wpvulnerability-notifications.php: 289299 #: wpvulnerability-notifications.php: 284 300 #, php-format 285 301 msgid "Vulnerability found: %s" 286 302 msgstr "" 287 303 288 #: wpvulnerability-notifications.php: 293304 #: wpvulnerability-notifications.php: 289 305 msgid "Vulnerability found" 290 306 msgstr "" … … 297 313 msgstr "" 298 314 299 #: wpvulnerability-plugins.php:4 81315 #: wpvulnerability-plugins.php:4 300 316 msgid "It hasn't been updated in over a year." 301 317 msgstr "" 302 318 303 #: wpvulnerability-plugins.php:48 7319 #: wpvulnerability-plugins.php:48 304 320 msgid "It may no longer be available (closed?)." 305 321 msgstr "" … … 309 325 msgstr "" 310 326 311 #: wpvulnerability-process.php: 186327 #: wpvulnerability-process.php: 312 328 msgid "Plugin" 313 329 msgstr "" 314 330 315 #: wpvulnerability-process.php:2 20331 #: wpvulnerability-process.php:2 316 332 msgid "PHP running" 317 333 msgstr "" 318 334 319 #: wpvulnerability-process.php:293 335 #: wpvulnerability-process.php:276 336 msgid "Apache running" 337 msgstr "" 338 339 #: wpvulnerability-process.php:318 340 msgid "nginx running" 341 msgstr "" 342 343 #: wpvulnerability-process.php:392 320 344 msgid "Theme" 321 345 msgstr "" … … 335 359 #: wpvulnerability-sitehealth.php:26 wpvulnerability-sitehealth.php:87 336 360 #: wpvulnerability-sitehealth.php:148 wpvulnerability-sitehealth.php:208 361 337 362 msgid "Security" 338 363 msgstr "" … … 438 463 msgstr "" 439 464 440 #: wpvulnerability-sitehealth.php:259 465 #: wpvulnerability-sitehealth.php:257 466 msgid "There aren't Apache HTTPD vulnerabilities" 467 msgstr "" 468 469 #: wpvulnerability-sitehealth.php:265 470 msgid "Shows possible vulnerabilities existing in Apache HTTPD." 471 msgstr "" 472 473 #. translators: Site Health message 474 #: wpvulnerability-sitehealth.php:281 475 #, php-format 476 msgid "There is %d Apache HTTPD vulnerability" 477 msgid_plural "There are %d Apache HTTPD vulnerabilities" 478 msgstr[0] "" 479 msgstr[1] "" 480 481 #: wpvulnerability-sitehealth.php:285 482 msgid "" 483 "We've detected potential vulnerabilities in Apache HTTPD. Please check them " 484 "and keep your installation updated." 485 msgstr "" 486 487 #: wpvulnerability-sitehealth.php:304 488 msgid "There aren't nginx vulnerabilities" 489 msgstr "" 490 491 #: wpvulnerability-sitehealth.php:312 492 msgid "Shows possible vulnerabilities existing in nginx." 493 msgstr "" 494 495 #. translators: Site Health message 496 #: wpvulnerability-sitehealth.php:328 497 #, php-format 498 msgid "There is %d nginx vulnerability" 499 msgid_plural "There are %d nginx vulnerabilities" 500 msgstr[0] "" 501 msgstr[1] "" 502 503 #: wpvulnerability-sitehealth.php:332 504 msgid "" 505 "We've detected potential vulnerabilities in nginx. Please check them and " 506 "keep your installation updated." 507 msgstr "" 508 509 #: wpvulnerability-sitehealth.php:353 441 510 msgid "WPVulnerability Core" 442 511 msgstr "" 443 512 444 #: wpvulnerability-sitehealth.php: 265513 #: wpvulnerability-sitehealth.php: 445 514 msgid "WPVulnerability Themes" 446 515 msgstr "" 447 516 448 #: wpvulnerability-sitehealth.php: 271517 #: wpvulnerability-sitehealth.php: 449 518 msgid "WPVulnerability Plugins" 450 519 msgstr "" 451 520 452 #: wpvulnerability-sitehealth.php: 277521 #: wpvulnerability-sitehealth.php: 453 522 msgid "WPVulnerability PHP" 523 524 525 526 527 528 529 530 454 531 msgstr "" 455 532 … … 460 537 #. Description of the plugin/theme 461 538 msgid "" 462 " Check WordPress Core, Plugins, Themes, and PHP vulnerabilities with"463 " information from theWordPress Vulnerability Database API."539 " " 540 "WordPress Vulnerability Database API." 464 541 msgstr "" 465 542 -
wpvulnerability/trunk/readme.txt
r3083082 r3083161 3 3 Tags: security, vulnerability, site-health 4 4 Requires at least: 4.1 5 Tested up to: 6.6 -alpha6 Stable tag: 3. 1.25 Tested up to: 6.6 6 Stable tag: 3. 7 7 Requires PHP: 5.6 8 Version: 3. 1.29 License: EUPL-1.210 License URI: https:// www.eupl.eu/1.2/en/8 Version: 3. 9 License: 10 License URI: https:// 11 11 12 12 Receive information about possible vulnerabilities in your WordPress from [WordPress Vulnerability Database API](https://www.wpvulnerability.com/). … … 24 24 * Theme: Evaluates all your installed themes, including those from the official repository, external sources, or premium ones, for any security weaknesses. 25 25 * PHP: Analyzes your server's PHP version, detecting vulnerabilities specific to your PHP setup. This is crucial as outdated or unsupported PHP versions can significantly increase security risks. 26 27 26 28 27 29 = In-Depth Vulnerability Reporting = … … 50 52 * `wp wpvulnerability themes`: List Themes vulnerabilities. 51 53 * `wp wpvulnerability php`: List PHP vulnerabilities. 54 55 52 56 53 57 = Data reliability = … … 77 81 = What vulnerabilities will I find? = 78 82 79 Vulnerabilities in WordPress Core, Plugins, Themes, and PHPare documented.83 Vulnerabilities in WordPress Core, Plugins, Themes, are documented. 80 84 81 85 = What do I do if my site has a vulnerability? = … … 91 95 == Compatibility == 92 96 93 * WordPress 4.1 - WordPress 6.6 -alpha.97 * WordPress 4.1 - WordPress 6.6. 94 98 * PHP 5.6 - PHP 8.3. 95 99 * WordPress Coding Standards 3.1.0. … … 98 102 99 103 == Changelog == 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 100 119 101 120 = [3.1.2] - 2024-05-08 = … … 112 131 **Compatibility** 113 132 114 * WordPress 4.1 - WordPress 6.6 -alpha.133 * WordPress 4.1 - WordPress 6.6. 115 134 * PHP 5.6 - PHP 8.3. 116 135 * WordPress Coding Standards 3.1.0. … … 137 156 * Compatibility: WP-CLI 2.3.0 - WP-CLI 2.10.0. 138 157 139 = [3.1.0] - 2024-02-04=158 = = 140 159 141 **Added** 142 143 * A new column in the plugin list, with the last updated day (and diff). 144 * A notice if the plugin is closed in the WordPress.org repo. 145 146 **Fixed** 147 148 * Fixes the schedule in some cases. 149 * Fixes the PHP format (using always the n.n / n.n.n format). 150 151 **Compatibility** 152 153 * Compatibility: WordPress 4.1 - WordPress 6.5. 154 * Compatibility: PHP 5.6 - PHP 8.3. 155 * Compatibility: WordPress Coding Standards 3.0.1. 156 * Compatibility: WP-CLI 2.3.0 - WP-CLI 2.10.0. 160 If you want to see the full changelog, visit the [changelog.txt](https://plugins.trac.wordpress.org/browser/wpvulnerability/trunk/changelog.txt) file. 157 161 158 162 == Security == … … 172 176 == Vulnerabilities == 173 177 174 * No vulnerabilities have been published up to version 3. 1.2.178 * No vulnerabilities have been published up to version 3.. 175 179 176 180 Found a security vulnerability? Please report it to us privately at the [WPVulnerability GitHub repository](https://github.com/javiercasares/wpvulnerability/security/advisories/new). -
wpvulnerability/trunk/wpvulnerability-admin.php
r3083082 r3083161 347 347 $msg_php = sprintf( __( 'PHP %s: ', 'wpvulnerability' ), $wpvulnerability_test_php_version ) . sprintf( _n( '%d vulnerability', '%d vulnerabilities', $wpvulnerability_test_php_counter, 'wpvulnerability' ), $wpvulnerability_test_php_counter ); 348 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 349 383 // Show the widget. 350 384 echo esc_html( __( 'Vulnerability analysis of your WordPress installation:', 'wpvulnerability' ) ); … … 377 411 } else { 378 412 echo '<li>❌ <img src="' . esc_url( WPVULNERABILITY_PLUGIN_URL ) . 'assets/icon-php.svg" width="12" height="12" alt=""> ' . esc_html( (string) $msg_php ) . '</li>'; 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 379 429 } 380 430 -
wpvulnerability/trunk/wpvulnerability-adminms.php
r3083082 r3083161 376 376 $msg_php = sprintf( __( 'PHP %s: ', 'wpvulnerability' ), $wpvulnerability_test_php_version ) . sprintf( _n( '%d vulnerability', '%d vulnerabilities', $wpvulnerability_test_php_counter, 'wpvulnerability' ), $wpvulnerability_test_php_counter ); 377 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 378 412 // Show the widget. 379 413 echo esc_html( __( 'Vulnerability analysis of your WordPress installation:', 'wpvulnerability' ) ); … … 406 440 } else { 407 441 echo '<li>❌ <img src="' . esc_url( WPVULNERABILITY_PLUGIN_URL ) . 'assets/icon-php.svg" width="12" height="12" alt=""> ' . esc_html( (string) $msg_php ) . '</li>'; 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 408 458 } 409 459 -
wpvulnerability/trunk/wpvulnerability-cli.php
r3083082 r3083161 633 633 ); 634 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 635 849 } 636 850 } … … 668 882 wpvulnerability_cli_php(); 669 883 break; 884 885 886 887 888 889 670 890 default: 671 891 // Displays an error message for an invalid subcommand. 672 WP_CLI::error( "'$args[0]' is not a registered subcommand of 'wpvulnerability'.\nAvailable subcommands: core, plugins, themes, php " );892 WP_CLI::error( "'$args[0]' is not a registered subcommand of 'wpvulnerability'.\nAvailable subcommands: core, plugins, themes, php" ); 673 893 break; 674 894 } … … 697 917 'type' => 'positional', 698 918 'name' => 'subcommand', 699 'description' => 'subcommand [core|plugins|themes|php ].',919 'description' => 'subcommand [core|plugins|themes|php].', 700 920 'optional' => false, 701 921 ), 702 922 ), 703 923 'when' => 'after_wp_load', 704 'longdesc' => "EXAMPLES:\n\n - wp wpvulnerability core\n - wp wpvulnerability plugins\n - wp wpvulnerability themes\n - wp wpvulnerability php ",924 'longdesc' => "EXAMPLES:\n\n - wp wpvulnerability core\n - wp wpvulnerability plugins\n - wp wpvulnerability themes\n - wp wpvulnerability php", 705 925 ) 706 926 ); -
wpvulnerability/trunk/wpvulnerability-general.php
r3083082 r3083161 73 73 74 74 return $version; 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 75 203 } 76 204 … … 679 807 return $vulnerability; 680 808 } 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 -
wpvulnerability/trunk/wpvulnerability-notifications.php
r3034122 r3083161 230 230 } 231 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 232 246 // required by the "forced email" button. 233 247 if ( ! $forced ) { 234 248 235 249 // If no vulnerabilities were found, return. 236 if ( empty( $html_core ) && empty( $html_plugins ) && empty( $html_themes ) && empty( $html_php ) ) {250 if ( empty( $html_core ) && empty( $html_plugins ) && empty( $html_themes ) && empty( $html_php ) ) { 237 251 return; 238 252 } … … 240 254 241 255 // If no vulnerabilities were found, return. 242 if ( empty( $html_core ) && empty( $html_plugins ) && empty( $html_themes ) && empty( $html_php ) ) {256 if ( empty( $html_core ) && empty( $html_plugins ) && empty( $html_themes ) && empty( $html_php ) ) { 243 257 $email_content .= '<h2>' . esc_html__( 'There are no vulnerabilities', 'wpvulnerability' ) . '</h2>'; 244 258 $email_content .= '<p>' . esc_html__( 'This is probably a test. The site probably does not have vulnerabilities.', 'wpvulnerability' ); … … 268 282 $email_content .= '<h2>' . esc_html__( 'PHP vulnerabilities', 'wpvulnerability' ) . '</h2>'; 269 283 $email_content .= $html_php; 284 285 286 287 288 289 290 291 292 293 294 295 270 296 } 271 297 -
wpvulnerability/trunk/wpvulnerability-process.php
r3083082 r3083161 144 144 145 145 } 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 146 176 } 147 177 … … 218 248 } 219 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 220 333 221 334 /** -
wpvulnerability/trunk/wpvulnerability-run.php
r3034122 r3083161 82 82 if ( ! function_exists( 'wpvulnerability_php_get_vulnerabilities_clean' ) ) { 83 83 require_once WPVULNERABILITY_PLUGIN_PATH . '/wpvulnerability-php.php'; 84 85 86 87 88 89 84 90 } 85 91 // Update core vulnerabilities. … … 91 97 // Update PHP vulnerabilities. 92 98 wpvulnerability_php_get_vulnerabilities_clean(); 99 100 101 102 93 103 // Clean the WordPress cache. 94 104 wp_cache_flush(); … … 116 126 require_once WPVULNERABILITY_PLUGIN_PATH . '/wpvulnerability-php.php'; 117 127 } 128 129 130 131 132 133 118 134 119 135 $cache_time = time(); … … 133 149 wpvulnerability_php_get_vulnerabilities_clean(); 134 150 } 151 152 153 154 155 156 135 157 } elseif ( ! is_multisite() ) { 136 158 … … 146 168 if ( json_decode( get_option( 'wpvulnerability-php-cache' ) ) < $cache_time ) { 147 169 wpvulnerability_php_get_vulnerabilities_clean(); 170 171 172 173 174 175 148 176 } 149 177 } … … 260 288 if ( ! get_site_option( 'wpvulnerability-php-vulnerable' ) ) { 261 289 add_site_option( 'wpvulnerability-php-vulnerable', 0 ); 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 262 320 } 263 321 } elseif ( ! is_multisite() ) { … … 342 400 if ( ! get_option( 'wpvulnerability-php-vulnerable' ) ) { 343 401 add_option( 'wpvulnerability-php-vulnerable', 0 ); 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 344 432 } 345 433 } … … 375 463 delete_site_option( 'wpvulnerability-php-cache' ); 376 464 delete_site_option( 'wpvulnerability-php-vulnerable' ); 465 466 467 468 469 470 377 471 378 472 } elseif ( ! is_multisite() ) { … … 394 488 delete_option( 'wpvulnerability-php-cache' ); 395 489 delete_option( 'wpvulnerability-php-vulnerable' ); 490 491 492 493 494 495 396 496 397 497 } … … 440 540 delete_option( 'wpvulnerability-php-cache' ); 441 541 delete_option( 'wpvulnerability-php-vulnerable' ); 542 543 544 545 546 547 442 548 443 549 /** … … 461 567 delete_site_option( 'wpvulnerability-php-cache' ); 462 568 delete_site_option( 'wpvulnerability-php-vulnerable' ); 569 570 571 572 573 574 463 575 464 576 /** -
wpvulnerability/trunk/wpvulnerability-sitehealth.php
r3034122 r3083161 245 245 246 246 /** 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 247 341 * Adds vulnerability tests to Health Check & Troubleshooting page. 248 342 * … … 279 373 ); 280 374 375 376 377 378 379 380 381 382 383 384 385 386 281 387 return $tests; 282 388 } -
wpvulnerability/trunk/wpvulnerability.php
r3083082 r3083161 6 6 * Requires at least: 4.1 7 7 * Requires PHP: 5.6 8 * Version: 3. 1.28 * Version: 3. 9 9 * Author: Javier Casares 10 10 * Author URI: https://www.javiercasares.com/ 11 * License: EUPL-1.212 * License URI: https:// www.eupl.eu/1.2/en/11 * License: 12 * License URI: https:// 13 13 * Text Domain: wpvulnerability 14 14 * Domain Path: /languages … … 24 24 * Set some constants that I can change in future verions 25 25 */ 26 define( 'WPVULNERABILITY_PLUGIN_VERSION', '3. 1.1' );26 define( 'WPVULNERABILITY_PLUGIN_VERSION', '3.' ); 27 27 define( 'WPVULNERABILITY_API_HOST', 'https://www.wpvulnerability.net/' ); 28 28 define( 'WPVULNERABILITY_CACHE_HOURS', 12 ); … … 78 78 require_once WPVULNERABILITY_PLUGIN_PATH . '/wpvulnerability-themes.php'; 79 79 require_once WPVULNERABILITY_PLUGIN_PATH . '/wpvulnerability-php.php'; 80 81 80 82 81 83 /*
Note: See TracChangeset
for help on using the changeset viewer.