Changeset 878796
- Timestamp:
- 03/20/2014 02:38:44 PM (12 years ago)
- Location:
- akismet/trunk
- Files:
-
- 2 edited
-
class.akismet-widget.php (modified) (1 diff)
-
class.akismet.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/class.akismet-widget.php
r878668 r878796 6 6 7 7 function __construct() { 8 load_ theme_textdomain( 'akismet' );8 load_plugin_textdomain( 'akismet' ); 9 9 10 10 parent::__construct( -
akismet/trunk/class.akismet.php
r878668 r878796 192 192 && self::$last_comment['comment_author_email'] == $comment->comment_author_email ) { 193 193 194 load_ theme_textdomain( 'akismet' );194 load_plugin_textdomain( 'akismet' ); 195 195 196 196 // normal result: true or false … … 364 364 $comment_errors = $wpdb->get_col( "SELECT comment_id FROM {$wpdb->commentmeta} WHERE meta_key = 'akismet_error' LIMIT 100" ); 365 365 366 load_ theme_textdomain( 'akismet' );366 load_plugin_textdomain( 'akismet' ); 367 367 368 368 foreach ( (array) $comment_errors as $comment_id ) { … … 660 660 } 661 661 662 load_ theme_textdomain( 'akismet' );662 load_plugin_textdomain( 'akismet' ); 663 663 664 664 $file = AKISMET__PLUGIN_DIR . 'views/'. $name . '.php'; … … 673 673 public static function plugin_activation() { 674 674 if ( version_compare( $GLOBALS['wp_version'], AKISMET__MINIMUM_WP_VERSION, '<' ) ) { 675 load_ theme_textdomain( 'akismet' );675 load_plugin_textdomain( 'akismet' ); 676 676 677 677 $message = '<strong>'.sprintf(esc_html__( 'Akismet %s requires WordPress %s or higher.' , 'akismet'), AKISMET_VERSION, AKISMET__MINIMUM_WP_VERSION ).'</strong> '.sprintf(__('Please <a href="%1$s">upgrade WordPress</a> to a current version, or <a href="%2$s">downgrade to version 2.4 of the Akismet plugin</a>.', 'akismet'), 'http://codex.wordpress.org/Upgrading_WordPress', 'http://wordpress.org/extend/plugins/akismet/download/');
Note: See TracChangeset
for help on using the changeset viewer.