Skip to content

Commit 36b116c

Browse files
committed
Docs: Correct DocBlock tag order (@global before @param)
1 parent 6b8e761 commit 36b116c

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/wp-admin/includes/template.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,8 +1628,6 @@ function do_accordion_sections( $screen, $context, $data_object ) {
16281628
* @type string $after_section HTML content to append to the section's HTML output. Default empty.
16291629
* @type string $section_class The class name to use for the section. Default empty.
16301630
* }
1631-
*
1632-
* @global array $wp_settings_sections Global settings sections array.
16331631
*/
16341632
function add_settings_section( $id, $title, $callback, $page, $args = array() ) {
16351633
global $wp_settings_sections;

src/wp-content/themes/twentyeleven/functions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -757,11 +757,11 @@ function twentyeleven_footer_sidebar_class() {
757757
*
758758
* @since Twenty Eleven 1.0
759759
*
760+
* @global WP_Comment $comment Global comment object.
761+
*
760762
* @param WP_Comment $comment The comment object.
761763
* @param array $args An array of comment arguments. @see get_comment_reply_link()
762764
* @param int $depth The depth of the comment.
763-
*
764-
* @global WP_Comment $comment Global comment object.
765765
*/
766766
function twentyeleven_comment( $comment, $args, $depth ) {
767767
$GLOBALS['comment'] = $comment;

0 commit comments

Comments
 (0)