Make WordPress Core

Changeset 36491


Ignore:
Timestamp:
02/07/2016 01:21:14 AM (9 years ago)
Author:
DrewAPicture
Message:

Docs: Fix two notations in the DocBlocks for show_admin_bar() and is_admin_bar_showing() to reflect use of the $show_admin_bar global rather than $wp_admin_bar.

Props Frozzare.
Fixes #35686.

File:
1 edited

Legend:

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

    r36093 r36491  
    880880 * @since 3.1.0
    881881 *
    882  * @global WP_Admin_Bar $wp_admin_bar
     882 * @global WP_Admin_Bar $show_admin_bar
    883883 *
    884884 * @param bool $show Whether to allow the admin bar to show.
     
    894894 * @since 3.1.0
    895895 *
    896  * @global WP_Admin_Bar $wp_admin_bar
     896 * @global WP_Admin_Bar $show_admin_bar
    897897 * @global string       $pagenow
    898898 *
Note: See TracChangeset for help on using the changeset viewer.