[wp-trac] [WordPress Trac] #21020: Passing query parameters via URL
WordPress Trac
wp-trac at lists.automattic.com
Wed Jun 20 14:28:36 UTC 2012
#21020: Passing query parameters via URL
--------------------------------------+------------------------------
Reporter: taropaa | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 3.4
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback |
--------------------------------------+------------------------------
Comment (by duck_):
The summary/description of this ticket doesn't seem to match up with the
problem described in the post on the forums (and reiterated in ocean90's
comment above).
Although the usage of `$walk_dirs = true` is accidental behaviour and
creates some bugs (see #19876) I guess we might have to revert for 3.4.1
and come up with a fix for the problems described by #19876 in 3.5. Though
that would mean re-breaking something that was fixed in 3.4.
The old behaviour can be restored with a filter:
{{{
add_filter('post_rewrite_rules', function ($rules) {
return
$GLOBALS['wp_rewrite']->generate_rewrite_rules($GLOBALS['wp_rewrite']->permalink_structure,
EP_PERMALINK, false);
});
}}}
[attachment:21020.hotfix.diff] is a patch for the hotfix plugin which uses
the above filter, but it doesn't do any automatic flushing of rewrite
rules.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21020#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list