Plugin Directory

Changeset 945335 for no-page-comment


Ignore:
Timestamp:
07/09/2014 02:08:42 AM (11 years ago)
Author:
sethta
Message:

Fix to make mu-plugin friendly. Thanks @swinggraphics.

Location:
no-page-comment
Files:
10 added
2 edited

Legend:

Unmodified
Added
Removed
  • no-page-comment/trunk/no-page-comment.php

    r871884 r945335  
    44Plugin URI: http://sethalling.com/plugins/no-page-comment
    55Description: 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
     6Version: 1.0.5
    77Author: Seth Alling
    88Author URI: http://sethalling.com/
     
    7676                // Plugin Constructor
    7777                function sta_npc_plugin() {
    78                     $this->plugin_dir = WP_PLUGIN_URL . '/' . $this->plugin_name;
     78                    $this->plugin_dir = plugins_url( '/', __FILE__ );
    7979                    $this->plugin_file = $this->plugin_name . '.php';
    8080                }
  • no-page-comment/trunk/readme.txt

    r895310 r945335  
    7474== Screenshots ==
    7575
    76 1. The Settings page on a fresh WordPress 3.8 installation
     761. The Settings page on a fresh WordPress 3.9 installation
    7777
    7878== Changelog ==
     79
     80= 1.0.5 =
     81* FIX: Fix to make mu-plugin friendly. Thanks @swinggraphics.
    7982
    8083= 1.0.4 =
Note: See TracChangeset for help on using the changeset viewer.