WordPress.org

Plugin Directory

Changeset 494812


Ignore:
Timestamp:
01/24/12 23:00:43 (2 years ago)
Author:
vhauri
Message:

Updating add_options_page call to use manage_options capability instead of deprecated numerical cap, thanks to @deadelvis for pointing out the warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tagline-rotator/trunk/tagline-rotator.php

    r494807 r494812  
    4343        public static function add_pages() { 
    4444                // Add a new submenu under Options: 
    45                 add_options_page('Tagline Rotator', 'Tagline Rotator', 8, 'taglineoptions', array('WP_Tagline_Rotator', 'tagline_options_page')); 
     45                add_options_page('Tagline Rotator', 'Tagline Rotator', 'manage_options', 'taglineoptions', array('WP_Tagline_Rotator', 'tagline_options_page')); 
    4646        } 
    4747 
Note: See TracChangeset for help on using the changeset viewer.