WordPress.org

Plugin Directory

Ticket #1542: akismet.diff

File akismet.diff, 2.1 KB (added by josephscott, 22 months ago)
  • admin.php

     
    5555 
    5656function akismet_plugin_action_links( $links, $file ) { 
    5757        if ( $file == plugin_basename( dirname(__FILE__).'/akismet.php' ) ) { 
    58                 $links[] = '<a href="admin.php?page=akismet-key-config">'.__('Settings').'</a>'; 
     58                $links[] = '<a href="' . admin_url( 'admin.php?page=akismet-key-config' ) . '">'.__( 'Settings' ).'</a>'; 
    5959        } 
    6060 
    6161        return $links; 
     
    829829                add_submenu_page('plugins.php', __('Akismet Configuration'), __('Akismet Configuration'), 'manage_options', 'akismet-key-config', 'akismet_conf'); 
    830830                add_submenu_page('index.php', __('Akismet Stats'), __('Akismet Stats'), 'manage_options', 'akismet-stats-display', 'akismet_stats_display'); 
    831831        } 
    832 } 
    833  No newline at end of file 
     832} 
  • akismet.php

     
    55/* 
    66Plugin Name: Akismet 
    77Plugin URI: http://akismet.com/?return=true 
    8 Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/?return=true">Sign up for an Akismet API key</a>, and 3) Go to your <a href="admin.php?page=akismet-key-config">Akismet configuration</a> page, and save your API key. 
     8Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/?return=true">Sign up for an Akismet API key</a>, and 3) Go to your Akismet configuration page, and save your API key. 
    99Version: 2.5.6 
    1010Author: Automattic 
    1111Author URI: http://automattic.com/wordpress-plugins/