Make WordPress Core


Ignore:
Timestamp:
05/29/2015 02:05:26 AM (9 years ago)
Author:
wonderboymusic
Message:

Add @global annotations to (the rest of the?) wp-admin/* files.

Does not include list table file changes.

See #32444.

File:
1 edited

Legend:

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

    r31696 r32643  
    6060 *
    6161 * @since 2.7.0
     62 *
     63 * @global array $wp_meta_boxes
    6264 *
    6365 * @param WP_Screen $screen
     
    163165 * @since 3.1.0
    164166 *
     167 * @global WP_Screen $current_screen
     168 *
    165169 * @return WP_Screen Current screen object
    166170 */
     
    368372     * @since 3.3.0
    369373     * @access public
     374     *
     375     * @global string $hook_suffix
    370376     *
    371377     * @param string|WP_Screen $hook_name Optional. The hook name (also known as the hook suffix) used to determine the screen.
     
    530536     * @see set_current_screen()
    531537     * @since 3.3.0
     538     *
     539     * @global WP_Screen $current_screen
     540     * @global string    $taxnow
     541     * @global string    $typenow
    532542     */
    533543    public function set_current_screen() {
     
    788798     *
    789799     * @since 3.3.0
     800     *
     801     * @global string $screen_layout_columns
    790802     */
    791803    public function render_screen_meta() {
     
    960972    }
    961973
     974    /**
     975     *
     976     * @global array $wp_meta_boxes
     977     *
     978     * @return bool
     979     */
    962980    public function show_screen_options() {
    963981        global $wp_meta_boxes;
     
    10181036     *
    10191037     * @since 3.3.0
     1038     *
     1039     * @global array $wp_meta_boxes
    10201040     */
    10211041    public function render_screen_options() {
Note: See TracChangeset for help on using the changeset viewer.