Mark Jaquith
|
0984bae175
|
Correctly handle PATHINFO CPTs and CTs that specify with_front=false. fixes #16807 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17518 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-10 04:24:48 +00:00 |
|
Ryan Boren
|
0c2c9f24a5
|
Revert [15987] [15988] [15989]. Props SergeyBiryukov. see #9824 fixes #16041
git-svn-id: https://develop.svn.wordpress.org/trunk@17226 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-06 03:59:22 +00:00 |
|
Andrew Nacin
|
18edc09e6a
|
More @since. props SergeyBiryukov, fixes #15445.
git-svn-id: https://develop.svn.wordpress.org/trunk@17071 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-20 09:25:21 +00:00 |
|
scribu
|
accc855bdc
|
Remove excess comments from url_to_postid(). See #15771
git-svn-id: https://develop.svn.wordpress.org/trunk@16878 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-11 09:28:36 +00:00 |
|
scribu
|
9c1dd77de9
|
Use is_singular in url_to_postid(). See #15771
git-svn-id: https://develop.svn.wordpress.org/trunk@16877 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-11 09:25:02 +00:00 |
|
Dion Hulse
|
416efb62b4
|
Check to see if WP_Query has returned any posts before blindly accessing posts. Fixes #15771
git-svn-id: https://develop.svn.wordpress.org/trunk@16872 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-11 06:35:47 +00:00 |
|
Andrew Nacin
|
98362127ad
|
s/flush/flush_rules/ in a comment. fixes #15474, props hakre.
git-svn-id: https://develop.svn.wordpress.org/trunk@16470 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-18 19:21:54 +00:00 |
|
Andrew Nacin
|
200eefec46
|
Use square brackets instead of braces for string access. props hakre, fixes #13900.
git-svn-id: https://develop.svn.wordpress.org/trunk@16340 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 09:53:55 +00:00 |
|
Peter Westwood
|
743606fac1
|
Fix some notices when pinging
git-svn-id: https://develop.svn.wordpress.org/trunk@16069 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-29 07:07:28 +00:00 |
|
Andrew Nacin
|
a484cb25a0
|
Bool cast preg_match, in readable form. see #9824.
git-svn-id: https://develop.svn.wordpress.org/trunk@15989 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-27 00:30:49 +00:00 |
|
Andrew Nacin
|
2fa2485d20
|
Bool cast preg_match. see #9824.
git-svn-id: https://develop.svn.wordpress.org/trunk@15988 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-27 00:27:08 +00:00 |
|
scribu
|
f196a4932c
|
Don't trigger verbose page rules if permalink begins with fixed string. Fixes #9824
git-svn-id: https://develop.svn.wordpress.org/trunk@15987 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-27 00:25:03 +00:00 |
|
Dion Hulse
|
20e3b23a80
|
Remove missed tokens in [15825]. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15826 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-17 06:10:53 +00:00 |
|
Dion Hulse
|
d7b230ca26
|
Merge Category/Tag URL creation/rewriting into general Taxonomy system. Removes the legacy handling for these url's. See #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@15825 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-17 05:41:22 +00:00 |
|
Andrew Nacin
|
9494e4ce7e
|
Phpdoc argument/@param cleanups. props duck_, see #14783.
git-svn-id: https://develop.svn.wordpress.org/trunk@15590 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 11:21:11 +00:00 |
|
scribu
|
bfb520f616
|
Don't hardcode the pagination base. Fixes #12507
git-svn-id: https://develop.svn.wordpress.org/trunk@15582 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-09-07 01:18:42 +00:00 |
|
Ryan Boren
|
ad175650ea
|
IIS rewrite fixes. Props duck_, ruslany. fixes #13679
git-svn-id: https://develop.svn.wordpress.org/trunk@15109 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-06-02 14:58:36 +00:00 |
|
Ron Rennick
|
e5bd1500f0
|
add rewrites for registration pages, fixes #13638
git-svn-id: https://develop.svn.wordpress.org/trunk@15081 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-31 20:50:27 +00:00 |
|
Ryan Boren
|
aec821c651
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 02:42:15 +00:00 |
|
Ron Rennick
|
a9dee7eba7
|
cleanup $indents, props filosofo, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14885 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 15:31:28 +00:00 |
|
Ron Rennick
|
aa8a5ab580
|
update rewrite rules for IIS, props Frumph, see #12758
git-svn-id: https://develop.svn.wordpress.org/trunk@14871 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 05:12:47 +00:00 |
|
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
|
Andrew Nacin
|
a3d0926168
|
Don't serve dynamic robots.txt when WP is not installed at the root of a domain. props solarissmoke, fixes #13115
git-svn-id: https://develop.svn.wordpress.org/trunk@14273 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-28 06:37:15 +00:00 |
|
Dion Hulse
|
87981059db
|
Change custom post_type default Rewrite endpoint mask to EP_PERMALINK to ensure comment paging rules are added. Removes redundant/non-usable EP_NONE branch. Fixes #13086
git-svn-id: https://develop.svn.wordpress.org/trunk@14219 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 14:42:30 +00:00 |
|
Andrew Nacin
|
bf00891a05
|
Use is_post_type_hierarchical and is_taxonomy_hierarchical when we're fetching a post/tax object only to check the hierarchical flag. fixes #12950.
git-svn-id: https://develop.svn.wordpress.org/trunk@14155 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 15:54:45 +00:00 |
|
Dion Hulse
|
6be1550e75
|
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:23:52 +00:00 |
|
Dion Hulse
|
513dc9d474
|
Allow for a custom Endpoint Mask to be passed to add_endpoint(). Allows for endpoints to be targeted to specific rewrite rules. Allow custom post_types to specify their Endpoint mask. Allows for post_type's rewrite rules to inherit Post endpoints, or alternatively, allows for add_endpoint() to target specific post_types. Fixes #12605
git-svn-id: https://develop.svn.wordpress.org/trunk@13773 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:05:32 +00:00 |
|
Andrew Nacin
|
ddc506f01c
|
Remove unnecessary ternary operators such as (expr) ? true : false.
git-svn-id: https://develop.svn.wordpress.org/trunk@13769 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:15:00 +00:00 |
|
Ryan Boren
|
e61755c853
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:27:25 +00:00 |
|
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 |
|