ryan
|
805df2b129
|
Ref checks from mdawaffe.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-30 23:12:54 +00:00 |
ryan
|
9303053d39
|
Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-13 01:44:32 +00:00 |
ryan
|
6970a75e94
|
Rewrite API additions and improvements from David House. #2433
git-svn-id: http://svn.automattic.com/wordpress/trunk@3638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-12 22:57:00 +00:00 |
ryan
|
ce4fd3bf02
|
Forget to group with parens on [3600]. #2498
git-svn-id: http://svn.automattic.com/wordpress/trunk@3601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-03 02:17:14 +00:00 |
ryan
|
18db892b64
|
Make sure posts array is not empty before checking preview state. #2498
git-svn-id: http://svn.automattic.com/wordpress/trunk@3600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-03 02:14:31 +00:00 |
ryan
|
6452ec1bbc
|
What's up front? #2515
git-svn-id: http://svn.automattic.com/wordpress/trunk@3581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-01 07:08:04 +00:00 |
ryan
|
6eadde74ac
|
Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-28 08:00:39 +00:00 |
ryan
|
5322fc2faa
|
current user cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@3566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-22 19:08:55 +00:00 |
ryan
|
b4166c403b
|
Allow queries by post type. Enable paging in Manage->Pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@3564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-21 08:39:58 +00:00 |
ryan
|
bcb996e5d3
|
Don't show private and draft pages in post lists. fixes #2442
git-svn-id: http://svn.automattic.com/wordpress/trunk@3528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-14 06:23:03 +00:00 |
ryan
|
ecb85e38bb
|
Don't walk rewrite structure when generating comment feed rewrite rules. This fixes a bug uncovered when we switched from unions to merges. Props joshkidd. fixes #2379
git-svn-id: http://svn.automattic.com/wordpress/trunk@3527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-14 01:30:14 +00:00 |
ryan
|
8b166d5c9b
|
User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: http://svn.automattic.com/wordpress/trunk@3519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-12 08:14:10 +00:00 |
ryan
|
dd202ce1f9
|
Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: http://svn.automattic.com/wordpress/trunk@3517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-12 07:53:23 +00:00 |
ryan
|
a5fc1e9ebe
|
Post status = future. #2426
git-svn-id: http://svn.automattic.com/wordpress/trunk@3514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-12 07:41:56 +00:00 |
ryan
|
67968a6127
|
get_page_by_path. Some page uri cleanups.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-10 00:54:16 +00:00 |
ryan
|
f812294867
|
Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: http://svn.automattic.com/wordpress/trunk@3510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-02-09 10:03:48 +00:00 |
ryan
|
72dfd6faab
|
404 if category not found. fixes #2123
git-svn-id: http://svn.automattic.com/wordpress/trunk@3484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-25 03:59:41 +00:00 |
ryan
|
9a6867aa44
|
is_preview() fixes from David House. fixes #2188
git-svn-id: http://svn.automattic.com/wordpress/trunk@3473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-23 23:39:56 +00:00 |
ryan
|
f4071a3759
|
Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: http://svn.automattic.com/wordpress/trunk@3472 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-23 23:20:17 +00:00 |
ryan
|
3fa51b528a
|
Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: http://svn.automattic.com/wordpress/trunk@3467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-20 21:07:10 +00:00 |
ryan
|
f6c66d873d
|
Give draft posts a current timestamp. Props David House and technosailor. fixes #2164
git-svn-id: http://svn.automattic.com/wordpress/trunk@3458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-18 19:30:28 +00:00 |
ryan
|
96abeca9f3
|
Don't overwrite global request when starting a new query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-11 11:06:26 +00:00 |
ryan
|
9c9f5f8aaa
|
Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: http://svn.automattic.com/wordpress/trunk@3401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-05 03:47:38 +00:00 |
ryan
|
6db55e81a6
|
Fix variable name collision that was breaking paging. fixes #2204
git-svn-id: http://svn.automattic.com/wordpress/trunk@3396 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-04 00:41:53 +00:00 |
ryan
|
e2aecdde88
|
Better broken path info workaround for setups that use redirection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-01-03 00:59:31 +00:00 |
ryan
|
67febd9d7a
|
Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: http://svn.automattic.com/wordpress/trunk@3385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-31 21:53:13 +00:00 |
ryan
|
305a286ce1
|
Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: http://svn.automattic.com/wordpress/trunk@3373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-28 07:05:05 +00:00 |
ryan
|
240128b76d
|
Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3371 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-28 04:27:21 +00:00 |
ryan
|
8906eb2557
|
Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: http://svn.automattic.com/wordpress/trunk@3370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-28 01:48:29 +00:00 |
ryan
|
541c30cc70
|
Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: http://svn.automattic.com/wordpress/trunk@3356 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-24 16:26:55 +00:00 |
ryan
|
beca0741ca
|
Init tweak. No need to prime category cache.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-18 22:08:01 +00:00 |
ryan
|
5a56fc2414
|
is_user_logged_in()
git-svn-id: http://svn.automattic.com/wordpress/trunk@3309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-15 16:31:41 +00:00 |
ryan
|
ab9b8f8b6a
|
Attachment enhancements from skeltoac. fixes #2074
git-svn-id: http://svn.automattic.com/wordpress/trunk@3303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 19:19:56 +00:00 |
ryan
|
3671c6786d
|
Update post cache before running the_posts filter. Since we already retrieved them, might as well cache them even if they are filtered out by plugins later.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 03:49:09 +00:00 |
ryan
|
f588d966bd
|
Add read_post meta cap.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-13 00:54:52 +00:00 |
ryan
|
2a4aafe9b9
|
Fix attachment queries. fixes #2041
git-svn-id: http://svn.automattic.com/wordpress/trunk@3293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-12 01:33:46 +00:00 |
ryan
|
93cd8402f2
|
Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: http://svn.automattic.com/wordpress/trunk@3290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-11 19:14:29 +00:00 |
ryan
|
40a83116c2
|
Don't attempt to match the index against a rule. This fixes problems with /index.php requests matching agagainst the %category% rewrite rules.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-12-01 01:34:29 +00:00 |
ryan
|
f57362c61c
|
Only unset query vars when serving admin pages. fixes #1979
git-svn-id: http://svn.automattic.com/wordpress/trunk@3233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-29 06:44:44 +00:00 |
ryan
|
efce6979b1
|
Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: http://svn.automattic.com/wordpress/trunk@3229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-29 01:43:32 +00:00 |
ryan
|
cba87fb462
|
Don't try to do permalinks for admin pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-28 23:30:42 +00:00 |
matt
|
2fdc11a1d2
|
Don't show 404s for empty cats, fixes #1969
git-svn-id: http://svn.automattic.com/wordpress/trunk@3215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-28 03:15:48 +00:00 |
ryan
|
313e9a406b
|
Strip home path from path info. This prevents a path info value of '/wp/index.php' from being considered as a permalink request. fixes #1938
git-svn-id: http://svn.automattic.com/wordpress/trunk@3206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-23 22:38:25 +00:00 |
ryan
|
9426478867
|
Store some values in the class for debug purposes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-22 21:07:48 +00:00 |
ryan
|
d662ef80b1
|
Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: http://svn.automattic.com/wordpress/trunk@3130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-17 09:10:18 +00:00 |
ryan
|
4eb19bcf5e
|
More 404 work. Hopefully fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 22:54:52 +00:00 |
ryan
|
aba1a4437d
|
Fix 404s. Props donncha. fixes #1471
git-svn-id: http://svn.automattic.com/wordpress/trunk@3108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 10:16:20 +00:00 |
ryan
|
10c71b6d01
|
Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: http://svn.automattic.com/wordpress/trunk@3097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 01:58:04 +00:00 |
ryan
|
72c031e0a5
|
Update to use cap API.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-16 00:50:02 +00:00 |
ryan
|
f83326f125
|
Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2005-11-15 22:55:24 +00:00 |