Plugin Directory

Changeset 877118

Timestamp:
03/18/2014 12:28:18 PM (10 years ago)
Author:
eoigal
Message:

fix bug - get_page_url method is in Akismet_Admin class

Location:
akismet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/class.akismet-admin.php

    r876693 r877118  
    518518    public static function plugin_action_links( $links, $file ) {
    519519        if ( $file == plugin_basename( AKISMET__PLUGIN_URL . '/akismet.php' ) ) {
    520             $links[] = '<a href="' . esc_url( Akismet::get_page_url() ) . '">'.esc_html__( 'Settings' ).'</a>';
     520            $links[] = '<a href="' . esc_url( ::get_page_url() ) . '">'.esc_html__( 'Settings' ).'</a>';
    521521        }
    522522
  • akismet/trunk/views/notice.php

    r875752 r877118  
    1717</div>
    1818<?php elseif ( $type == 'spam-check' ) :?>
    19 <div id="akismet-warning" class="updated fade"><p><strong><?php esc_html_e('Akismet has detected a problem.');?></strong> <?php printf( __('Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation. Please check your <a href="%s">Akismet configuration</a> and contact your web host if problems persist.'), esc_url( Akismet::get_page_url() ) );?></p></div>
     19<div id="akismet-warning" class="updated fade"><p><strong><?php esc_html_e('Akismet has detected a problem.');?></strong> <?php printf( __('Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation. Please check your <a href="%s">Akismet configuration</a> and contact your web host if problems persist.'), esc_url( Akismet::get_page_url() ) );?></p></div>
    2020<?php elseif ( $type == 'version' ) :?>
    2121<div id="akismet-warning" class="updated fade"><p><strong><?php printf( esc_html__('Akismet %s requires WordPress 3.0 or higher.'), AKISMET_VERSION);?></strong> <?php printf(__('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>.'), 'https://codex.wordpress.org/Upgrading_WordPress', 'https://wordpress.org/extend/plugins/akismet/download/');?></p></div>
Note: See TracChangeset for help on using the changeset viewer.