Commit Graph

133 Commits

Author SHA1 Message Date
Ryan Boren 55ba231f8e What's up front? #2515
git-svn-id: https://develop.svn.wordpress.org/trunk@3581 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-01 07:08:04 +00:00
Ryan Boren a1d0a8e672 Add get_category_by_path(). Remove old fullpath stuff.
git-svn-id: https://develop.svn.wordpress.org/trunk@3576 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-28 08:00:39 +00:00
Ryan Boren cd4a8a24c5 current user cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@3566 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-22 19:08:55 +00:00
Ryan Boren dd489dd463 Allow queries by post type. Enable paging in Manage->Pages
git-svn-id: https://develop.svn.wordpress.org/trunk@3564 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-21 08:39:58 +00:00
Ryan Boren b8dd301bf4 Don't show private and draft pages in post lists. fixes #2442
git-svn-id: https://develop.svn.wordpress.org/trunk@3528 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 06:23:03 +00:00
Ryan Boren 0fff955751 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: https://develop.svn.wordpress.org/trunk@3527 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-14 01:30:14 +00:00
Ryan Boren 0fc597ee9e User ref instead of copying. Props m4ttias. fixes #2256
git-svn-id: https://develop.svn.wordpress.org/trunk@3519 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 08:14:10 +00:00
Ryan Boren 6008a133c4 Death to trailing tabs. Props Mark J. fixes #2405
git-svn-id: https://develop.svn.wordpress.org/trunk@3517 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:53:23 +00:00
Ryan Boren f156e83af5 Post status = future. #2426
git-svn-id: https://develop.svn.wordpress.org/trunk@3514 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-12 07:41:56 +00:00
Ryan Boren 91421a7124 get_page_by_path. Some page uri cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@3511 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-10 00:54:16 +00:00
Ryan Boren f961003343 Allow draft pages. Use post_type for object types. Reserve post_status strictly for status. fixes #1820
git-svn-id: https://develop.svn.wordpress.org/trunk@3510 602fd350-edb4-49c9-b593-d223f7449a82
2006-02-09 10:03:48 +00:00
Ryan Boren c89ddb677f 404 if category not found. fixes #2123
git-svn-id: https://develop.svn.wordpress.org/trunk@3484 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-25 03:59:41 +00:00
Ryan Boren 28bd6692a0 is_preview() fixes from David House. fixes #2188
git-svn-id: https://develop.svn.wordpress.org/trunk@3473 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:39:56 +00:00
Ryan Boren dc34d7be58 Use array_append() instead of unions. Props majelbstoat. fixes #2321
git-svn-id: https://develop.svn.wordpress.org/trunk@3472 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-23 23:20:17 +00:00
Ryan Boren c2835f7266 Make sure we have an array. Props Ozh and David House. fixes #2313
git-svn-id: https://develop.svn.wordpress.org/trunk@3467 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-20 21:07:10 +00:00
Ryan Boren 006f02c99c Give draft posts a current timestamp. Props David House and technosailor. fixes #2164
git-svn-id: https://develop.svn.wordpress.org/trunk@3458 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-18 19:30:28 +00:00
Ryan Boren ecbd16bf50 Don't overwrite global request when starting a new query.
git-svn-id: https://develop.svn.wordpress.org/trunk@3426 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-11 11:06:26 +00:00
Ryan Boren d702816be5 Add [L] to rewrite rule. Props cavemonkey50. fixes #2222
git-svn-id: https://develop.svn.wordpress.org/trunk@3401 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-05 03:47:38 +00:00
Ryan Boren dc9a9382c2 Fix variable name collision that was breaking paging. fixes #2204
git-svn-id: https://develop.svn.wordpress.org/trunk@3396 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-04 00:41:53 +00:00
Ryan Boren 2ae1176fcb Better broken path info workaround for setups that use redirection.
git-svn-id: https://develop.svn.wordpress.org/trunk@3395 602fd350-edb4-49c9-b593-d223f7449a82
2006-01-03 00:59:31 +00:00
Ryan Boren e631d34d50 Fallback to matching the leaf category if the full path doesn't match. Props David House. fixes #2161
git-svn-id: https://develop.svn.wordpress.org/trunk@3385 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-31 21:53:13 +00:00
Ryan Boren 5be951ca28 Cache rewrite rules. Add WP_Rewrite::flush_rules(). fixes #2155
git-svn-id: https://develop.svn.wordpress.org/trunk@3373 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 07:05:05 +00:00
Ryan Boren eddf881bb5 Create explicit page attachment rewrite rules rather than matching the attachment name against a regexp.
git-svn-id: https://develop.svn.wordpress.org/trunk@3371 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 04:27:21 +00:00
Ryan Boren 424dd330fe Anchor str replacements to head so that we don't replace across the entire string. fixes #2162
git-svn-id: https://develop.svn.wordpress.org/trunk@3370 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-28 01:48:29 +00:00
Ryan Boren 250ecaaf4f Fix page permalink 404 when pages are reordered. Props David House. fixes #2071
git-svn-id: https://develop.svn.wordpress.org/trunk@3356 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-24 16:26:55 +00:00
Ryan Boren 46484d14df Init tweak. No need to prime category cache.
git-svn-id: https://develop.svn.wordpress.org/trunk@3327 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-18 22:08:01 +00:00
Ryan Boren ecea3fad26 is_user_logged_in()
git-svn-id: https://develop.svn.wordpress.org/trunk@3309 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-15 16:31:41 +00:00
Ryan Boren f160329f66 Attachment enhancements from skeltoac. fixes #2074
git-svn-id: https://develop.svn.wordpress.org/trunk@3303 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 19:19:56 +00:00
Ryan Boren f4579af67b 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: https://develop.svn.wordpress.org/trunk@3300 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 03:49:09 +00:00
Ryan Boren 73edfc7c20 Add read_post meta cap.
git-svn-id: https://develop.svn.wordpress.org/trunk@3297 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-13 00:54:52 +00:00
Ryan Boren 2907e6aade Fix attachment queries. fixes #2041
git-svn-id: https://develop.svn.wordpress.org/trunk@3293 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-12 01:33:46 +00:00
Ryan Boren e225cc0e92 Update get_queried_object() to use get_userdata() when retrieving authors. fixes #2044
git-svn-id: https://develop.svn.wordpress.org/trunk@3290 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-11 19:14:29 +00:00
Ryan Boren b6d0d21f63 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: https://develop.svn.wordpress.org/trunk@3252 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-01 01:34:29 +00:00
Ryan Boren 007caf7c3c Only unset query vars when serving admin pages. fixes #1979
git-svn-id: https://develop.svn.wordpress.org/trunk@3233 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 06:44:44 +00:00
Ryan Boren 5e34745dc9 Use the full page hierarchy when matching page URIs. Props David House. fixes #1964
git-svn-id: https://develop.svn.wordpress.org/trunk@3229 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 01:43:32 +00:00
Ryan Boren 6f3cb17751 Don't try to do permalinks for admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@3226 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 23:30:42 +00:00
Matt Mullenweg 99fcdc938f Don't show 404s for empty cats, fixes #1969
git-svn-id: https://develop.svn.wordpress.org/trunk@3215 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-28 03:15:48 +00:00
Ryan Boren 7226d2f2b3 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: https://develop.svn.wordpress.org/trunk@3206 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-23 22:38:25 +00:00
Ryan Boren c29812748d Store some values in the class for debug purposes.
git-svn-id: https://develop.svn.wordpress.org/trunk@3197 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-22 21:07:48 +00:00
Ryan Boren 80bc0af577 Add posts_groupby and posts_request filters. fixes #1479
git-svn-id: https://develop.svn.wordpress.org/trunk@3130 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-17 09:10:18 +00:00
Ryan Boren ee98b26ac0 More 404 work. Hopefully fixes #1471
git-svn-id: https://develop.svn.wordpress.org/trunk@3111 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 22:54:52 +00:00
Ryan Boren e9a970fd29 Fix 404s. Props donncha. fixes #1471
git-svn-id: https://develop.svn.wordpress.org/trunk@3108 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 10:16:20 +00:00
Ryan Boren 35dd21caec Execute rewrite rules for / so that plugins can add rules. Props: filosofo. fixes #1864
git-svn-id: https://develop.svn.wordpress.org/trunk@3097 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 01:58:04 +00:00
Ryan Boren 1228f9e554 Update to use cap API.
git-svn-id: https://develop.svn.wordpress.org/trunk@3095 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-16 00:50:02 +00:00
Ryan Boren 1a012b8b49 Renaming. object and subpost are now attachment. post_type is post_mime_type.
git-svn-id: https://develop.svn.wordpress.org/trunk@3092 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-15 22:55:24 +00:00
Matt Mullenweg 1663e2088e Mystery of the disappearing post solved, fixes #1879
git-svn-id: https://develop.svn.wordpress.org/trunk@3089 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 23:28:10 +00:00
Matt Mullenweg 5f7471444a Allow modified, fixes #1651
git-svn-id: https://develop.svn.wordpress.org/trunk@3080 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-14 10:12:22 +00:00
Matt Mullenweg 4a11b6e79f Call nocache_headers for logged in users
git-svn-id: https://develop.svn.wordpress.org/trunk@3047 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-11 01:44:41 +00:00
Ryan Boren c72a1f461e Object caching, round one.
git-svn-id: https://develop.svn.wordpress.org/trunk@3011 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 21:56:03 +00:00
Ryan Boren a1fdbc44d0 Preview future dated posts. Props davidhouse. fixes #1795
git-svn-id: https://develop.svn.wordpress.org/trunk@3001 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-06 07:04:46 +00:00