Changeset 1064003
- Timestamp:
- 01/09/2015 03:08:34 PM (11 years ago)
- Location:
- wp-disable-comments
- Files:
-
- 1 added
- 4 edited
- 11 copied
-
tags/0.3.3 (added)
-
tags/0.3.3/bootstrap.php (copied) (copied from wp-disable-comments/trunk/bootstrap.php) (1 diff)
-
tags/0.3.3/classes (copied) (copied from wp-disable-comments/trunk/classes)
-
tags/0.3.3/classes/wp-disable-comments.php (modified) (4 diffs)
-
tags/0.3.3/css (copied) (copied from wp-disable-comments/trunk/css)
-
tags/0.3.3/empty-comments-template.php (copied) (copied from wp-disable-comments/trunk/empty-comments-template.php)
-
tags/0.3.3/images (copied) (copied from wp-disable-comments/trunk/images)
-
tags/0.3.3/includes (copied) (copied from wp-disable-comments/trunk/includes)
-
tags/0.3.3/javascript (copied) (copied from wp-disable-comments/trunk/javascript)
-
tags/0.3.3/readme.txt (copied) (copied from wp-disable-comments/trunk/readme.txt) (2 diffs)
-
tags/0.3.3/screenshot-1.png (copied) (copied from wp-disable-comments/trunk/screenshot-1.png)
-
tags/0.3.3/screenshot-2.png (copied) (copied from wp-disable-comments/trunk/screenshot-2.png)
-
tags/0.3.3/views (copied) (copied from wp-disable-comments/trunk/views)
-
trunk/bootstrap.php (modified) (1 diff)
-
trunk/classes/wp-disable-comments.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-disable-comments/tags/0.3.3/bootstrap.php
r1064002 r1064003 3 3 Plugin Name: WP Disable Comments 4 4 Plugin URI: https://wordpress.org/plugins/wp-disable-comments/ 5 Description: A plugin to place adsense blocks on your site6 Version: 0.3. 15 Description: Disable comments, trackbacks and/or pingbacks 6 Version: 0.3.3 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
wp-disable-comments/tags/0.3.3/classes/wp-disable-comments.php
r1035323 r1064003 13 13 protected $modified_types = array(); 14 14 15 const VERSION = '0.3. 1';15 const VERSION = '0.3.3'; 16 16 const PREFIX = 'wpdc_'; 17 17 const DEBUG_MODE = false; … … 246 246 $disable_where = $this->modules['WPDC_Settings']->settings['disablewhere']; 247 247 $disable_checkboxes = $disable_where['disable-checkboxes']; 248 error_log("post_type=".$post_type); 249 error_log("disable_checkboxes=".print_r($disable_checkboxes, true)); 248 250 if (isset($post_type) && count($disable_checkboxes) > 0 && in_array($post_type, $disable_checkboxes)) { 249 251 return "closed"; … … 271 273 elseif (isset($_REQUEST['post_type'])) 272 274 return sanitize_key($_REQUEST['post_type']); 275 276 elseif ($current_screen && $current_screen->id && $current_screen->id=='async-upload') { 277 return "attachment"; 278 } 273 279 274 280 //we do not know the post type! … … 402 408 } 403 409 404 405 410 function filter_xmlrpc_methods($methods) 406 411 { -
wp-disable-comments/tags/0.3.3/readme.txt
r1064002 r1064003 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.0.1 7 Stable tag: 0.3. 17 Stable tag: 0.3.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 == Changelog == 65 65 66 = 0.3 = 66 = 0.3.3 = 67 68 * Fixed disabling checkboxes for post type Media 69 70 = 0.3.2 = 71 72 * Fixed plugin description and change log entry for 0.3.1 73 74 = 0.3.1 = 67 75 68 76 * Fixed strict PHP warnings -
wp-disable-comments/trunk/bootstrap.php
r1035323 r1064003 3 3 Plugin Name: WP Disable Comments 4 4 Plugin URI: https://wordpress.org/plugins/wp-disable-comments/ 5 Description: A plugin to place adsense blocks on your site6 Version: 0.3. 15 Description: Disable comments, trackbacks and/or pingbacks 6 Version: 0.3.3 7 7 Author: Henri Benoit 8 8 Author URI: http://benohead.com -
wp-disable-comments/trunk/classes/wp-disable-comments.php
r1035323 r1064003 13 13 protected $modified_types = array(); 14 14 15 const VERSION = '0.3. 1';15 const VERSION = '0.3.3'; 16 16 const PREFIX = 'wpdc_'; 17 17 const DEBUG_MODE = false; … … 246 246 $disable_where = $this->modules['WPDC_Settings']->settings['disablewhere']; 247 247 $disable_checkboxes = $disable_where['disable-checkboxes']; 248 error_log("post_type=".$post_type); 249 error_log("disable_checkboxes=".print_r($disable_checkboxes, true)); 248 250 if (isset($post_type) && count($disable_checkboxes) > 0 && in_array($post_type, $disable_checkboxes)) { 249 251 return "closed"; … … 271 273 elseif (isset($_REQUEST['post_type'])) 272 274 return sanitize_key($_REQUEST['post_type']); 275 276 elseif ($current_screen && $current_screen->id && $current_screen->id=='async-upload') { 277 return "attachment"; 278 } 273 279 274 280 //we do not know the post type! … … 402 408 } 403 409 404 405 410 function filter_xmlrpc_methods($methods) 406 411 { -
wp-disable-comments/trunk/readme.txt
r1035323 r1064003 5 5 Requires at least: 3.0.1 6 6 Tested up to: 4.0.1 7 Stable tag: 0.3. 17 Stable tag: 0.3.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 64 64 == Changelog == 65 65 66 = 0.3 = 66 = 0.3.3 = 67 68 * Fixed disabling checkboxes for post type Media 69 70 = 0.3.2 = 71 72 * Fixed plugin description and change log entry for 0.3.1 73 74 = 0.3.1 = 67 75 68 76 * Fixed strict PHP warnings
Note: See TracChangeset
for help on using the changeset viewer.