Make WordPress Core

Ticket #48123: 48123.diff

File 48123.diff, 1.4 KB (added by itowhid06, 7 years ago)
  • src/wp-includes/default-filters.php

    diff --git a/src/wp-includes/default-filters.php b/src/wp-includes/default-filters.php
    index 423db4d540..c6df246adb 100644
    a b if ( ! defined( 'DOING_CRON' ) ) { 
    331331}
    332332
    333333// 2 Actions 2 Furious
    334 add_action( 'do_feed_rdf', 'do_feed_rdf', 10, 1 );
    335 add_action( 'do_feed_rss', 'do_feed_rss', 10, 1 );
     334add_action( 'do_feed_rdf', 'do_feed_rdf', 10 );
     335add_action( 'do_feed_rss', 'do_feed_rss', 10 );
    336336add_action( 'do_feed_rss2', 'do_feed_rss2', 10, 1 );
    337337add_action( 'do_feed_atom', 'do_feed_atom', 10, 1 );
    338 add_action( 'do_pings', 'do_all_pings', 10, 1 );
     338add_action( 'do_pings', 'do_all_pings', 10 );
    339339add_action( 'do_robots', 'do_robots' );
    340340add_action( 'set_comment_cookies', 'wp_set_comment_cookies', 10, 3 );
    341341add_action( 'sanitize_comment_cookies', 'sanitize_comment_cookies' );
    add_action( 'publish_post', '_publish_post_hook', 5, 1 ); 
    354354add_action( 'transition_post_status', '_transition_post_status', 5, 3 );
    355355add_action( 'transition_post_status', '_update_term_count_on_transition_post_status', 10, 3 );
    356356add_action( 'comment_form', 'wp_comment_form_unfiltered_html_nonce' );
    357 add_action( 'admin_init', 'send_frame_options_header', 10, 0 );
     357add_action( 'admin_init', 'send_frame_options_header', 10 );
    358358add_action( 'welcome_panel', 'wp_welcome_panel' );
    359359
    360360// Privacy