Plugin Directory

Changeset 537150


Ignore:
Timestamp:
04/27/2012 08:53:46 AM (14 years ago)
Author:
feedchannel
Message:
 
Location:
ucomment/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ucomment/trunk/readme.txt

    r533293 r537150  
    55Requires at least: 3.0
    66Tested up to: 3.3
    7 Stable Tag: 1.0.1
     7Stable Tag: 1.0.2
    88
    99Add extra features to your wordpress comments like ajax posting, email notification on reply and field validation.
     
    4747== Changelog ==
    4848
     49= 1.0.2 =
     50Fixed a couple of bugs that generated PHP Notices.
     51
    4952= 1.0.1 =
    5053* Original Version
  • ucomment/trunk/u-comment.php

    r533293 r537150  
    134134            wp_enqueue_script('jquery');
    135135            if (!is_admin()) {
    136                 //wp_register_style($this->_slug . 'styles', $this->base_url['plugin'] . '/includes/styles.css');
    137                 //wp_enqueue_style($this->_slug . 'styles');
    138136                wp_register_script($this->_slug . 'functions', $this->base_url['plugin'] . '/includes/functions.js');
    139137                wp_enqueue_script($this->_slug . 'functions');
     
    152150        // Create pages in backend navigation menu
    153151        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'));
    155153        }
    156154
     
    162160                $this->message = $this->status = '';
    163161            }
    164             if ($message) {
     162            if (isset($message)) {
    165163                echo '<div id="message" class="' . (($status != '') ? $status : 'updated') . '">' . "\n";
    166164                echo '<p><strong>' . $message . '</strong></p>' . "\n";
Note: See TracChangeset for help on using the changeset viewer.