Docs: Use typed array notation in some post function DocBlocks:

* `wp_queue_posts_for_term_meta_lazyload()`
* `_prime_post_caches()`

See #55646.
Built from https://develop.svn.wordpress.org/trunk@53484


git-svn-id: http://core.svn.wordpress.org/trunk@53073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-06-10 15:22:11 +00:00
parent 9e01bd8adc
commit a29c6663fd
2 changed files with 7 additions and 7 deletions

View File

@ -7008,8 +7008,8 @@ function wp_mime_type_icon( $mime = 0 ) {
* @since 2.1.0
*
* @param int $post_id Post ID.
* @param WP_Post $post The Post Object
* @param WP_Post $post_before The Previous Post Object
* @param WP_Post $post The post object.
* @param WP_Post $post_before The previous post object.
*/
function wp_check_for_changed_slugs( $post_id, $post, $post_before ) {
// Don't bother if it hasn't changed.
@ -7051,8 +7051,8 @@ function wp_check_for_changed_slugs( $post_id, $post, $post_before ) {
* @since 4.9.3
*
* @param int $post_id Post ID.
* @param WP_Post $post The Post Object
* @param WP_Post $post_before The Previous Post Object
* @param WP_Post $post The post object.
* @param WP_Post $post_before The previous post object.
*/
function wp_check_for_changed_dates( $post_id, $post, $post_before ) {
$previous_date = gmdate( 'Y-m-d', strtotime( $post_before->post_date ) );
@ -7793,7 +7793,7 @@ function wp_delete_auto_drafts() {
*
* @since 4.5.0
*
* @param array $posts Array of WP_Post objects.
* @param WP_Post[] $posts Array of WP_Post objects.
*/
function wp_queue_posts_for_term_meta_lazyload( $posts ) {
$post_type_taxonomies = array();
@ -7857,7 +7857,7 @@ function _update_term_count_on_transition_post_status( $new_status, $old_status,
*
* @global wpdb $wpdb WordPress database abstraction object.
*
* @param array $ids ID list.
* @param int[] $ids ID list.
* @param bool $update_term_cache Optional. Whether to update the term cache. Default true.
* @param bool $update_meta_cache Optional. Whether to update the meta cache. Default true.
*/

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.1-alpha-53483';
$wp_version = '6.1-alpha-53484';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.