Changeset 36991

Show
Ignore:
Timestamp:
03/31/08 03:46:14 (4 months ago)
Author:
alexkingorg
Message:

2.5 compatibility

Location:
comment-license/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • comment-license/trunk/README.txt

    r19881 r36991  
    33Contributors: alexkingorg 
    44Requires at least: 1.5 
    5 Tested up to: 2.3 
    6 Stable tag: 1.1 
     5Tested up to: 2.5 
     6Stable tag: 1.2 
    77 
    88Add license terms to your comment form. 
  • comment-license/trunk/comment-license.php

    r19900 r36991  
    2121Author: Alex King 
    2222Author URI: http://alexking.org 
    23 Version: 1.1 
     23Version: 1.2 
    2424*/  
    2525 
     
    9595#ak_readme { 
    9696      height: 300px; 
     97      margin-top: 10px; 
    9798      width: 95%; 
    9899} 
     100      '); 
     101      global $wp_version; 
     102      if (isset($wp_version) && version_compare($wp_version, '2.5', '>=')) { 
     103            print(' 
     104fieldset.options { 
     105      border: 0; 
     106      padding: 10px; 
     107} 
     108fieldset.options p { 
     109      margin-bottom: 10px; 
     110} 
     111            '); 
     112      } 
     113      print(' 
    99114</style> 
    100115      ');