Add missing doc blocks to `admin-bar.php`.

See #32444.

Built from https://develop.svn.wordpress.org/trunk@32537


git-svn-id: http://core.svn.wordpress.org/trunk@32507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Scott Taylor 2015-05-22 04:00:26 +00:00
parent 3a5f584109
commit 83dd461b2f
2 changed files with 14 additions and 2 deletions

View File

@ -13,6 +13,9 @@
* *
* @since 3.1.0 * @since 3.1.0
* @access private * @access private
*
* @global WP_Admin_Bar $wp_admin_bar
*
* @return bool Whether the admin bar was successfully initialized. * @return bool Whether the admin bar was successfully initialized.
*/ */
function _wp_admin_bar_init() { function _wp_admin_bar_init() {
@ -55,6 +58,8 @@ function _wp_admin_bar_init() {
* right before the admin bar is rendered. This also gives you access to the $post global, among others. * right before the admin bar is rendered. This also gives you access to the $post global, among others.
* *
* @since 3.1.0 * @since 3.1.0
*
* @global WP_Admin_Bar $wp_admin_bar
*/ */
function wp_admin_bar_render() { function wp_admin_bar_render() {
global $wp_admin_bar; global $wp_admin_bar;
@ -480,6 +485,9 @@ function wp_admin_bar_shortlink_menu( $wp_admin_bar ) {
* *
* @since 3.1.0 * @since 3.1.0
* *
* @global object $tag
* @global WP_Query $wp_the_query
*
* @param WP_Admin_Bar $wp_admin_bar * @param WP_Admin_Bar $wp_admin_bar
*/ */
function wp_admin_bar_edit_menu( $wp_admin_bar ) { function wp_admin_bar_edit_menu( $wp_admin_bar ) {
@ -890,8 +898,9 @@ function _admin_bar_bump_cb() { ?>
* *
* @since 3.1.0 * @since 3.1.0
* *
* @global WP_Admin_Bar $wp_admin_bar
*
* @param bool $show Whether to allow the admin bar to show. * @param bool $show Whether to allow the admin bar to show.
* @return void
*/ */
function show_admin_bar( $show ) { function show_admin_bar( $show ) {
global $show_admin_bar; global $show_admin_bar;
@ -903,6 +912,9 @@ function show_admin_bar( $show ) {
* *
* @since 3.1.0 * @since 3.1.0
* *
* @global WP_Admin_Bar $wp_admin_bar
* @global string $pagenow
*
* @return bool Whether the admin bar should be showing. * @return bool Whether the admin bar should be showing.
*/ */
function is_admin_bar_showing() { function is_admin_bar_showing() {

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.3-alpha-32536'; $wp_version = '4.3-alpha-32537';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.