[wp-hackers] 1.5.2
Owen Winkler
ringmaster at midnightcircus.com
Tue Aug 9 17:33:19 GMT 2005
Matt Mullenweg wrote:
> I'm curious on people's thoughts on this new code:
>
> http://trac.wordpress.org/changeset/2768
Totally hosed my site.
Add these two lines after the change in 2768:
unset($name);
unset($value);
Basically, $name was retaining the name of the last global set, and this
value was passed on to WP->parse_request() as the name of the post to
retrieve.
Since the value was always '_' for some reason coming out of that loop,
no post was ever returned.
Otherwise, seems like a good idea.
Owen
More information about the wp-hackers
mailing list