Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #31758, comment 5


Ignore:
Timestamp:
03/25/2015 12:45:53 AM (10 years ago)
Author:
AITpro
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31758, comment 5

    initial v1  
    1 Very dirty, but it works:
    2 
    3 
    4 {{{
    5         if ( empty( $removable_query_args ) ) {
    6                 return;
    7         }
    8 
    9         $pos = strpos( $_SERVER['REQUEST_URI'], '#' );
    10                        
    11         if ( $pos === false ) {
    12                 return;
    13         }
    14        
    15         // Ensure we're using an absolute URL.
    16 }}}
     1disregard/deleted. Invalid solution.