WordPress.org

Make WordPress Core

Ticket #53443: 53443.diff

File 53443.diff, 738 bytes (added by henry.wright, 3 months ago)
  • src/wp-includes/ms-default-filters.php

    diff --git src/wp-includes/ms-default-filters.php src/wp-includes/ms-default-filters.php
    index 042751e..738b245 100644
    add_filter( 'allowed_redirect_hosts', 'redirect_this_site' ); 
    7676
    7777// Administration.
    7878add_filter( 'term_id_filter', 'global_terms', 10, 2 );
    79 add_action( 'delete_post', '_update_posts_count_on_delete' );
     79add_action( 'deleted_post', '_update_posts_count_on_delete' );
    8080add_action( 'delete_post', '_update_blog_date_on_post_delete' );
    8181add_action( 'transition_post_status', '_update_blog_date_on_post_publish', 10, 3 );
    8282add_action( 'transition_post_status', '_update_posts_count_on_transition_post_status', 10, 3 );