WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20507, comment 25


Ignore:
Timestamp:
05/23/12 22:16:29 (3 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20507, comment 25

    initial v1  
    88add_action( 'get_header', function() { 
    99        echo '<a href="' . esc_url( add_query_arg( 'redirect', 'internal' ) ) . '">Redirect internally</a> &bull; <a href="' . esc_url( add_query_arg( 'redirect', 'external' ) )  . '">Redirect externally</a><br />'; 
    10         echo '<a href="/beta/">Root-relative link to home page that gets blocked :-(</a><br />'; 
     10        echo '<a href="/">Root-relative link to home page that gets blocked :-(</a><br />'; 
    1111        echo '<a href="#footer">Hash link that gets blocked :-(</a><br />'; 
    1212        echo '<a href="?redirect=internal">Query string link that gets blocked :-(</a>';