Changeset 36982

Show
Ignore:
Timestamp:
03/31/08 02:38:46 (3 months ago)
Author:
alexkingorg
Message:

added compatibility with 2.5

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 404-notifier/trunk/404-notifier.php

    r34049 r36982  
    343343add_action('init', 'ak404_init'); 
    344344 
     345function ak404_admin_head() { 
     346      global $wp_version; 
     347      if (isset($wp_version) && version_compare($wp_version, '2.5', '>=')) { 
     348            print(' 
     349<style type="text/css"> 
     350fieldset.options { 
     351      border: 0; 
     352      padding: 10px; 
     353} 
     354fieldset.options p { 
     355      margin-bottom: 10px; 
     356} 
     357</style> 
     358            '); 
     359      } 
     360} 
     361add_action('admin_head', 'ak404_admin_head'); 
     362 
    345363?> 
  • 404-notifier/trunk/README.txt

    r19870 r36982  
    44Requires at least: 1.5 
    55Tested up to: 2.3 
    6 Stable tag: 1.1 
     6Stable tag: 1.2 
    77 
    88Log 404 (file not found) errors on your site and get them delivered to you via e-mail or RSS. 
     
    1010== Description == 
    1111 
    12 If you've decided to move things around on your site (like I did recently), you might overlook a few redirects and end up with some broken URLs. This will help you catch those so you can take care of them. 
     12If you've decided to move things around on your site, you might overlook a few redirects and end up with some broken URLs. This will help you catch those so you can take care of them. 
    1313 
    1414== Installation ==