Make WordPress Core


Ignore:
Timestamp:
07/01/2015 09:41:17 PM (10 years ago)
Author:
markjaquith
Message:

Say goodbye to ?replytocom=123 links and their URL pollution.

  • Comment reply links continue to use JS as before.
  • ?replytocom=123 links are deprecated.

props joostdevalk
fixes #22889

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/default-filters.php

    r32994 r33038  
    231231add_action( 'after_switch_theme',  '_wp_sidebars_changed'                   );
    232232add_action( 'wp_print_styles',     'print_emoji_styles'                     );
    233 
    234 if ( isset( $_GET['replytocom'] ) )
    235     add_action( 'wp_head', 'wp_no_robots' );
    236233
    237234// Login actions
Note: See TracChangeset for help on using the changeset viewer.