Commit Graph

292 Commits

Author SHA1 Message Date
Ryan Boren
3e725d7a7d tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6011 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:24:23 +00:00
Ryan Boren
dac74f6c47 Add cat-item-id and page-item-id classes. Props Otto42. fixes #4703
git-svn-id: https://develop.svn.wordpress.org/trunk@5920 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 22:59:45 +00:00
Ryan Boren
669d471fed Category union and intersection query vars. fixes #4750
git-svn-id: https://develop.svn.wordpress.org/trunk@5873 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-15 22:08:51 +00:00
Ryan Boren
09da00f7fe Use EXTR_SKIP when extracting. see #4468
git-svn-id: https://develop.svn.wordpress.org/trunk@5708 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 22:45:40 +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
rob1n
12c2ef6be0 Content-Type, not Content-type, as headers are case sensitive. Props foolswisdom and Nazgul. fixes #3545
git-svn-id: https://develop.svn.wordpress.org/trunk@5640 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 05:21:18 +00:00
Ryan Boren
c9b37847ce Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 18:34:06 +00:00
Ryan Boren
3261234a0d Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 18:59:12 +00:00
rob1n
c213997f48 Use wp_parse_args(). fixes #4237
git-svn-id: https://develop.svn.wordpress.org/trunk@5444 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:10:05 +00:00
rob1n
616570aadc Run the post titles through the the_title filter. fixes #3366
git-svn-id: https://develop.svn.wordpress.org/trunk@5164 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-01 15:40:50 +00:00
Matt Mullenweg
570a74e818 All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-31 06:16:12 +00:00
Ryan Boren
d4007dfa64 Don't cast to string if empty. Props donncha. fixes #3979
git-svn-id: https://develop.svn.wordpress.org/trunk@5051 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-16 22:00:43 +00:00
Ryan Boren
16c3aa009f Title filtering from jhodgdon. fixes #3926
git-svn-id: https://develop.svn.wordpress.org/trunk@5013 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-10 03:56:35 +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
Ryan Boren
14c5f35862 Use rawurldecode. fixes #3727
git-svn-id: https://develop.svn.wordpress.org/trunk@4979 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 01:44:53 +00:00
Mark Jaquith
e6733adfbc Cast query vars to strings. fixes #3891
git-svn-id: https://develop.svn.wordpress.org/trunk@4965 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-04 18:08:33 +00:00
Mark Jaquith
5acfcd9fea trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-27 15:24:54 +00:00
Ryan Boren
019c3e4950 decode req uri when processing pathinfo permalinks. Props Kirin_Lin. fixes #3727
git-svn-id: https://develop.svn.wordpress.org/trunk@4893 602fd350-edb4-49c9-b593-d223f7449a82
2007-02-20 01:27:37 +00:00
Ryan Boren
81ccfa17f6 Walker fix ups. fixes #3080
git-svn-id: https://develop.svn.wordpress.org/trunk@4779 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-22 07:05:48 +00:00
Ryan Boren
22f99849eb Discard non-scalars when building query string.
git-svn-id: https://develop.svn.wordpress.org/trunk@4753 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 19:05:01 +00:00
Ryan Boren
b9719b9a71 Pass all args to the page walker.
git-svn-id: https://develop.svn.wordpress.org/trunk@4723 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-12 03:54:22 +00:00
Mark Jaquith
31c39f948d new function for escaping within attributes: attribute_escape()
git-svn-id: https://develop.svn.wordpress.org/trunk@4656 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-21 10:10:04 +00:00
Mark Jaquith
1dd63dd9e8 Typo fix from tacker. fixes #3431
git-svn-id: https://develop.svn.wordpress.org/trunk@4598 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-04 12:02:30 +00:00
Ryan Boren
7b8f7aedc1 Avoid empty result category queries. Props andy. fixes #3416
git-svn-id: https://develop.svn.wordpress.org/trunk@4580 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 18:55:27 +00:00
Ryan Boren
893c5fa38e Fix category feed_img markup. Props mdawaffe. fixes #1207
git-svn-id: https://develop.svn.wordpress.org/trunk@4579 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 18:28:43 +00:00
Ryan Boren
9329aef5cd Give CSS class to parent of current page/cat. Props mdawaffe. fixes #3253
git-svn-id: https://develop.svn.wordpress.org/trunk@4576 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 12:05:21 +00:00
Ryan Boren
56a74de876 Close previous element when depth is hit. fixes #3080
git-svn-id: https://develop.svn.wordpress.org/trunk@4564 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-01 00:38:25 +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
0e188c6859 Base last modified time for comment feeds on comments, not the post. Props mdawaffe. fixes #137
git-svn-id: https://develop.svn.wordpress.org/trunk@4483 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-18 20:46:43 +00:00
Ryan Boren
be689d80a3 Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@4460 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-09 06:50:58 +00:00
Ryan Boren
368ceed2a8 Ajax plugin tweakage from mdawaffe. fixes #3334
git-svn-id: https://develop.svn.wordpress.org/trunk@4458 602fd350-edb4-49c9-b593-d223f7449a82
2006-11-08 21:23:41 +00:00
Mark Jaquith
9e0b62e2d0 nocache_headers from _ck_ and Nazgul. fixes #3027
git-svn-id: https://develop.svn.wordpress.org/trunk@4291 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 03:54:10 +00:00
Ryan Boren
5fbeda5c25 Make sure vars are set. Props Alex King. fixes #3153
git-svn-id: https://develop.svn.wordpress.org/trunk@4204 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-21 21:03:11 +00:00
Ryan Boren
3c348108f8 Warning and notice fixes from Alex King. fixes #3148
git-svn-id: https://develop.svn.wordpress.org/trunk@4198 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 23:56:28 +00:00
Matt Mullenweg
06f0097a94 Options cleanup and some styling changes.
git-svn-id: https://develop.svn.wordpress.org/trunk@4196 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 06:11:42 +00:00
Ryan Boren
fd6a645679 Encode percent to avoid broken permalinks. Props majelbstoat. fixes #569
git-svn-id: https://develop.svn.wordpress.org/trunk@4195 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-19 03:05:08 +00:00
Ryan Boren
45cd582085 AJAX responsiveness improvements from mdawaffe. fixes #3099
git-svn-id: https://develop.svn.wordpress.org/trunk@4187 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-13 21:39:53 +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
a28be38534 i18n fixes from nbachiyski. fixes #3109
git-svn-id: https://develop.svn.wordpress.org/trunk@4165 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-05 18:52:24 +00:00
Ryan Boren
d1ff29a59a Use wp_dropdown_categories(). Fix padding. Don't allow a cat to be it's own parent. Props westi. fixes #3088
git-svn-id: https://develop.svn.wordpress.org/trunk@4156 602fd350-edb4-49c9-b593-d223f7449a82
2006-09-01 20:38:24 +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
6c77b22cb8 Fix query parsing. Props westi. fixes #3085
git-svn-id: https://develop.svn.wordpress.org/trunk@4141 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 18:37:33 +00:00
Ryan Boren
c905e6fef4 Deprecate query_string. Add 'request' filter to filter the array of query vars. Pass around arrays instead of query strings. fixes #2777
git-svn-id: https://develop.svn.wordpress.org/trunk@4129 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-30 05:41:38 +00:00
Ryan Boren
92f57633da Allow passing extra data back with errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@4122 602fd350-edb4-49c9-b593-d223f7449a82
2006-08-29 20:17:41 +00:00
Ryan Boren
0a2c0a3640 Quote escaping fixes from mdawaffe. fixes #2975
git-svn-id: https://develop.svn.wordpress.org/trunk@4043 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-26 08:40:00 +00:00
Ryan Boren
2b6a8e40d3 Send Content-type for 404s. Props Nazgul. fixes #2841
git-svn-id: https://develop.svn.wordpress.org/trunk@3915 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 06:00:24 +00:00
Ryan Boren
ec11e08a9b Add offset support to query_posts(). Props Mark Jaquith. fixes #2558
git-svn-id: https://develop.svn.wordpress.org/trunk@3867 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-13 20:56:38 +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
a08173016f Add parse_request, send_headers, and wp actions.
git-svn-id: https://develop.svn.wordpress.org/trunk@3789 602fd350-edb4-49c9-b593-d223f7449a82
2006-05-22 19:23:46 +00:00
Ryan Boren
fb212022a3 Don't forget to pass args. Props Mike Little. fixes #2668
git-svn-id: https://develop.svn.wordpress.org/trunk@3715 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-19 02:33:47 +00:00
Ryan Boren
112af5d381 Move page walkers to classes. Props David House. fixes #2593
git-svn-id: https://develop.svn.wordpress.org/trunk@3704 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-13 04:40:48 +00:00
Ryan Boren
5a51ac7c8e Do a therapuetic double strip on HTTP_IF_MODIFIED_SINCE since we code in an imperfect world. fixes #2597
git-svn-id: https://develop.svn.wordpress.org/trunk@3682 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-03 05:59:03 +00:00
Ryan Boren
6f355ce778 Get all error messages with get_error_messages().
git-svn-id: https://develop.svn.wordpress.org/trunk@3679 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-02 00:48:14 +00:00
Ryan Boren
657b7d8176 WP_Error. fixes #2600
git-svn-id: https://develop.svn.wordpress.org/trunk@3667 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:18:14 +00:00
Ryan Boren
5a5b80e6a0 Ref checks from mdawaffe.
git-svn-id: https://develop.svn.wordpress.org/trunk@3665 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-30 23:12:54 +00:00
Ryan Boren
e2108969c4 Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3639 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-13 01:44:32 +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
Ryan Boren
e800b7823f Forget to group with parens on [3600]. #2498
git-svn-id: https://develop.svn.wordpress.org/trunk@3601 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 02:17:14 +00:00
Ryan Boren
be34c79158 Make sure posts array is not empty before checking preview state. #2498
git-svn-id: https://develop.svn.wordpress.org/trunk@3600 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-03 02:14:31 +00:00
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
Ryan Boren
b127cd82af Use full hierarchy when resolving category URIs. fixes #1787 Props: ringmaster Owen
git-svn-id: https://develop.svn.wordpress.org/trunk@2968 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-28 01:14:57 +00:00
Ryan Boren
9d9cca40f7 Remove debug code.
git-svn-id: https://develop.svn.wordpress.org/trunk@2961 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 22:15:07 +00:00
Ryan Boren
1da25e1927 Image fu from Andy. fixes #1776
git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-20 20:48:32 +00:00
Ryan Boren
342e12282c pre_get_posts action from ringmaster. fixes #1736
git-svn-id: https://develop.svn.wordpress.org/trunk@2938 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-06 17:27:57 +00:00
Ryan Boren
9d797cfdad Add object awareness to WP_Query. Props skeltoac. fixes #1700
git-svn-id: https://develop.svn.wordpress.org/trunk@2908 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-23 23:24:19 +00:00
Ryan Boren
0be98daf26 Do over to avoid write context warning.
git-svn-id: https://develop.svn.wordpress.org/trunk@2892 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-19 02:49:53 +00:00
Ryan Boren
6f97a857a6 Trim spaw words before checking for empty. Props markjaquith. fixes #1653
git-svn-id: https://develop.svn.wordpress.org/trunk@2891 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-19 02:17:41 +00:00
Ryan Boren
41b9b94616 Clear all other query flags if we have a 404. fixes #1413
git-svn-id: https://develop.svn.wordpress.org/trunk@2885 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-16 03:16:12 +00:00
Ryan Boren
91b0c51004 If PATH_INFO contains the index, don't use it for permalinks. Props gslin. fixes #1591
git-svn-id: https://develop.svn.wordpress.org/trunk@2852 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-08 20:48:09 +00:00
Ryan Boren
d89ba0be47 Fix permalink structure refs. Props to dougal. fixes #1643
git-svn-id: https://develop.svn.wordpress.org/trunk@2834 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-02 17:08:39 +00:00
Ryan Boren
514c36a3bc Make sure extra_query_vars is an array instead of an empty string to avoid weird bug that can cause all query vars to be stomped in certain envs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2824 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 19:01:45 +00:00
Ryan Boren
4680f618c3 Allow query strings at the end of cruftless URIs. Props Owen and Mark. fixes #1581
git-svn-id: https://develop.svn.wordpress.org/trunk@2823 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-30 04:17:52 +00:00
Matt Mullenweg
7eb46808e7 More hooks, fixes #1535
git-svn-id: https://develop.svn.wordpress.org/trunk@2741 602fd350-edb4-49c9-b593-d223f7449a82
2005-08-03 00:28:09 +00:00
Ryan Boren
7623634aaf in_the_loop() Props: Mark Jaquith fixes #1518
git-svn-id: https://develop.svn.wordpress.org/trunk@2716 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-17 16:58:13 +00:00
Ryan Boren
8a2da7e506 Parse REQUEST_URI as a permalink if it looks permalinkish. Use reduced mod_rewrite rules by default.
git-svn-id: https://develop.svn.wordpress.org/trunk@2635 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-13 02:09:24 +00:00
Ryan Boren
7d6fc8af08 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Ryan Boren
5cf9bdb5ae Fix post paging regex to avoid regex collision between posts with slugs that differ only by a trailing number. http://mosquito.wordpress.org/view.php?id=1235
git-svn-id: https://develop.svn.wordpress.org/trunk@2535 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 04:24:22 +00:00
Ryan Boren
a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren
8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren
e3aa5de539 Feeds should always show x posts, not x days. http://mosquito.wordpress.org/view.php?id=1159
git-svn-id: https://develop.svn.wordpress.org/trunk@2475 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-23 21:39:22 +00:00
Ryan Boren
f4e023b68a Add posts_orderby filter. http://mosquito.wordpress.org/view.php?id=1149 Props: davidchait
git-svn-id: https://develop.svn.wordpress.org/trunk@2466 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-22 01:55:07 +00:00
Ryan Boren
35be0f6333 Don't stomp feed flag. http://mosquito.wordpress.org/view.php?id=1044 Props: shelleyp
git-svn-id: https://develop.svn.wordpress.org/trunk@2419 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-08 01:20:08 +00:00
Ryan Boren
346d169130 Fix %post_id% and date collision avoidance. http://mosquito.wordpress.org/view.php?id=1027
git-svn-id: https://develop.svn.wordpress.org/trunk@2410 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-05 18:13:31 +00:00
Ryan Boren
35b685cb65 Load comments-popup template through the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Ryan Boren
3d321e23a5 Use the object's is_* vars instead of the global is_* functions.
git-svn-id: https://develop.svn.wordpress.org/trunk@2300 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:45:04 +00:00
Ryan Boren
6ee469cf88 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: https://develop.svn.wordpress.org/trunk@2299 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:42:22 +00:00
Ryan Boren
709c503d60 Make adding new feeds to rewrite rules easier.
git-svn-id: https://develop.svn.wordpress.org/trunk@2297 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 18:42:40 +00:00
Ryan Boren
59e46cbb3e /archives/%post_id% permalinks break for post ids over 1000. http://mosquito.wordpress.org/view.php?id=847
git-svn-id: https://develop.svn.wordpress.org/trunk@2296 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 18:26:50 +00:00
Ryan Boren
093d13ed1c Allow category and date filtering to coincide. Allow any number of spaces or commas to serve as item separators in the category and author arrays. http://mosquito.wordpress.org/view.php?id=221
git-svn-id: https://develop.svn.wordpress.org/trunk@2295 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 17:52:58 +00:00
Matt Mullenweg
68c44682ba http://mosquito.wordpress.org/view.php?id=778
git-svn-id: https://develop.svn.wordpress.org/trunk@2261 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 02:16:38 +00:00
Ryan Boren
5fc031ad98 Fix i18n page links. Handle RTL hierarchies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2191 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 08:35:45 +00:00
Ryan Boren
c336926a96 Add parse_query_vars() and parse_query action.
git-svn-id: https://develop.svn.wordpress.org/trunk@2190 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 08:34:19 +00:00
Ryan Boren
1eda4450f8 Use parse_url instead of regex wackiness.
git-svn-id: https://develop.svn.wordpress.org/trunk@2187 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 07:05:00 +00:00
Ryan Boren
02a701f72b Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Ryan Boren
8b95197691 Remove support for 'all' queries and for poststart and postend.
git-svn-id: https://develop.svn.wordpress.org/trunk@2179 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:49:51 +00:00
Ryan Boren
f4ae90174e Add set method.
git-svn-id: https://develop.svn.wordpress.org/trunk@2177 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:04:08 +00:00
Ryan Boren
eb37982a00 Add link filters for bug 743 (hat tip to morganiq). More abstraction and flexibility in WP_Rewrite.
git-svn-id: https://develop.svn.wordpress.org/trunk@2152 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:46:40 +00:00
Ryan Boren
c151b827a7 Remove old "site" page rewrite rules.
git-svn-id: https://develop.svn.wordpress.org/trunk@2147 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-25 00:57:14 +00:00
Ryan Boren
fc67ae3e7d Generate feed and trackback rules for pages. Bug 742.
git-svn-id: https://develop.svn.wordpress.org/trunk@2146 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-25 00:23:57 +00:00
Ryan Boren
3cb2f62076 Add more rewrite rule filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2115 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 05:10:13 +00:00
Ryan Boren
e693c815d3 Deprecate start_wp(). Move start_wp functionality to setup_postdata(). Add the_post() method to WP_Query.
git-svn-id: https://develop.svn.wordpress.org/trunk@2104 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 02:21:36 +00:00