Changeset 849451
- Timestamp:
- 02/01/2014 04:05:55 PM (12 years ago)
- Location:
- wp-favorite-posts/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
wp-favorite-posts.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-favorite-posts/trunk/readme.txt
r834497 r849451 6 6 Requires at least: 3.5 7 7 Tested up to: 3.8 8 Stable tag: 1.6. 08 Stable tag: 1.6.1 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.6.1 (2014-02-01) = 56 * Fixed: not loggedin user were able to add favorite even if "only registered users can favorite" option true. 57 55 58 = 1.5.9.1 (2014-01-07) = 56 59 * Fix php warnings and deprecated thing. -
wp-favorite-posts/trunk/wp-favorite-posts.php
r834497 r849451 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.6. 06 Version: 1.6.1 7 7 Author: Huseyin Berberoglu 8 8 Author URI: http://nxsn.com … … 57 57 function wpfp_add_favorite($post_id = "") { 58 58 if ( empty($post_id) ) $post_id = $_REQUEST['postid']; 59 if (wpfp_get_option('opt_only_registered') && !is_user_logged_in() ) 59 if (wpfp_get_option('opt_only_registered') && !is_user_logged_in() ) { 60 60 wpfp_die_or_go(wpfp_get_option('text_only_registered') ); 61 return false; 62 } 61 63 62 64 if (wpfp_do_add_to_list($post_id)) {
Note: See TracChangeset
for help on using the changeset viewer.