WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/23/2013 02:37:54 PM (7 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options.php

    r25616 r25880  
    3131else
    3232
    33     /** 
    34      * Filter the capability required when using the Settings API. 
    35      * 
    36      * By default, the options groups for all registered settings require the manage_options capability. 
    37      * This filter is required to change the capability required for a certain options page. 
    38      * 
     33    /**
     34     * Filter the capability required when using the Settings API.
     35     *
     36     * By default, the options groups for all registered settings require the manage_options capability.
     37     * This filter is required to change the capability required for a certain options page.
     38     *
    3939     * @since 3.2.0
    40      * 
    41      * @param string $capability The capability used for the page, which is manage_options by default. 
     40     *
     41     * @param string $capability The capability used for the page, which is manage_options by default.
    4242     */
    4343    $capability = apply_filters( "option_page_capability_{$option_page}", $capability );
     
    107107    $whitelist_options['general'][] = 'new_admin_email';
    108108    $whitelist_options['general'][] = 'WPLANG';
    109    
     109
    110110    /**
    111111     * Toggle post-by-email functionality.
     
    120120
    121121/**
    122  * Filter the options white list. 
    123  * 
     122 * Filter the options white list.
     123 *
    124124 * @since 2.7.0
    125125 *
Note: See TracChangeset for help on using the changeset viewer.