Plugin Directory

Changeset 832534


Ignore:
Timestamp:
01/03/2014 10:20:06 PM (12 years ago)
Author:
hberberoglu
Message:

version bump

Location:
wp-favorite-posts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wp-favorite-posts/trunk/readme.txt

    r832531 r832534  
    66Requires at least: 3.5
    77Tested up to: 3.8
    8 Stable tag: 1.5.8.4
     8Stable tag: 1.5.9
    99
    1010Allows visitors to add favorite posts. This plugin use cookies for saving data so
     
    5353== Changelog ==
    5454
     55= 1.5.9 (2014-01-03) =
     56* Version bump
     57* Added isset checks
     58
    5559= 1.5.8.4 (2014-01-03) =
    5660* Replace deprecated functions
  • wp-favorite-posts/trunk/wp-favorite-posts.php

    r832531 r832534  
    44Plugin URI: http://nxsn.com/my-projects/wp-favorite-posts-plugin/
    55Description: Allows users to add favorite posts. This plugin use cookies for saving data so unregistered users can favorite a post. Put <code>&lt;?php wpfp_link(); ?&gt;</code> where ever you want on a single post. Then create a page which includes that text : <code>[wp-favorite-posts]</code> That's it!
    6 Version: 1.5.8.4
     6Version: 1.5.9
    77Author: Huseyin Berberoglu
    88Author URI: http://nxsn.com
     
    8585        if (wpfp_get_option('statics')) wpfp_update_post_meta($post_id, -1);
    8686        if (wpfp_get_option('removed') == 'show add link') {
    87             if ($_REQUEST['page']==1):
     87            if ( isset($_REQUEST['page']) && $_REQUEST['page'] == 1 ):
    8888                $str = '';
    8989            else:
     
    414414
    415415function wpfp_is_user_can_edit() {
    416     if ($_REQUEST['user'])
     416    if (isset($_REQUEST['user']) && $_REQUEST['user'])
    417417        return false;
    418418    return true;
Note: See TracChangeset for help on using the changeset viewer.