Changeset 55419 for trunk/src/wp-includes/ms-blogs.php
- Timestamp:
- 02/24/2023 01:21:54 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-blogs.php
r55398 r55419 878 878 * 879 879 * @since 4.0.0 880 * 881 * @param int $post_id Post ID.882 * /883 function _update_posts_count_on_delete( $post_id ) { 884 $post = get_post( $post_id ); 885 880 * @since 6.2.0 Added the `$post` parameter. 881 * 882 * @param int $post_id Post ID. 883 * @param WP_Post $post Post object. 884 */ 885 function _update_posts_count_on_delete( $post_id, $post ) { 886 886 if ( ! $post || 'publish' !== $post->post_status || 'post' !== $post->post_type ) { 887 887 return;
Note: See TracChangeset
for help on using the changeset viewer.