'strike' => array
(),
'strong' => array
(),
);
public static function init() { if ( ! self::
$initiated ) { self::
init_hooks();
} if ( isset( $_POST['action'
] ) &&
$_POST['action'
] == 'enter-key'
) { self::
enter_api_key();
} } public static function init_hooks() { // The standalone stats page was removed in 3.0 for an all-in-one config and stats page.
// Redirect any links that might have been bookmarked or in browser history.
if ( isset( $_GET['page'
] ) && 'akismet-stats-display' ==
$_GET['page'
] ) { wp_safe_redirect( esc_url_raw( self::
get_page_url( 'stats'
) ), 301
);
die;
}