Dion Hulse
|
05889a6180
|
Whitespace additions to WP_Rewrite. A few coding standards too.
git-svn-id: https://develop.svn.wordpress.org/trunk@13689 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 07:29:10 +00:00 |
|
Dion Hulse
|
327d84d8f8
|
Add Endpoints for Attachments, Paging, Comment paging and custom Endpoints to custom post_type's. See #12597
git-svn-id: https://develop.svn.wordpress.org/trunk@13688 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 06:59:07 +00:00 |
|
Andrew Nacin
|
8a287c5c63
|
Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: https://develop.svn.wordpress.org/trunk@13678 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-11 23:33:01 +00:00 |
|
Andrew Nacin
|
403bf947e1
|
Don't check for the existence of index.php in the htaccess rewrite rules. props miqrogroove. see #11845
git-svn-id: https://develop.svn.wordpress.org/trunk@13676 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-11 22:58:43 +00:00 |
|
Ron Rennick
|
fce63decb9
|
update iis rewrite rules for MS, see #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@13596 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-05 23:44:43 +00:00 |
|
Andrew Nacin
|
e122f6d181
|
Introduce add_permastruct() and flush_rewrite_rules(), wrappers for the corresponding WP_Rewrite methods. Fixes #10912 props scribu
git-svn-id: https://develop.svn.wordpress.org/trunk@13438 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-26 19:23:58 +00:00 |
|
Ryan Boren
|
66b081abd2
|
Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-24 19:07:21 +00:00 |
|
Ryan Boren
|
8ef8b7bad5
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-15 22:11:12 +00:00 |
|
Ryan Boren
|
10f2b3a02e
|
Formatting cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12700 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-11 22:30:21 +00:00 |
|
Ron Rennick
|
8b4fbdb503
|
merge in multisite login, wp-includes, See #11644
git-svn-id: https://develop.svn.wordpress.org/trunk@12697 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-11 21:49:40 +00:00 |
|
Ryan Boren
|
974b6c1ce4
|
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-04 17:23:29 +00:00 |
|
Peter Westwood
|
71847c3df1
|
Check that get_page_hierarchy() returns something before trying to build the verbose page rules in WP_Rewrite::page_uri_index(). Fixes #11578.
git-svn-id: https://develop.svn.wordpress.org/trunk@12520 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 16:23:40 +00:00 |
|
Ryan Boren
|
dff67e2fa2
|
Fix attachment rewrite endpoints. Props Curioso. fixes #5553
git-svn-id: https://develop.svn.wordpress.org/trunk@12271 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-24 16:08:13 +00:00 |
|
Ryan Boren
|
bef6051a09
|
Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: https://develop.svn.wordpress.org/trunk@12264 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-23 18:17:46 +00:00 |
|
Ryan Boren
|
61d89b7b39
|
Don't return extra permastructs if pretty permalinks not turned on. Props scribu. fixes #11061
git-svn-id: https://develop.svn.wordpress.org/trunk@12230 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-19 22:47:11 +00:00 |
|
Mark Jaquith
|
395f0b9e2d
|
Revert to old options table storage of rewrite_rules. Transient object caches would silently regenerate rewrite_rules without giving plugins a chance to readd endpoints. fixes #10981
git-svn-id: https://develop.svn.wordpress.org/trunk@12061 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-19 21:10:46 +00:00 |
|
Peter Westwood
|
885fce4ea9
|
Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@11853 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-20 20:09:36 +00:00 |
|
Ryan Boren
|
2aa1252ebe
|
Don't write to htaccess every time page is saved. Add hard/soft flush flag to flush_rules(). Make sure fopen is successful and silence errors. Props Viper007Bond. fixes #10181 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@11578 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-16 02:44:28 +00:00 |
|
Ryan Boren
|
e12c642c54
|
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-24 23:47:49 +00:00 |
|
Ryan Boren
|
33de612b06
|
Fix comment paging for static front page. Props DD32. fixes #8598
git-svn-id: https://develop.svn.wordpress.org/trunk@11419 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-20 22:24:37 +00:00 |
|
Ryan Boren
|
5d6ca1f0dc
|
Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974
git-svn-id: https://develop.svn.wordpress.org/trunk@11350 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-16 02:04:36 +00:00 |
|
Ryan Boren
|
701d5f8bad
|
Better verbose page rule detection to support showing posts on a page with a custom permastruct. Props Denis-de-Bernardy. fixes #6603
git-svn-id: https://develop.svn.wordpress.org/trunk@11335 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-14 21:50:20 +00:00 |
|
Peter Westwood
|
356592efa7
|
Add a permalink_structure_changed action to allow plugins to do something once the new structure has been applied to WP_Rewrite.
git-svn-id: https://develop.svn.wordpress.org/trunk@11325 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-14 06:38:34 +00:00 |
|
Ryan Boren
|
b05307b90c
|
Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476
git-svn-id: https://develop.svn.wordpress.org/trunk@11102 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-27 21:11:01 +00:00 |
|
Ryan Boren
|
cb96fac899
|
Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: https://develop.svn.wordpress.org/trunk@10512 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 21:59:37 +00:00 |
|
Ryan Boren
|
c34a272b1e
|
Revert 10507. Had extra bits in. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10508 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 20:47:30 +00:00 |
|
Ryan Boren
|
c0ece11af5
|
HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: https://develop.svn.wordpress.org/trunk@10507 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-05 20:46:39 +00:00 |
|
Ryan Boren
|
a93005de79
|
Update rewrite phpdoc. Props filosofo. fixes #8998
git-svn-id: https://develop.svn.wordpress.org/trunk@10464 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-01-29 22:11:27 +00:00 |
|
Ryan Boren
|
baaaa352ba
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-09 18:03:31 +00:00 |
|
Ryan Boren
|
4fc511e7b3
|
Escape dot in robots rewrite rule. Props Jean-LucfromBrussels and DD32. fixes #8176
git-svn-id: https://develop.svn.wordpress.org/trunk@9650 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-12 23:04:43 +00:00 |
|
Mark Jaquith
|
d9b39736ba
|
Always set home_root in the rewrite rules. Dreamhost does not set the path for some reason. Props Joe Taiabjee
git-svn-id: https://develop.svn.wordpress.org/trunk@9516 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-04 21:58:30 +00:00 |
|
Ryan Boren
|
dab986a9b0
|
Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-04 03:22:24 +00:00 |
|
Ryan Boren
|
1378f82ebc
|
pretty permalinks for comment paging. Props Viper007Bind. fixes #7942
git-svn-id: https://develop.svn.wordpress.org/trunk@9300 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-23 18:55:22 +00:00 |
|
Ryan Boren
|
075f62d94a
|
phpdoc for rewrite.php. Props jacobsantos. fixes #7660
git-svn-id: https://develop.svn.wordpress.org/trunk@8924 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-18 06:14:01 +00:00 |
|
Ryan Boren
|
a9e3ed182e
|
phpdoc for rewrite.php from jacobsantos. see #7660
git-svn-id: https://develop.svn.wordpress.org/trunk@8899 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-16 00:35:56 +00:00 |
|
Ryan Boren
|
2d5c26d8c8
|
skeleton phpdoc for rewrite.php. Props jacobsantos. see #7660
git-svn-id: https://develop.svn.wordpress.org/trunk@8793 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-01 05:47:08 +00:00 |
|
Mark Jaquith
|
5a8b37fdc9
|
Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8616 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-11 20:17:07 +00:00 |
|
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
|
Mark Jaquith
|
3cab99fbd2
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-06 20:31:54 +00:00 |
|
Ryan Boren
|
22497fb74f
|
Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: https://develop.svn.wordpress.org/trunk@8510 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-30 17:17:38 +00:00 |
|
Mark Jaquith
|
80f79a7fed
|
Better solution for #4536. Slashless normalization of tag/category bases. fixes #7306 for trunk. see #4536
git-svn-id: https://develop.svn.wordpress.org/trunk@8365 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-17 19:41:48 +00:00 |
|
Mark Jaquith
|
cab4a6a625
|
Silently add /index.php/ to category_base and tag_base for blogs using PATHINFO permalinks. fixes #4536
git-svn-id: https://develop.svn.wordpress.org/trunk@8213 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-29 08:20:25 +00:00 |
|
Ryan Boren
|
86bfd4952f
|
Remove default feed function when adding new function to hook. fixes #6970
git-svn-id: https://develop.svn.wordpress.org/trunk@8179 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-24 00:29:04 +00:00 |
|
Peter Westwood
|
97df84ee03
|
Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: https://develop.svn.wordpress.org/trunk@7841 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-28 06:17:01 +00:00 |
|
Ryan Boren
|
1795ef877c
|
Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7665 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-14 17:18:53 +00:00 |
|
Peter Westwood
|
f12bcad806
|
Make sure the rewrite rules for the feed files match when WordPress is installed in a subdirectory. See #6460 this is for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@7574 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-30 13:42:03 +00:00 |
|
Matt Mullenweg
|
e0c55d6d00
|
In some environments people can override most things but not mod_sec rules, so this breaks their blog and they can't recover unless they manually edit the file. There is no way to detect whether you can overwrite the rules or not.
git-svn-id: https://develop.svn.wordpress.org/trunk@7563 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-29 04:03:09 +00:00 |
|
Ryan Boren
|
36b19bb6ad
|
Disable mod_security for uploader. Props andy. see #6406
git-svn-id: https://develop.svn.wordpress.org/trunk@7558 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-28 06:08:20 +00:00 |
|
Ryan Boren
|
6bda12dfad
|
Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: https://develop.svn.wordpress.org/trunk@7554 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-27 22:05:51 +00:00 |
|
Ryan Boren
|
9ce77cf8d8
|
Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: https://develop.svn.wordpress.org/trunk@7531 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-26 20:17:31 +00:00 |
|
Ryan Boren
|
ec33c42302
|
Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-26 06:37:19 +00:00 |
|
Peter Westwood
|
63bff04221
|
Setup the class variable for when it's not used. Props dickie.
git-svn-id: https://develop.svn.wordpress.org/trunk@7493 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-23 22:10:00 +00:00 |
|
Ryan Boren
|
cbfb5d78b5
|
Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-23 17:02:11 +00:00 |
|
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 |
|