[wp-trac] Re: [WordPress Trac] #9602: eval problem in classes.php
and rewrite.php
WordPress Trac
wp-trac at lists.automattic.com
Tue May 5 11:07:32 GMT 2009
#9602: eval problem in classes.php and rewrite.php
--------------------------+-------------------------------------------------
Reporter: obsidiandh | Owner: ryan
Type: defect (bug) | Status: new
Priority: low | Milestone: 2.8
Component: Permalinks | Version: 2.7.1
Severity: minor | Keywords: has-patch dev-feedback
--------------------------+-------------------------------------------------
Comment(by DD32):
eval is needed in that situtation (with harke's patch). However, The
original idea to use something else.. Does have the side effect that its
slower..
It converts the rewrite rule from
"?page_id=$matches[0]&$matches[2]=$matches[3]" to "?page_id=2&test=you",
ie. by evaluating the rule directly.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9602#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list