WordPress.org

Make WordPress Core

Ticket #16893: 16893.diff

File 16893.diff, 664 bytes (added by nacin, 7 years ago)
  • wp-includes/default-filters.php

     
    215215add_action( 'wp_head',             'wp_shortlink_wp_head',          10, 0 );
    216216add_action( 'template_redirect',   'wp_shortlink_header',           11, 0 );
    217217
     218if ( isset( $_GET['replytocom'] ) )
     219    add_filter( 'pre_option_blog_public', '__return_zero' );
     220
    218221// Login actions
    219222add_action( 'login_head',          'wp_print_head_scripts',         9     );
    220223add_action( 'login_footer',        'wp_print_footer_scripts'              );