From 6422fb15fa8f3614376e194b07e02894d5528ac7 Mon Sep 17 00:00:00 2001 From: Shail Mehta Date: Sun, 21 Jun 2026 14:28:22 +0530 Subject: [PATCH] Updated Inline Document Order --- src/wp-includes/author-template.php | 4 ++-- .../customize/class-wp-customize-nav-menu-setting.php | 4 ++-- .../interactivity-api/class-wp-interactivity-api.php | 4 ++-- src/wp-includes/post.php | 3 ++- src/wp-includes/taxonomy.php | 4 ++-- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/src/wp-includes/author-template.php b/src/wp-includes/author-template.php index 4c715a62b51f1..699c14f22a2ea 100644 --- a/src/wp-includes/author-template.php +++ b/src/wp-includes/author-template.php @@ -200,11 +200,11 @@ function get_the_author_meta( $field = '', $user_id = false ) { * * @since 2.8.0 * + * @see get_the_author_meta() + * * @param string $field Selects the field of the users record. See get_the_author_meta() * for the list of possible fields. * @param int|false $user_id Optional. User ID. Defaults to the current post author. - * - * @see get_the_author_meta() */ function the_author_meta( $field = '', $user_id = false ) { $author_meta = get_the_author_meta( $field, $user_id ); diff --git a/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php b/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php index 138ab8806e719..dd9942224a456 100644 --- a/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php +++ b/src/wp-includes/customize/class-wp-customize-nav-menu-setting.php @@ -310,11 +310,11 @@ public function filter_wp_get_nav_menus( $menus, $args ) { * @since 4.3.0 * @deprecated 4.7.0 Use wp_list_sort() * + * @see WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus() + * * @param object $menu1 * @param object $menu2 * @return int - * - * @see WP_Customize_Nav_Menu_Setting::filter_wp_get_nav_menus() */ protected function _sort_menus_by_orderby( $menu1, $menu2 ) { _deprecated_function( __METHOD__, '4.7.0', 'wp_list_sort' ); diff --git a/src/wp-includes/interactivity-api/class-wp-interactivity-api.php b/src/wp-includes/interactivity-api/class-wp-interactivity-api.php index a04d62e54924c..b7adb950976bb 100644 --- a/src/wp-includes/interactivity-api/class-wp-interactivity-api.php +++ b/src/wp-includes/interactivity-api/class-wp-interactivity-api.php @@ -367,9 +367,9 @@ public function get_element(): ?array { /** * Registers the `@wordpress/interactivity` script modules. * - * @deprecated 6.7.0 Script Modules registration is handled by {@see wp_default_script_modules()}. - * * @since 6.5.0 + * + * @deprecated 6.7.0 Script Modules registration is handled by {@see wp_default_script_modules()}. */ public function register_script_modules() { _deprecated_function( __METHOD__, '6.7.0', 'wp_default_script_modules' ); diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 005ccadd62e34..0f1a68afe3eb3 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -3761,10 +3761,11 @@ function wp_post_mime_type_where( $post_mime_types, $table_alias = '' ) { * * @since 1.0.0 * - * @global wpdb $wpdb WordPress database abstraction object. * @see wp_delete_attachment() * @see wp_trash_post() * + * @global wpdb $wpdb WordPress database abstraction object. + * * @param int $post_id Post ID. (The default of 0 is for historical reasons; providing it is incorrect.) * @param bool $force_delete Optional. Whether to bypass Trash and force deletion. * Default false. diff --git a/src/wp-includes/taxonomy.php b/src/wp-includes/taxonomy.php index 80f457de0e6f7..1d54f4250e786 100644 --- a/src/wp-includes/taxonomy.php +++ b/src/wp-includes/taxonomy.php @@ -3621,10 +3621,10 @@ function wp_update_term_count_now( $terms, $taxonomy ) { * * @since 2.3.0 * - * @global bool $_wp_suspend_cache_invalidation - * * @see get_object_taxonomies() for more on $object_type. * + * @global bool $_wp_suspend_cache_invalidation. + * * @param int|array $object_ids Single or list of term object ID(s). * @param array|string $object_type The taxonomy object type. */