Changeset 2753903
- Timestamp:
- 07/08/2022 08:48:46 PM (2 years ago)
- Location:
- akismet/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/akismet.php
r2753902 r2753903 7 7 Plugin URI: https://akismet.com/ 8 8 Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. 9 Version: 4.2.5a 19 Version: 4.2.5a 10 10 Author: Automattic 11 11 Author URI: https://automattic.com/wordpress-plugins/ … … 38 38 } 39 39 40 define( 'AKISMET_VERSION', '4.2.5a 1' );40 define( 'AKISMET_VERSION', '4.2.5a' ); 41 41 define( 'AKISMET__MINIMUM_WP_VERSION', '5.0' ); 42 42 define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
akismet/trunk/class.akismet-admin.php
r2724833 r2753903 924 924 925 925 if ( wp_next_scheduled('akismet_schedule_cron_recheck') > time() && self::are_any_comments_waiting_to_be_checked() ) { 926 $link_text = apply_filters( 'akismet_spam_check_warning_link_text', sprintf( __( 'Please check your <a href="%s">Akismet configuration</a> and contact your web host if problems persist.', 'akismet'), esc_url( self::get_page_url() ) ) ); 927 Akismet::view( 'notice', array( 'type' => 'spam-check', 'link_text' => $link_text ) ); 926 /* 927 * The 'akismet_display_cron_disabled_notice' filter can be used to control whether the WP-Cron disabled notice is displayed. 928 */ 929 if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON && apply_filters( 'akismet_display_cron_disabled_notice', true ) ) { 930 Akismet::view( 'notice', array( 'type' => 'spam-check-cron-disabled' ) ); 931 } else { 932 /* translators: The Akismet configuration page URL. */ 933 $link_text = apply_filters( 'akismet_spam_check_warning_link_text', sprintf( __( 'Please check your <a href="%s">Akismet configuration</a> and contact your web host if problems persist.', 'akismet' ), esc_url( self::get_page_url() ) ) ); 934 Akismet::view( 'notice', array( 'type' => 'spam-check', 'link_text' => $link_text ) ); 935 } 928 936 } 929 937 } … … 1078 1086 $notices[] = array( 'type' => 'limit-reached', 'level' => 'red' ); 1079 1087 $notices[] = array( 'type' => 'usage-limit', 'api_calls' => '15000', 'usage_limit' => '10000', 'upgrade_plan' => 'Enterprise', 'upgrade_url' => 'https://akismet.com/account/' ); 1088 1080 1089 */ 1081 1090 -
akismet/trunk/readme.txt
r2753902 r2753903 35 35 36 36 * Fix a bug that added unnecessary comment history entries after comment rechecks. 37 37 38 38 39 = 4.2.4 = -
akismet/trunk/views/notice.php
r2606384 r2753903 26 26 <p><?php echo $link_text; ?></p> 27 27 <?php } ?> 28 29 30 31 32 28 33 </div> 29 34 <?php elseif ( $type == 'alert' ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.