Changeset 1042011
- Timestamp:
- 12/10/2014 03:59:50 PM (10 years ago)
- Location:
- wp-advertize-it
- Files:
-
- 1 added
- 3 edited
- 17 copied
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified wp-advertize-it/tags/0.8.1/bootstrap.php ¶
r1042009 r1042011 4 4 Plugin URI: https://wordpress.org/plugins/wp-advertize-it/ 5 5 Description: A plugin to place adsense blocks on your site 6 Version: 0.8 6 Version: 0.8.1 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
TabularUnified wp-advertize-it/tags/0.8.1/classes/wp-advertize-it.php ¶
r1042009 r1042011 18 18 protected $modules; 19 19 20 const VERSION = '0.8 ';20 const VERSION = '0.8.1'; 21 21 const PREFIX = 'wpai_'; 22 22 const DEBUG_MODE = false; … … 609 609 global $wp_query; 610 610 611 error_log("post->id=".$post->ID);612 error_log("wp_query->post->id=".$wp_query->post->ID);613 614 611 if (((! is_home()) && (! is_archive())) || $wp_query->post != $post || 0 == $wp_query->current_post ) { 615 error_log("is_home or is_archive=".(((! is_home()) && (! is_archive())) ? "false" : "true"));616 error_log("wp_query->post is post=".($wp_query->post != $post ? "false" : "true"));617 error_log("wp_query->current_post=".$wp_query->current_post);618 612 return; 619 613 } … … 622 616 $every = isset($options['between-posts-every']) ? intval($options['between-posts-every']) : 0; 623 617 $max = isset($options['between-posts-every']) ? intval($options['between-posts-max']) : 0; 624 625 error_log("every=".$every);626 error_log("wp_query->current_post % every=".($wp_query->current_post % $every ));627 618 628 619 if ($every > 0 && $wp_query->current_post % $every == 0 && $wp_query->current_post <= $every*$max) { -
TabularUnified wp-advertize-it/tags/0.8.1/readme.txt ¶
r1042009 r1042011 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.0.1 7 Stable tag: 0.8 7 Stable tag: 0.8.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 109 109 == Changelog == 110 110 111 = 0.8.1 = 112 113 * Removed output to error log. 114 111 115 = 0.8 = 112 116 -
TabularUnified wp-advertize-it/trunk/bootstrap.php ¶
r1042009 r1042011 4 4 Plugin URI: https://wordpress.org/plugins/wp-advertize-it/ 5 5 Description: A plugin to place adsense blocks on your site 6 Version: 0.8 6 Version: 0.8.1 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
TabularUnified wp-advertize-it/trunk/classes/wp-advertize-it.php ¶
r1042009 r1042011 18 18 protected $modules; 19 19 20 const VERSION = '0.8 ';20 const VERSION = '0.8.1'; 21 21 const PREFIX = 'wpai_'; 22 22 const DEBUG_MODE = false; … … 609 609 global $wp_query; 610 610 611 error_log("post->id=".$post->ID);612 error_log("wp_query->post->id=".$wp_query->post->ID);613 614 611 if (((! is_home()) && (! is_archive())) || $wp_query->post != $post || 0 == $wp_query->current_post ) { 615 error_log("is_home or is_archive=".(((! is_home()) && (! is_archive())) ? "false" : "true"));616 error_log("wp_query->post is post=".($wp_query->post != $post ? "false" : "true"));617 error_log("wp_query->current_post=".$wp_query->current_post);618 612 return; 619 613 } … … 622 616 $every = isset($options['between-posts-every']) ? intval($options['between-posts-every']) : 0; 623 617 $max = isset($options['between-posts-every']) ? intval($options['between-posts-max']) : 0; 624 625 error_log("every=".$every);626 error_log("wp_query->current_post % every=".($wp_query->current_post % $every ));627 618 628 619 if ($every > 0 && $wp_query->current_post % $every == 0 && $wp_query->current_post <= $every*$max) { -
TabularUnified wp-advertize-it/trunk/readme.txt ¶
r1042009 r1042011 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.0.1 7 Stable tag: 0.8 7 Stable tag: 0.8.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 109 109 == Changelog == 110 110 111 = 0.8.1 = 112 113 * Removed output to error log. 114 111 115 = 0.8 = 112 116
Note: See TracChangeset
for help on using the changeset viewer.