Commit Graph

13 Commits

Author SHA1 Message Date
Jon Cave 95b591c1f7 Use correct variable. We preg_match() against $request_match, so that's what should be checked with empty() too. Fixes #17177.
git-svn-id: https://develop.svn.wordpress.org/trunk@19280 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:05:13 +00:00
Ryan Boren 4399cf7610 Avoid E_STRICT notices. see #18975
git-svn-id: https://develop.svn.wordpress.org/trunk@19094 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-31 19:38:46 +00:00
Andrew Nacin d4bbfbad98 We know that pagename is being assigned to $matches-something, so skip the variable variable. props duck_. see #18991.
git-svn-id: https://develop.svn.wordpress.org/trunk@19017 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-19 22:49:45 +00:00
Andrew Nacin 90f95e0204 new does not require by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 20:20:59 +00:00
Jon Cave 205aa5ba5c Fix typos in documentation (wp-includes/[a-h]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18633 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-03 16:02:41 +00:00
Mark Jaquith 48d294e7ea Eliminate verbose rewrite rules for ambiguous rewrite structures, resulting in massive performance gains. props andy, otto42, duck_. Nice work everyone! see #16687
git-svn-id: https://develop.svn.wordpress.org/trunk@18541 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-12 01:55:08 +00:00
Ryan Boren 6395eb9ab6 Explain the empty req_uri branch. Props duck_. fixes #17177
git-svn-id: https://develop.svn.wordpress.org/trunk@18467 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:20:07 +00:00
Ryan Boren 12b5c9c93e Optimize parse_request for the home page. Props duck_. see #17177
git-svn-id: https://develop.svn.wordpress.org/trunk@18466 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 20:18:07 +00:00
Andrew Nacin 1df1e7f1b5 Don't 404 for empty post type archives. props markmcwilliams, jfarthing84, fixes #17316.
git-svn-id: https://develop.svn.wordpress.org/trunk@18192 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 16:07:38 +00:00
Ryan Boren 9730cb8d15 Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 20:05:12 +00:00
scribu eb6a65e501 Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16526 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 16:33:05 +00:00
Andrew Nacin 88fa2b340c File-level phpdoc for new class files. fixes #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16101 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 14:09:05 +00:00
Andrew Nacin edc329c691 Begin the dissolution of classes.php. see #10287.
git-svn-id: https://develop.svn.wordpress.org/trunk@16099 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-30 07:02:06 +00:00