No Page Comment - Version 1.0.5

Version Description

  • FIX: Fix to make mu-plugin friendly. Thanks @swinggraphics.
Download this release

Release Info

Developer sethta
Plugin Icon 128x128 No Page Comment
Version 1.0.5
Comparing to
See all releases

Code changes from version 1.0.4 to 1.0.5

Files changed (2) hide show
  1. no-page-comment.php +2 -2
  2. readme.txt +5 -2
no-page-comment.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: No Page Comment
4
  Plugin URI: http://sethalling.com/plugins/no-page-comment
5
  Description: A plugin that uses javascript to disable comments by default on posts, pages and/or custom post types but leave them enabled on others, while still giving you the ability to individually set them on a page or post basis.
6
- Version: 1.0.4
7
  Author: Seth Alling
8
  Author URI: http://sethalling.com/
9
  Text Domain: no-page-comment
@@ -75,7 +75,7 @@ if ( ! function_exists( 'sta_npc_load' ) ) {
75
 
76
  // Plugin Constructor
77
  function sta_npc_plugin() {
78
- $this->plugin_dir = WP_PLUGIN_URL . '/' . $this->plugin_name;
79
  $this->plugin_file = $this->plugin_name . '.php';
80
  }
81
 
3
  Plugin Name: No Page Comment
4
  Plugin URI: http://sethalling.com/plugins/no-page-comment
5
  Description: A plugin that uses javascript to disable comments by default on posts, pages and/or custom post types but leave them enabled on others, while still giving you the ability to individually set them on a page or post basis.
6
+ Version: 1.0.5
7
  Author: Seth Alling
8
  Author URI: http://sethalling.com/
9
  Text Domain: no-page-comment
75
 
76
  // Plugin Constructor
77
  function sta_npc_plugin() {
78
+ $this->plugin_dir = plugins_url( '/', __FILE__ );
79
  $this->plugin_file = $this->plugin_name . '.php';
80
  }
81
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Contributors: sethta
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5WWP2EDSCAJR4
5
  Tags: admin, comments, custom post type, discussion, pages, posts, attachment, attachments, media, settings, tools, trackbacks
6
  Requires at least: 3.1
7
- Tested up to: 3.8.1
8
  Stable tag: trunk
9
 
10
  Disable comments by default on new pages and custom post types, while still giving you the ability to individually set them on a page or post basis.
@@ -73,10 +73,13 @@ Of course, although *it is highly recommended that you backup your blog's databa
73
 
74
  == Screenshots ==
75
 
76
- 1. The Settings page on a fresh WordPress 3.8 installation
77
 
78
  == Changelog ==
79
 
 
 
 
80
  = 1.0.4 =
81
  * NEW: Add Spanish language support.
82
  * NEW: Add Serbian language support.
4
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=5WWP2EDSCAJR4
5
  Tags: admin, comments, custom post type, discussion, pages, posts, attachment, attachments, media, settings, tools, trackbacks
6
  Requires at least: 3.1
7
+ Tested up to: 3.9
8
  Stable tag: trunk
9
 
10
  Disable comments by default on new pages and custom post types, while still giving you the ability to individually set them on a page or post basis.
73
 
74
  == Screenshots ==
75
 
76
+ 1. The Settings page on a fresh WordPress 3.9 installation
77
 
78
  == Changelog ==
79
 
80
+ = 1.0.5 =
81
+ * FIX: Fix to make mu-plugin friendly. Thanks @swinggraphics.
82
+
83
  = 1.0.4 =
84
  * NEW: Add Spanish language support.
85
  * NEW: Add Serbian language support.