Changeset 1257973
- Timestamp:
- 10/02/2015 06:46:35 AM (11 years ago)
- Location:
- nelio-featured-posts
- Files:
-
- 3 edited
- 14 copied
-
tags/2.1.0 (copied) (copied from nelio-featured-posts/trunk)
-
tags/2.1.0/assets (copied) (copied from nelio-featured-posts/trunk/assets)
-
tags/2.1.0/assets/style.css (copied) (copied from nelio-featured-posts/trunk/assets/style.css)
-
tags/2.1.0/assets/style.min.css (copied) (copied from nelio-featured-posts/trunk/assets/style.min.css)
-
tags/2.1.0/includes (copied) (copied from nelio-featured-posts/trunk/includes)
-
tags/2.1.0/includes/admin/nelioab-campaign.php (copied) (copied from nelio-featured-posts/trunk/includes/admin/nelioab-campaign.php)
-
tags/2.1.0/includes/admin/settings-page.php (copied) (copied from nelio-featured-posts/trunk/includes/admin/settings-page.php)
-
tags/2.1.0/includes/featured-post-template.php (copied) (copied from nelio-featured-posts/trunk/includes/featured-post-template.php)
-
tags/2.1.0/includes/settings.php (copied) (copied from nelio-featured-posts/trunk/includes/settings.php) (1 diff)
-
tags/2.1.0/includes/utils.php (copied) (copied from nelio-featured-posts/trunk/includes/utils.php)
-
tags/2.1.0/includes/widget.php (copied) (copied from nelio-featured-posts/trunk/includes/widget.php)
-
tags/2.1.0/main.php (copied) (copied from nelio-featured-posts/trunk/main.php) (2 diffs)
-
tags/2.1.0/readme.txt (copied) (copied from nelio-featured-posts/trunk/readme.txt) (3 diffs)
-
tags/2.1.0/template-examples (copied) (copied from nelio-featured-posts/trunk/template-examples)
-
trunk/includes/settings.php (modified) (1 diff)
-
trunk/main.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nelio-featured-posts/tags/2.1.0/includes/settings.php
r998443 r1257973 25 25 public static function get_list_of_feat_posts() { 26 26 $settings = NelioFPSettings::get_settings(); 27 if ( isset( $settings['list_of_feat_posts'] ) ) 28 return $settings['list_of_feat_posts']; 29 return array(); 27 $featured_posts = array(); 28 if ( isset( $settings['list_of_feat_posts'] ) ) { 29 $featured_posts = $settings['list_of_feat_posts']; 30 } 31 32 if ( ! is_admin() ) { 33 /** 34 * Filters the list of featured posts. 35 * 36 * @since 2.1.0 37 * 38 * @param array $featured_posts The list of featured posts. 39 */ 40 $featured_posts = apply_filters( 'neliofp_get_featured_posts', $featured_posts ); 41 } 42 43 return $featured_posts; 30 44 } 31 45 -
nelio-featured-posts/tags/2.1.0/main.php
r1027198 r1257973 20 20 * Plugin Name: Nelio Featured Posts 21 21 * Description: Select the featured posts you want to show at any time and include them in your theme using a widget. 22 * Version: 2. 0.022 * Version: 2.1.0 23 23 * Author: Nelio Software 24 24 * Plugin URI: http://neliosoftware.com … … 29 29 // PLUGIN INFORMATION 30 30 // ========================================================================== 31 define( 'NELIOFP_PLUGIN_VERSION', '2. 0.0' );31 define( 'NELIOFP_PLUGIN_VERSION', '2.1.0' ); 32 32 define( 'NELIOFP_PLUGIN_NAME', 'Nelio Featured Posts' ); 33 33 define( 'NELIOFP_PLUGIN_DIR_NAME', basename( dirname( __FILE__ ) ) ); -
nelio-featured-posts/tags/2.1.0/readme.txt
r1142139 r1257973 4 4 Requires at least: 3.3 5 5 Tested up to: 4.2 6 Stable tag: 2. 0.06 Stable tag: 2.1.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 77 77 == Changelog == 78 78 79 = 2.1.0 = 80 * New filter for selecting which posts are shown in the widget. The filter 81 `neliofp_get_featured_posts` lets you select which posts will be shown on 82 the front-end. 83 84 79 85 = 2.0.0 = 80 86 * Use custom templates (on a per-widget basis) for rendering featured posts. … … 107 113 == Upgrade Notice == 108 114 109 = 2. 0.0 =110 Use custom templates (on a per-widget basis) for rendering featured posts.115 = 2.1.0 = 116 New filter for selecting which posts are shown in the widget. 111 117 -
nelio-featured-posts/trunk/includes/settings.php
r998443 r1257973 25 25 public static function get_list_of_feat_posts() { 26 26 $settings = NelioFPSettings::get_settings(); 27 if ( isset( $settings['list_of_feat_posts'] ) ) 28 return $settings['list_of_feat_posts']; 29 return array(); 27 $featured_posts = array(); 28 if ( isset( $settings['list_of_feat_posts'] ) ) { 29 $featured_posts = $settings['list_of_feat_posts']; 30 } 31 32 if ( ! is_admin() ) { 33 /** 34 * Filters the list of featured posts. 35 * 36 * @since 2.1.0 37 * 38 * @param array $featured_posts The list of featured posts. 39 */ 40 $featured_posts = apply_filters( 'neliofp_get_featured_posts', $featured_posts ); 41 } 42 43 return $featured_posts; 30 44 } 31 45 -
nelio-featured-posts/trunk/main.php
r1027198 r1257973 20 20 * Plugin Name: Nelio Featured Posts 21 21 * Description: Select the featured posts you want to show at any time and include them in your theme using a widget. 22 * Version: 2. 0.022 * Version: 2.1.0 23 23 * Author: Nelio Software 24 24 * Plugin URI: http://neliosoftware.com … … 29 29 // PLUGIN INFORMATION 30 30 // ========================================================================== 31 define( 'NELIOFP_PLUGIN_VERSION', '2. 0.0' );31 define( 'NELIOFP_PLUGIN_VERSION', '2.1.0' ); 32 32 define( 'NELIOFP_PLUGIN_NAME', 'Nelio Featured Posts' ); 33 33 define( 'NELIOFP_PLUGIN_DIR_NAME', basename( dirname( __FILE__ ) ) ); -
nelio-featured-posts/trunk/readme.txt
r1142139 r1257973 4 4 Requires at least: 3.3 5 5 Tested up to: 4.2 6 Stable tag: 2. 0.06 Stable tag: 2.1.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 77 77 == Changelog == 78 78 79 = 2.1.0 = 80 * New filter for selecting which posts are shown in the widget. The filter 81 `neliofp_get_featured_posts` lets you select which posts will be shown on 82 the front-end. 83 84 79 85 = 2.0.0 = 80 86 * Use custom templates (on a per-widget basis) for rendering featured posts. … … 107 113 == Upgrade Notice == 108 114 109 = 2. 0.0 =110 Use custom templates (on a per-widget basis) for rendering featured posts.115 = 2.1.0 = 116 New filter for selecting which posts are shown in the widget. 111 117
Note: See TracChangeset
for help on using the changeset viewer.