[wp-trac] [WordPress Trac] #31758: hashtag stripped out of wp-admin backend Dashboard URL's
WordPress Trac
noreply at wordpress.org
Wed Mar 25 00:37:11 UTC 2015
#31758: hashtag stripped out of wp-admin backend Dashboard URL's
--------------------------+------------------------------
Reporter: AITpro | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by AITpro):
Very dirty, but it works:
{{{
if ( empty( $removable_query_args ) ) {
return;
}
$pos = strpos( $_SERVER['REQUEST_URI'], '#' );
if ( $pos === false ) {
return;
}
// Ensure we're using an absolute URL.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31758#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list