URL Encoding Bug
-
When more than one query var is in the admin URL, clicking Sort By Order double encodes some ampersands, it seems to be due to the plugin calling
url_encode()
thenadd_query_arg()
also callingurl_encode()
to the second argument.simple-page-ordering.php, line 286 can go from:
$query_string = add_query_arg( 'orderby', urlencode( 'menu_order title' ), $query_string );
to:
$query_string = add_query_arg( 'orderby', 'menu_order title', $query_string );
I noticed this when sorting by published or by a taxonomy then attempting to Sort By Order.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘URL Encoding Bug’ is closed to new replies.