Changeset 537150
- Timestamp:
- 04/27/2012 08:53:46 AM (14 years ago)
- Location:
- ucomment/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
u-comment.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ucomment/trunk/readme.txt
r533293 r537150 5 5 Requires at least: 3.0 6 6 Tested up to: 3.3 7 Stable Tag: 1.0. 17 Stable Tag: 1.0.2 8 8 9 9 Add extra features to your wordpress comments like ajax posting, email notification on reply and field validation. … … 47 47 == Changelog == 48 48 49 = 1.0.2 = 50 Fixed a couple of bugs that generated PHP Notices. 51 49 52 = 1.0.1 = 50 53 * Original Version -
ucomment/trunk/u-comment.php
r533293 r537150 134 134 wp_enqueue_script('jquery'); 135 135 if (!is_admin()) { 136 //wp_register_style($this->_slug . 'styles', $this->base_url['plugin'] . '/includes/styles.css');137 //wp_enqueue_style($this->_slug . 'styles');138 136 wp_register_script($this->_slug . 'functions', $this->base_url['plugin'] . '/includes/functions.js'); 139 137 wp_enqueue_script($this->_slug . 'functions'); … … 152 150 // Create pages in backend navigation menu 153 151 function admin_menu() { 154 add_options_page('uComment: Options', 'uComment', 10, $this->_slug . 'page-options', array(&$this, 'page_options'));152 add_options_page('uComment: Options', 'uComment', 'manage_options', $this->_slug . 'page-options', array(&$this, 'page_options')); 155 153 } 156 154 … … 162 160 $this->message = $this->status = ''; 163 161 } 164 if ( $message) {162 if (isset($message)) { 165 163 echo '<div id="message" class="' . (($status != '') ? $status : 'updated') . '">' . "\n"; 166 164 echo '<p><strong>' . $message . '</strong></p>' . "\n";
Note: See TracChangeset
for help on using the changeset viewer.