Plugin Directory

Changeset 844918


Ignore:
Timestamp:
01/25/2014 01:08:04 AM (12 years ago)
Author:
LIJE
Message:

Bugfixes

Location:
auto-sticky-post
Files:
13 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • auto-sticky-post/trunk/auto-sticky-post.php

    r844234 r844918  
    22/*
    33Plugin Name: Auto Sticky Post
    4 Version: 1.1.1
     4Version: 1.1.2
    55Plugin URI: http://www.lije-creative.com/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=stickyplugin
    66Description: Automatically stick the last 'n' post to the homepage
     
    3131
    3232// Defines
    33 define( 'jlasp_VERSION'     , '1.1.1');
     33define( 'jlasp_VERSION'     , '1.1.2');
    3434define( 'jlasp_FILE'        , __FILE__ );
    3535define( 'jlasp_PATH'        , realpath( plugin_dir_path( jlasp_FILE ) ). '/' );
  • auto-sticky-post/trunk/inc/functions.php

    r844234 r844918  
    1616    }
    1717    update_option( 'sticky_posts', $new_sticky);
     18   
     19    return true;
    1820}
    1921
     
    3032
    3133function 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' ) );
    3536    }
    3637}
  • auto-sticky-post/trunk/readme.txt

    r844240 r844918  
    3232== Changelog ==
    3333
     34= Auto Sticky Post. 1.1.2 =
     35* Bugfixes
     36
    3437= Auto Sticky Post. 1.1.1 =
    3538* Security updates and Bugfixes thanks to [Julio Potier](http://profiles.wordpress.org/juliobox/)
Note: See TracChangeset for help on using the changeset viewer.