ryan
|
ec8e347792
|
Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: http://svn.automattic.com/wordpress/trunk@12598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-04 17:23:29 +00:00 |
westi
|
05e19b1cde
|
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: http://svn.automattic.com/wordpress/trunk@12520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-23 16:23:40 +00:00 |
ryan
|
9f2fbbc2f9
|
Fix attachment rewrite endpoints. Props Curioso. fixes #5553
git-svn-id: http://svn.automattic.com/wordpress/trunk@12271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-24 16:08:13 +00:00 |
ryan
|
97b5a5f483
|
Improve IIS rewrite support. Props ruslany, peaceablewhale. fixes #10386
git-svn-id: http://svn.automattic.com/wordpress/trunk@12264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-23 18:17:46 +00:00 |
ryan
|
3de2e1a319
|
Don't return extra permastructs if pretty permalinks not turned on. Props scribu. fixes #11061
git-svn-id: http://svn.automattic.com/wordpress/trunk@12230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-11-19 22:47:11 +00:00 |
markjaquith
|
22518cefe2
|
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: http://svn.automattic.com/wordpress/trunk@12061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-10-19 21:10:46 +00:00 |
westi
|
15d31d9644
|
Replace eval usage in request processing with new WP_MatchesMapRegex() class usage. See #9602 props hakre.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-08-20 20:09:36 +00:00 |
ryan
|
4d0c574bed
|
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: http://svn.automattic.com/wordpress/trunk@11578 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-06-16 02:44:28 +00:00 |
ryan
|
2df887bd07
|
Trim tailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@11450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-24 23:47:49 +00:00 |
ryan
|
2eafafa8c6
|
Fix comment paging for static front page. Props DD32. fixes #8598
git-svn-id: http://svn.automattic.com/wordpress/trunk@11419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-20 22:24:37 +00:00 |
ryan
|
24f847661f
|
Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974
git-svn-id: http://svn.automattic.com/wordpress/trunk@11350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-16 02:04:36 +00:00 |
ryan
|
a1d5fbaec2
|
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: http://svn.automattic.com/wordpress/trunk@11335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 21:50:20 +00:00 |
westi
|
55ce914fbc
|
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: http://svn.automattic.com/wordpress/trunk@11325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-05-14 06:38:34 +00:00 |
ryan
|
8cd2e92b69
|
Clarify add endpoint phpdoc. Props Denis-de-Bernardy. fixes #9476
git-svn-id: http://svn.automattic.com/wordpress/trunk@11102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-27 21:11:01 +00:00 |
ryan
|
e8dc44ad07
|
Cookie support for HTTP API. Props beaulebens. fixes #9049 #9037 #8727
git-svn-id: http://svn.automattic.com/wordpress/trunk@10512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 21:59:37 +00:00 |
ryan
|
091b7a876b
|
Revert 10507. Had extra bits in. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10508 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 20:47:30 +00:00 |
ryan
|
80a6b13f81
|
HTTP API updates and fixes. Props sivel. see #8702
git-svn-id: http://svn.automattic.com/wordpress/trunk@10507 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-05 20:46:39 +00:00 |
ryan
|
94756368e6
|
Update rewrite phpdoc. Props filosofo. fixes #8998
git-svn-id: http://svn.automattic.com/wordpress/trunk@10464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-01-29 22:11:27 +00:00 |
ryan
|
e89192b1a8
|
Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-09 18:03:31 +00:00 |
ryan
|
6d04a62bfd
|
Escape dot in robots rewrite rule. Props Jean-LucfromBrussels and DD32. fixes #8176
git-svn-id: http://svn.automattic.com/wordpress/trunk@9650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-12 23:04:43 +00:00 |
markjaquith
|
54c602edee
|
Always set home_root in the rewrite rules. Dreamhost does not set the path for some reason. Props Joe Taiabjee
git-svn-id: http://svn.automattic.com/wordpress/trunk@9516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-04 21:58:30 +00:00 |
ryan
|
2fdde1e736
|
Notice fixes from filosofo and Viper007Bond. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-04 03:22:24 +00:00 |
ryan
|
f275541cf6
|
pretty permalinks for comment paging. Props Viper007Bind. fixes #7942
git-svn-id: http://svn.automattic.com/wordpress/trunk@9300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-23 18:55:22 +00:00 |
ryan
|
31d4e0f6ab
|
phpdoc for rewrite.php. Props jacobsantos. fixes #7660
git-svn-id: http://svn.automattic.com/wordpress/trunk@8924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-18 06:14:01 +00:00 |
ryan
|
ed246088be
|
phpdoc for rewrite.php from jacobsantos. see #7660
git-svn-id: http://svn.automattic.com/wordpress/trunk@8899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-16 00:35:56 +00:00 |
ryan
|
3dccf02b82
|
skeleton phpdoc for rewrite.php. Props jacobsantos. see #7660
git-svn-id: http://svn.automattic.com/wordpress/trunk@8793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-01 05:47:08 +00:00 |
markjaquith
|
f43cf39f19
|
Do not prepend /archives/ et al to category/tag URLs unless category/tag slug is missing. fixes #7490 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-11 20:17:07 +00:00 |
ryan
|
35b18e5034
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-09 05:36:14 +00:00 |
markjaquith
|
74c46749cb
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-06 20:31:54 +00:00 |
ryan
|
a465f3ac7d
|
Add prohphylactic addlashes when evaling query. Props xknown.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-30 17:17:38 +00:00 |
markjaquith
|
3170e3f6ee
|
Better solution for #4536. Slashless normalization of tag/category bases. fixes #7306 for trunk. see #4536
git-svn-id: http://svn.automattic.com/wordpress/trunk@8365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-17 19:41:48 +00:00 |
markjaquith
|
eb3a3bae78
|
Silently add /index.php/ to category_base and tag_base for blogs using PATHINFO permalinks. fixes #4536
git-svn-id: http://svn.automattic.com/wordpress/trunk@8213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-06-29 08:20:25 +00:00 |
ryan
|
34a726ae12
|
Remove default feed function when adding new function to hook. fixes #6970
git-svn-id: http://svn.automattic.com/wordpress/trunk@8179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-06-24 00:29:04 +00:00 |
westi
|
5a375132ac
|
Make sure the direct feed files work when siteurl == homeurl. Fixes #6460 for trunk props DD32.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-28 06:17:01 +00:00 |
ryan
|
1a41abe289
|
Handle pathinfo structures when determining if verbose page rules should be used. Props dlo. fixes #6650 #6570 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-14 17:18:53 +00:00 |
westi
|
88cbd04406
|
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: http://svn.automattic.com/wordpress/trunk@7574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-30 13:42:03 +00:00 |
matt
|
214aaea94f
|
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: http://svn.automattic.com/wordpress/trunk@7563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-29 04:03:09 +00:00 |
ryan
|
c4865c3418
|
Disable mod_security for uploader. Props andy. see #6406
git-svn-id: http://svn.automattic.com/wordpress/trunk@7558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-28 06:08:20 +00:00 |
ryan
|
585f442ec5
|
Redirect back to attachment permalink page after editing attachment via 'Edit This' link.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-27 22:05:51 +00:00 |
ryan
|
bba593e250
|
Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: http://svn.automattic.com/wordpress/trunk@7531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-26 20:17:31 +00:00 |
ryan
|
e1b1845154
|
Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-26 06:37:19 +00:00 |
westi
|
84a5d17f6e
|
Setup the class variable for when it's not used. Props dickie.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-23 22:10:00 +00:00 |
ryan
|
cce67416a3
|
Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-23 17:02:11 +00:00 |
ryan
|
e6a1bade1c
|
Make pagename regex ungreedy. Fixes /pagename/2 links
git-svn-id: http://svn.automattic.com/wordpress/trunk@6964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-21 23:49:05 +00:00 |
ryan
|
d88983793b
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-05 06:47:27 +00:00 |
ryan
|
0866e1e584
|
Don't double requested url in url_to_postid(). Props filosofo. fixes #5661
git-svn-id: http://svn.automattic.com/wordpress/trunk@6614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-14 21:44:08 +00:00 |
westi
|
1aaec4ff30
|
Notice fixing for wp-includes. See #5607 props filosofo.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-10 20:51:07 +00:00 |
ryan
|
c0d2060f82
|
Use generic page rewrite rules for compatible permalink strucures. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-17 06:29:30 +00:00 |
ryan
|
028a159440
|
Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-06 19:49:33 +00:00 |
ryan
|
7c033fd82c
|
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: http://svn.automattic.com/wordpress/trunk@6351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-04 00:19:10 +00:00 |