Changeset 1066301
- Timestamp:
- 01/12/2015 07:23:50 PM (11 years ago)
- Location:
- easy-popular-posts/trunk
- Files:
-
- 1 added
- 1 deleted
- 2 edited
-
easy-popular-posts.php (modified) (8 diffs)
-
readme.txt (modified) (2 diffs)
-
widgets/thisismyurl_EasyPopularPosts_Widget.php (added)
-
widgets/thissimyurl_EasyPopularPosts_Widget.php (deleted)
Legend:
- Unmodified
- Added
- Removed
-
easy-popular-posts/trunk/easy-popular-posts.php
r1053085 r1066301 7 7 Author URI: http://thisismyurl.com/ 8 8 Tags: future, upcoming posts, upcoming post, upcoming, draft, Post, popular, preview, plugin, post, posts 9 Version: 15.01 9 Version: 15.01.12 10 10 */ 11 11 … … 17 17 * This file contains all the logic required for the plugin 18 18 * 19 * @link http://wordpress.org/extend/plugins/ wordpresscom-stats-smiley-remover/19 * @link http://wordpress.org/extend/plugins/easy-popular-posts/ 20 20 * 21 21 * @package Easy Popular Posts … … 56 56 * 57 57 */ 58 if( ! class_exists( 'this simyurl_EasyPopularPosts' ) ) {59 class this simyurl_EasyPopularPosts extends thisismyurl_Common_EPP {58 if( ! class_exists( 'thisismyurl_EasyPopularPosts' ) ) { 59 class thisismyurl_EasyPopularPosts extends thisismyurl_Common_EPP { 60 60 /** 61 61 * Standard Constructor … … 259 259 260 260 } 261 261 262 262 /* return in the proper format */ 263 263 if ( ! empty( $popular ) ) { 264 if ( $options['show'] == 1 ) 264 265 if ( 0 != $options['show'] ) 265 266 echo implode( '', $popular ); 266 267 else … … 314 315 function widget_init() { 315 316 316 include_once( 'widgets/this simyurl_EasyPopularPosts_Widget.php' );317 register_widget( 'this simyurl_EasyPopularPosts_Widget' );317 include_once( 'widgets/thisismyurl_EasyPopularPosts_Widget.php' ); 318 register_widget( 'thisismyurl_EasyPopularPosts_Widget' ); 318 319 319 320 } … … 324 325 } 325 326 326 global $this simyurl_EasyPopularPosts;327 328 $this simyurl_EasyPopularPosts = new thissimyurl_EasyPopularPosts;329 330 $this simyurl_EasyPopularPosts->run();327 global $thisismyurl_EasyPopularPosts; 328 329 $thisismyurl_EasyPopularPosts = new thisismyurl_EasyPopularPosts; 330 331 $thisismyurl_EasyPopularPosts->run(); 331 332 332 333 … … 338 339 * @access public 339 340 * @static 340 * @uses $this simyurl_EasyPopularPosts->easy_popular_posts341 * @uses $thisismyurl_EasyPopularPosts->easy_popular_posts 341 342 * @since Method available since Release 15.01 342 343 * 343 * @param array see $this simyurl_EasyPopularPosts->popular_posts_defaults() for accepted options344 * @param array see $thisismyurl_EasyPopularPosts->popular_posts_defaults() for accepted options 344 345 * 345 346 */ … … 347 348 function thisismyurl_easy_popular_posts( $options = NULL ) { 348 349 349 $thissimyurl_EasyPopularPosts->easy_popular_posts( $options ); 350 global $thisismyurl_EasyPopularPosts; 351 352 if ( ! isset( $options ) ) 353 $options = wp_parse_args( array( 'show'=> 1 ), $thisismyurl_EasyPopularPosts->popular_posts_defaults() ); 354 355 356 $thisismyurl_EasyPopularPosts->easy_popular_posts( $options ); 350 357 351 358 } -
easy-popular-posts/trunk/readme.txt
r1053085 r1066301 6 6 Requires at least: 3.2.0 7 7 Tested up to: 4.1.0 8 Stable tag: 15.01 8 Stable tag: 15.01.12 9 9 10 10 An easy to use WordPress function to add popular posts to any theme. … … 68 68 69 69 == Change Log == 70 71 = 15.01.12 = 72 73 * Fixed an error displaying the plugin as a PHP call 74 * Cleaned up inline documentation 75 70 76 71 77 = 15.01 =
Note: See TracChangeset
for help on using the changeset viewer.