WordPress.org

Plugin Directory

Changeset 535239


Ignore:
Timestamp:
04/23/12 23:29:41 (2 years ago)
Author:
josephscott
Message:

The "New" widget is now the regular widget

File:
1 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/widget.php

    r532382 r535239  
    33 * @package Akismet 
    44 */ 
    5 class Akismet_New_Widget extends WP_Widget { 
     5class Akismet_Widget extends WP_Widget { 
    66 
    77    function __construct() { 
    88        parent::__construct( 
    9             'akismet_new_widget', 
    10             __( 'Akismet New Widget' ), 
     9            'akismet_widget', 
     10            __( 'Akismet Widget' ), 
    1111            array( 'description' => __( 'Display the number of spam comments Akismet has caught' ) ) 
    1212        ); 
     
    103103 
    104104function akismet_register_widgets() { 
    105     register_widget( 'Akismet_New_Widget' ); 
     105    register_widget( 'Akismet_Widget' ); 
    106106} 
    107107 
Note: See TracChangeset for help on using the changeset viewer.