Changeset 844918
- Timestamp:
- 01/25/2014 01:08:04 AM (12 years ago)
- Location:
- auto-sticky-post
- Files:
-
- 13 added
- 1 deleted
- 3 edited
-
tags/1.1.1 (deleted)
-
tags/1.1.2 (added)
-
tags/1.1.2/auto-sticky-post.php (added)
-
tags/1.1.2/inc (added)
-
tags/1.1.2/inc/admin (added)
-
tags/1.1.2/inc/admin/admin.php (added)
-
tags/1.1.2/inc/admin/options.php (added)
-
tags/1.1.2/inc/functions.php (added)
-
tags/1.1.2/index.html (added)
-
tags/1.1.2/languages (added)
-
tags/1.1.2/languages/stickyposts-fr_FR.mo (added)
-
tags/1.1.2/languages/stickyposts-fr_FR.po (added)
-
tags/1.1.2/license.txt (added)
-
tags/1.1.2/readme.txt (added)
-
trunk/auto-sticky-post.php (modified) (2 diffs)
-
trunk/inc/functions.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
auto-sticky-post/trunk/auto-sticky-post.php
r844234 r844918 2 2 /* 3 3 Plugin Name: Auto Sticky Post 4 Version: 1.1. 14 Version: 1.1.2 5 5 Plugin URI: http://www.lije-creative.com/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=stickyplugin 6 6 Description: Automatically stick the last 'n' post to the homepage … … 31 31 32 32 // Defines 33 define( 'jlasp_VERSION' , '1.1. 1');33 define( 'jlasp_VERSION' , '1.1.2'); 34 34 define( 'jlasp_FILE' , __FILE__ ); 35 35 define( 'jlasp_PATH' , realpath( plugin_dir_path( jlasp_FILE ) ). '/' ); -
auto-sticky-post/trunk/inc/functions.php
r844234 r844918 16 16 } 17 17 update_option( 'sticky_posts', $new_sticky); 18 19 return true; 18 20 } 19 21 … … 30 32 31 33 function jlasp_update_post_visibility() { 32 if( $number_post = (int)get_option( 'jlasp_number_post' ) > 0 ) 33 { 34 jlasp_set_featured_post( $number_post ); 34 if( (int)get_option( 'jlasp_number_post' ) > 0 ) { 35 jlasp_set_featured_post( (int)get_option( 'jlasp_number_post' ) ); 35 36 } 36 37 } -
auto-sticky-post/trunk/readme.txt
r844240 r844918 32 32 == Changelog == 33 33 34 = Auto Sticky Post. 1.1.2 = 35 * Bugfixes 36 34 37 = Auto Sticky Post. 1.1.1 = 35 38 * Security updates and Bugfixes thanks to [Julio Potier](http://profiles.wordpress.org/juliobox/)
Note: See TracChangeset
for help on using the changeset viewer.