Make WordPress Core


Ignore:
Timestamp:
05/29/2015 03:42:40 PM (9 years ago)
Author:
wonderboymusic
Message:

Add @static* annotations where they are missing.
Initialize all static vars that are not, most to null.

See #32444.

File:
1 edited

Legend:

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

    r32643 r32650  
    1111 *
    1212 * @since 2.7.0
     13 *
     14 * @staticvar array $column_headers
    1315 *
    1416 * @param string|WP_Screen $screen The screen you want the headers for
     
    328330    /**
    329331     * Stores old string-based help.
     332     *
     333     * @static
     334     * @access private
     335     *
     336     * @var array
    330337     */
    331338    private static $_old_compat_help = array();
     
    344351     *
    345352     * @since 3.3.0
     353     *
     354     * @static
     355     * @access private
     356     *
    346357     * @var array
    347      * @access private
    348358     */
    349359    private static $_registry = array();
     
    372382     * @since 3.3.0
    373383     * @access public
     384     *
     385     * @static
    374386     *
    375387     * @global string $hook_suffix
     
    588600     *
    589601     * @since 3.3.0
     602     *
     603     * @static
    590604     *
    591605     * @param WP_Screen $screen A screen object.
     
    975989     *
    976990     * @global array $wp_meta_boxes
    977      * 
     991     *
    978992     * @return bool
    979993     */
Note: See TracChangeset for help on using the changeset viewer.