diff --git a/wp-admin/includes/class-wp-privacy-requests-table.php b/wp-admin/includes/class-wp-privacy-requests-table.php index 1c84a21b1b..ba7a899d19 100644 --- a/wp-admin/includes/class-wp-privacy-requests-table.php +++ b/wp-admin/includes/class-wp-privacy-requests-table.php @@ -496,11 +496,19 @@ abstract class WP_Privacy_Requests_Table extends WP_List_Table { */ public function column_default( $item, $column_name ) { /** - * Fires for each custom column of a specific request type in the Requests list table. + * Fires for each custom column of a specific request type in the Privacy Requests list table. * * Custom columns are registered using the {@see 'manage_export-personal-data_columns'} * and the {@see 'manage_erase-personal-data_columns'} filters. * + * The dynamic portion of the hook name, `$this->screen->id`, refers to the ID given to the list table + * according to which screen it's displayed on. + * + * Possible hook names include: + * + * - `manage_export-personal-data_custom_column` + * - `manage_erase-personal-data_custom_column` + * * @since 5.7.0 * * @param string $column_name The name of the column to display. diff --git a/wp-admin/nav-menus.php b/wp-admin/nav-menus.php index 7578907a98..695f0cfc11 100644 --- a/wp-admin/nav-menus.php +++ b/wp-admin/nav-menus.php @@ -674,6 +674,8 @@ if ( is_nav_menu( $nav_menu_selected_id ) ) { /** * @global int $_wp_nav_menu_max_depth * + * @since 3.0.0 + * * @param string $classes * @return string */ diff --git a/wp-includes/https-detection.php b/wp-includes/https-detection.php index 87fd4ad626..59d2077b4b 100644 --- a/wp-includes/https-detection.php +++ b/wp-includes/https-detection.php @@ -102,7 +102,6 @@ function wp_get_https_detection_errors() { * * @param null|WP_Error $pre Error object to short-circuit detection, * or null to continue with the default behavior. - * @return null|WP_Error Error object if HTTPS detection errors are found, null otherwise. */ $support_errors = apply_filters( 'pre_wp_get_https_detection_errors', null ); if ( is_wp_error( $support_errors ) ) { diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index 5d49d7169d..24c713d89d 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -3051,7 +3051,6 @@ function _navigation_markup( $links, $css_class = 'posts-navigation', $screen_re * * @param string $template The default template. * @param string $css_class The class passed by the calling function. - * @return string Navigation template. */ $template = apply_filters( 'navigation_markup_template', $template, $css_class ); diff --git a/wp-includes/media.php b/wp-includes/media.php index 805691ad93..c640d47d02 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -5471,6 +5471,8 @@ function attachment_url_to_postid( $url ) { * Use the === operator for testing the post ID when developing filters using * this hook. * + * @since 6.7.0 + * * @param int|null $post_id The result of the post ID lookup. Null to indicate * no lookup has been attempted. Default null. * @param string $url The URL being looked up. diff --git a/wp-includes/option.php b/wp-includes/option.php index cff8e352de..b3f993c9b8 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -1168,7 +1168,7 @@ function add_option( $option, $value = '', $deprecated = '', $autoload = null ) * * The dynamic portion of the hook name, `$option`, refers to the option name. * - * @since 2.5.0 As "add_option_{$name}" + * @since 2.5.0 As `add_option_{$name}` * @since 3.0.0 * * @param string $option Name of the option to add. diff --git a/wp-includes/update.php b/wp-includes/update.php index 4413050071..c51718a634 100644 --- a/wp-includes/update.php +++ b/wp-includes/update.php @@ -14,7 +14,7 @@ if ( ! defined( 'ABSPATH' ) ) { /** * Checks WordPress version against the newest version. * - * The WordPress version, PHP version, and locale is sent. + * The WordPress version, PHP version, and locale is sent to api.wordpress.org. * * Checks against the WordPress server at api.wordpress.org. Will only check * if WordPress isn't installing. @@ -306,7 +306,7 @@ function wp_version_check( $extra_stats = array(), $force_check = false ) { * * Despite its name this function does not actually perform any updates, it only checks for available updates. * - * A list of all plugins installed is sent to WP, along with the site locale. + * A list of all plugins installed is sent to api.wordpress.org, along with the site locale. * * Checks against the WordPress server at api.wordpress.org. Will only check * if WordPress isn't installing. @@ -578,7 +578,7 @@ function wp_update_plugins( $extra_stats = array() ) { * * Despite its name this function does not actually perform any updates, it only checks for available updates. * - * A list of all themes installed is sent to WP, along with the site locale. + * A list of all themes installed is sent to api.wordpress.org, along with the site locale. * * Checks against the WordPress server at api.wordpress.org. Will only check * if WordPress isn't installing. diff --git a/wp-includes/version.php b/wp-includes/version.php index 0a7862d3bc..8bfb82aef0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59864'; +$wp_version = '6.8-alpha-59865'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.