Plugin Directory

Changeset 632668


Ignore:
Timestamp:
12/01/2012 12:26:56 PM (13 years ago)
Author:
mlazarov
Message:

Fixing nofollow option bug in form

Location:
plugins/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • plugins/trunk/plugins.php

    r632656 r632668  
    55Plugin URI: http://marto.lazarov.org/plugins/plugins
    66Description: List wordpress contributor plugins and their stats
    7 Version: 2.1.0
     7Version: 2.1.1
    88Author: mlazarov
    99Author URI: http://marto.lazarov.org/
     
    2626            $instance['title'] = strip_tags($new_instance['title']);
    2727            $instance['author'] = strip_tags($new_instance['author']);
     28            $instance['nofollow'] = strip_tags($new_instance['nofollow']);
    2829            $instance['updated'] = 0;
    2930            return $instance;
     
    5051            <p>
    5152                <label for="<?php echo $this->get_field_id('nofollow'); ?>">
    52                 Add rel="nofollow":
    53                 <input class="widefat" id="<?php echo $this->get_field_id('nofollow'); ?>" name="<?php echo $this->get_field_name('nofollow'); ?>" type="checkbox" <?php if($nofollow){echo 'checked="checked"';};?> />
     53                <input id="<?php echo $this->get_field_id('nofollow'); ?>" name="<?php echo $this->get_field_name('nofollow'); ?>" type="checkbox" <?php if($nofollow){echo 'checked="checked"';};?> value="1"/>
     54                 rel="nofollow" for wordpress.org links
    5455                </label>
    5556            </p>
  • plugins/trunk/readme.txt

    r632657 r632668  
    33Requires at least: 2.4
    44Tested up to: 3.4.2
    5 Stable tag: 2.1.0
     5Stable tag: 2.1.1
    66Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=D96ZZLGAV8X8J
    77Contributors: mlazarov
     
    2727== Changelog ==
    2828
     29= 2.1.1 =
     30* Fixed rel="nofollow" option position & bug in form
     31
    2932= 2.1.0 =
    3033* Added rel="nofollow" option
Note: See TracChangeset for help on using the changeset viewer.