Commit Graph

99 Commits

Author SHA1 Message Date
Ryan Boren
e518fc833f Don't advance post counter when resetting query. see #5439
git-svn-id: https://develop.svn.wordpress.org/trunk@6688 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 23:58:41 +00:00
Ryan Boren
7195355b63 Make sure we have a post when doing post comment feed query. Props ruckus. see #5185
git-svn-id: https://develop.svn.wordpress.org/trunk@6683 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 19:01:39 +00:00
Peter Westwood
4f1971cfdb Switch from abs(intval()) to absint(). See #4762.
git-svn-id: https://develop.svn.wordpress.org/trunk@6682 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-29 18:48:38 +00:00
Ryan Boren
4179e52a2b Restore global post when resetting the query. Props ionfish. fixes #5439
git-svn-id: https://develop.svn.wordpress.org/trunk@6653 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-25 01:41:57 +00:00
Ryan Boren
c929b2f5e5 Pass remember arg. see #5405
git-svn-id: https://develop.svn.wordpress.org/trunk@6644 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-23 18:20:59 +00:00
Ryan Boren
b63e3868f1 Use is_admin. Props markjaquith. see #5487
git-svn-id: https://develop.svn.wordpress.org/trunk@6509 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-28 01:04:17 +00:00
Ryan Boren
5b1a91e0c3 Throw pages into search queries. Let's see how they handle. see #5149
git-svn-id: https://develop.svn.wordpress.org/trunk@6467 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-22 08:19:10 +00:00
Peter Westwood
3301f80416 Fix query variable naming errors.
git-svn-id: https://develop.svn.wordpress.org/trunk@6435 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-20 20:59:53 +00:00
Ryan Boren
996d913b0e Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: https://develop.svn.wordpress.org/trunk@6412 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-19 17:56:16 +00:00
Ryan Boren
30bb10fba2 Accept array of pages for is_page(). Props azaozz. fixes #5430
git-svn-id: https://develop.svn.wordpress.org/trunk@6397 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-17 06:21:43 +00:00
Ryan Boren
1fdcc63822 Faster page_rows() from hailin. see #5303
git-svn-id: https://develop.svn.wordpress.org/trunk@6380 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-14 06:20:42 +00:00
Ryan Boren
e10c490a4f Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
git-svn-id: https://develop.svn.wordpress.org/trunk@6377 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-12 11:45:55 +00:00
Ryan Boren
3a8b2fcca3 Remove unused vars. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6364 602fd350-edb4-49c9-b593-d223f7449a82
2007-12-06 19:49:33 +00:00
Ryan Boren
1cdf22f276 Do two sets of filters on posts query. First set is used by regular plugins, second by caching plugins.
git-svn-id: https://develop.svn.wordpress.org/trunk@6341 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-18 19:36:30 +00:00
Ryan Boren
4bcd8eec3f Move posts_selection action to after post_limits filter.
git-svn-id: https://develop.svn.wordpress.org/trunk@6338 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-17 00:04:19 +00:00
Ryan Boren
ed6c69983f Disambiguate columns. Props lawrence123. fixes #5256
git-svn-id: https://develop.svn.wordpress.org/trunk@6310 602fd350-edb4-49c9-b593-d223f7449a82
2007-11-03 19:00:33 +00:00
Ryan Boren
cf584c357f Eliminate extra query.
git-svn-id: https://develop.svn.wordpress.org/trunk@6245 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-13 18:53:28 +00:00
Ryan Boren
b6905da933 Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: https://develop.svn.wordpress.org/trunk@6224 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-11 17:43:49 +00:00
Ryan Boren
f027350b3f Add some spacing. fixes #5137 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6189 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-05 16:27:48 +00:00
Ryan Boren
766e620f90 New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: https://develop.svn.wordpress.org/trunk@6186 602fd350-edb4-49c9-b593-d223f7449a82
2007-10-04 18:10:03 +00:00
Ryan Boren
5917c5458c Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: https://develop.svn.wordpress.org/trunk@6125 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-18 16:32:22 +00:00
Ryan Boren
11ed527c0d Set tag_id to first tag in multi tag queries. Have single_cat_title() fallback to single_tag_title() if is_tag so that existing category templates will work with tags. fixes #4506
git-svn-id: https://develop.svn.wordpress.org/trunk@6074 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-11 18:06:52 +00:00
Ryan Boren
85bec38507 Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@6035 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-05 03:11:04 +00:00
Ryan Boren
7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren
e9391140a7 Strip lines that contain only whitespace down to newlines.
git-svn-id: https://develop.svn.wordpress.org/trunk@6025 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:19:20 +00:00
Mark Jaquith
0459826bd3 Check for wp-admin case-insensitively in is_admin()
git-svn-id: https://develop.svn.wordpress.org/trunk@6022 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 19:56:09 +00:00
Ryan Boren
c8e307e72f Tag unions and intersections. fixes #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6021 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 18:14:05 +00:00
Ryan Boren
2d3b05b2a6 tag_id not tag__id. see #4895
git-svn-id: https://develop.svn.wordpress.org/trunk@6012 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 03:26:57 +00:00
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
9b4a30290f Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: https://develop.svn.wordpress.org/trunk@5944 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-26 17:12:31 +00:00
Ryan Boren
ca4e75cb57 Don't allow private query vars in url_to_postid
git-svn-id: https://develop.svn.wordpress.org/trunk@5925 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 16:09:37 +00:00
Ryan Boren
87234faca2 posts_results and posts_selection hooks. fixes #4799
git-svn-id: https://develop.svn.wordpress.org/trunk@5916 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-22 18:03:26 +00:00
Ryan Boren
ece120b57f Some tag api additions from andy.
git-svn-id: https://develop.svn.wordpress.org/trunk@5912 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-21 18:39:45 +00:00
Ryan Boren
a79d48ea1c wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: https://develop.svn.wordpress.org/trunk@5907 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-20 22:55:43 +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
Mark Jaquith
0885f81d08 Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: https://develop.svn.wordpress.org/trunk@5848 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-04 16:30:27 +00:00
Mark Jaquith
0f0788d24d Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 16:24:28 +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
Ryan Boren
e1ef29586c Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-06 16:13:12 +00:00
rob1n
f0cd9cb22a Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: https://develop.svn.wordpress.org/trunk@5609 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-31 03:19:38 +00:00
Ryan Boren
cfa5ecfd4b get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 21:27:49 +00:00
Ryan Boren
e0bf0ffa02 Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 16:52:31 +00:00
Ryan Boren
ac1db497fc get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-29 04:25:09 +00:00
rob1n
6b9af86a5c Add a is_user_logged_in() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5579 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-28 20:39:24 +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
Ryan Boren
0bc2a4b956 Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-23 03:57:20 +00:00
rob1n
baff4f7040 Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-19 02:53:19 +00:00
Mark Jaquith
aa82383dc6 Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-02 19:40:15 +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