Changeset 832534
- Timestamp:
- 01/03/2014 10:20:06 PM (12 years ago)
- Location:
- wp-favorite-posts/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-favorite-posts.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-favorite-posts/trunk/readme.txt
r832531 r832534 6 6 Requires at least: 3.5 7 7 Tested up to: 3.8 8 Stable tag: 1.5. 8.48 Stable tag: 1.5.9 9 9 10 10 Allows visitors to add favorite posts. This plugin use cookies for saving data so … … 53 53 == Changelog == 54 54 55 = 1.5.9 (2014-01-03) = 56 * Version bump 57 * Added isset checks 58 55 59 = 1.5.8.4 (2014-01-03) = 56 60 * Replace deprecated functions -
wp-favorite-posts/trunk/wp-favorite-posts.php
r832531 r832534 4 4 Plugin URI: http://nxsn.com/my-projects/wp-favorite-posts-plugin/ 5 5 Description: Allows users to add favorite posts. This plugin use cookies for saving data so unregistered users can favorite a post. Put <code><?php wpfp_link(); ?></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.46 Version: 1.5.9 7 7 Author: Huseyin Berberoglu 8 8 Author URI: http://nxsn.com … … 85 85 if (wpfp_get_option('statics')) wpfp_update_post_meta($post_id, -1); 86 86 if (wpfp_get_option('removed') == 'show add link') { 87 if ( $_REQUEST['page']==1):87 if ( isset($_REQUEST['page']) && $_REQUEST['page'] == 1 ): 88 88 $str = ''; 89 89 else: … … 414 414 415 415 function wpfp_is_user_can_edit() { 416 if ( $_REQUEST['user'])416 if (isset($_REQUEST['user']) && $_REQUEST['user']) 417 417 return false; 418 418 return true;
Note: See TracChangeset
for help on using the changeset viewer.