Commit Graph

27 Commits

Author SHA1 Message Date
Ryan Boren c29260a09f Make pagename regex ungreedy. Fixes /pagename/2 links
git-svn-id: https://develop.svn.wordpress.org/trunk@6964 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 23:49:05 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 17bf7548d5 Don't double requested url in url_to_postid(). Props filosofo. fixes #5661
git-svn-id: https://develop.svn.wordpress.org/trunk@6614 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-14 21:44:08 +00:00
Peter Westwood 90e193bdab Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: https://develop.svn.wordpress.org/trunk@6592 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-10 20:51:07 +00:00
Ryan Boren 7812280d07 Use generic page rewrite rules for compatible permalink strucures. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6398 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-17 06:29:30 +00:00
Ryan Boren 3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren 364a7f55c4 Don't save page and attachemtn uris to page_uris and page_attachment_uris. This is not needed. Add an option to use wildcard page rewrite rules instead of per-page rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6351 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-04 00:19:10 +00:00
Peter Westwood 3b74215727 Pass through the function argument so rules can actually be added to the top of the stack, props santos
git-svn-id: https://develop.svn.wordpress.org/trunk@5959 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 19:55:11 +00:00
Ryan Boren ca4e75cb57 Don't allow private query vars in url_to_postid
git-svn-id: https://develop.svn.wordpress.org/trunk@5925 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:09:37 +00:00
Ryan Boren aa85dfe187 Allow rules to be added to the top of the rule stack.
git-svn-id: https://develop.svn.wordpress.org/trunk@5769 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-27 21:39:50 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
Ryan Boren e2094a4e19 Add url_to_postid filter. Props Alex King. fixes #4160
git-svn-id: https://develop.svn.wordpress.org/trunk@5283 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-18 22:51:54 +00:00
Matt Mullenweg a059392772 Now tag pretty permalinks should work, and support custom tag bases.
git-svn-id: https://develop.svn.wordpress.org/trunk@5150 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 09:19:32 +00:00
Ryan Boren 45208447a5 Set EP_ALL to 4095. Props jhodgdon. fixes #3963
git-svn-id: https://develop.svn.wordpress.org/trunk@5131 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:19:42 +00:00
Ryan Boren 924e6679d4 Rewrit endpoint fixes from westi. see #3964
git-svn-id: https://develop.svn.wordpress.org/trunk@5130 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-29 00:17:40 +00:00
Mark Jaquith 56368548ad Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 05:29:15 +00:00
Mark Jaquith 5164d38cb5 Consistent use or disuse of trailing slashes in URLs according to user preference. props MathiasBynens. fixes #1485
git-svn-id: https://develop.svn.wordpress.org/trunk@4886 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-15 07:07:12 +00:00
Ryan Boren a92a6dea29 Fix feed links when using %category% permalink structure. Props westi. fixes #3214
git-svn-id: https://develop.svn.wordpress.org/trunk@4551 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-30 01:54:05 +00:00
Ryan Boren e44ea1ff93 Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-19 07:56:05 +00:00
Ryan Boren 0a90af5b7c Increment tok_index. fixes #2785
git-svn-id: https://develop.svn.wordpress.org/trunk@4279 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-03 15:56:23 +00:00
Ryan Boren df3c1a520e Don't use rewrite array as string. fixes #2771
git-svn-id: https://develop.svn.wordpress.org/trunk@4200 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 00:09:37 +00:00
Ryan Boren 7d25a72195 do_action_ref_array(). fixes #3125
git-svn-id: https://develop.svn.wordpress.org/trunk@4186 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-12 17:45:23 +00:00
Ryan Boren 7e82eef627 Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 21:46:31 +00:00
Ryan Boren cd766e57e9 s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 16:40:17 +00:00
Ryan Boren a868cae733 Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3791 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 22:06:06 +00:00
Ryan Boren 8928035208 Move url_to_postid() to rewrite.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3712 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-18 04:47:26 +00:00
Ryan Boren b573abbd16 Rewrite API additions and improvements from David House. #2433
git-svn-id: https://develop.svn.wordpress.org/trunk@3638 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-12 22:57:00 +00:00