Andrew Nacin
|
90f95e0204
|
new does not require by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@18995 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-10-18 20:20:59 +00:00 |
|
Ryan Boren
|
c3212d522e
|
Avoid refetching a post in get_post() when passed a post object that has already been raw sanitized. Clean up sanitize loop. Props scribu. fixes #18822
git-svn-id: https://develop.svn.wordpress.org/trunk@18846 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-30 19:06:18 +00:00 |
|
Ryan Boren
|
cff31ae5f5
|
Add name to list of allowed keys. Props MarcusPope. fixes #18638
git-svn-id: https://develop.svn.wordpress.org/trunk@18838 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-30 16:43:57 +00:00 |
|
Andrew Nacin
|
68c1b54796
|
is_main_query(). fixes #18677.
git-svn-id: https://develop.svn.wordpress.org/trunk@18699 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-17 20:46:35 +00:00 |
|
Jon Cave
|
82c0f09c09
|
Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-09-05 19:08:15 +00:00 |
|
Ryan Boren
|
bb75e13b17
|
Don't attempt old slug redirect for multi-post_type queries. Props aaroncampbell. see #16949
git-svn-id: https://develop.svn.wordpress.org/trunk@18330 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-23 16:35:34 +00:00 |
|
Andrew Nacin
|
a657a1986c
|
@since s/3.2/3.2.0/
git-svn-id: https://develop.svn.wordpress.org/trunk@18268 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-06-11 04:40:18 +00:00 |
|
Ryan Boren
|
9294a6cb6d
|
Remove duplicate sentence search terms. Props scribu. fixes #17152
git-svn-id: https://develop.svn.wordpress.org/trunk@18056 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-26 16:41:59 +00:00 |
|
Andrew Nacin
|
a270cd105c
|
Cache post thumbnails in the loop. props garyc40, scribu, greuben. fixes #15447.
git-svn-id: https://develop.svn.wordpress.org/trunk@17883 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-12 03:06:03 +00:00 |
|
Andrew Nacin
|
d36556bca2
|
Use int for redirect code. props niallkennedy, fixes #17321.
git-svn-id: https://develop.svn.wordpress.org/trunk@17810 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-05-05 17:33:19 +00:00 |
|
Ryan Boren
|
9730cb8d15
|
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-29 20:05:12 +00:00 |
|
Ryan Boren
|
96fe89727e
|
Introduce WP_Meta_Query and relation support. Props scribu, greuben. fixes #17165 #17011
git-svn-id: https://develop.svn.wordpress.org/trunk@17699 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-25 17:27:35 +00:00 |
|
Dion Hulse
|
5292937f16
|
Allow WP_Query 'post_status' parameter to accept an array, as well as a singular value and comma separated list. Fixes #16824
git-svn-id: https://develop.svn.wordpress.org/trunk@17689 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-23 10:36:22 +00:00 |
|
Ryan Boren
|
1ec0ffd7c2
|
Don't pollute orderby query var. Props scribu. fixes #16844
git-svn-id: https://develop.svn.wordpress.org/trunk@17653 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-18 21:27:13 +00:00 |
|
Ryan Boren
|
1e9c26c3ab
|
There is not a NOT operator. Props scribu. fixes #17054 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17610 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-06 16:08:23 +00:00 |
|
Ryan Boren
|
81d1fdcb3d
|
Set is_* flags for AND taxonomy queries. fixes #17054 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17606 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-04-05 18:48:53 +00:00 |
|
Ryan Boren
|
19d8af83d3
|
Parse the meta query again if query vars change. Set a global query_vars_changed flag instead of doing multiple hash creation calls. Props greuben. see #16742 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17552 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-24 16:07:24 +00:00 |
|
Ryan Boren
|
8cd811538e
|
Add back compat fields to queried category objects. Props scribu, duck_. fixes #16857 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17528 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:27:45 +00:00 |
|
Ryan Boren
|
52cbde8270
|
Return false instead of WP_Error from get_term_by() if the term does not exist. Makes fetching a term by id consistent with slug and name. Props hakre. fixes #16464 #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17526 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-22 20:06:38 +00:00 |
|
Ryan Boren
|
b08c4772fa
|
Check for WP_Error return from get_term_by(). Props fabifott, kawauso, nacin. fixes #16717 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17506 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-08 22:06:35 +00:00 |
|
Ryan Boren
|
13058d536e
|
Don't perform taxonomy queries for single post requests. Props scribu. fixes #16793 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17504 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-08 22:01:19 +00:00 |
|
Ryan Boren
|
63f4028ba5
|
Don't double process the tag query var. Props scribu. fixes #16730 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17500 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-03 16:11:02 +00:00 |
|
Mark Jaquith
|
9c2707c3e7
|
Reparse the taxonomy query if query vars change. fixes #16622 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17489 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-03-02 04:10:21 +00:00 |
|
Ryan Boren
|
5bfe6fa2b1
|
Use ->query instead of . Always kick off the parse_query action. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17455 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-16 16:25:52 +00:00 |
|
Ryan Boren
|
db31b732eb
|
Run parse_query() in get_posts() so that the query vars are always parsed for set(), get_posts() patterns. fixes #16545 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@17451 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-15 23:57:13 +00:00 |
|
Ryan Boren
|
451d7d8ffb
|
Pink the whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@17435 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-02-09 17:35:36 +00:00 |
|
Mark Jaquith
|
e51e83d0c9
|
Get is_post_type_archive( 'my-post-type' ) working properly outside of the loop. props bit4. fixes #16347
git-svn-id: https://develop.svn.wordpress.org/trunk@17358 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-24 21:15:50 +00:00 |
|
Ryan Boren
|
fd8d4a6c02
|
Resurrect 'tag' query processing. see #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17272 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-12 21:44:47 +00:00 |
|
Ryan Boren
|
e1b27b6bd9
|
Set tag_id for tag queries. Add NOT support to wp_list_filter(). Props scribu. fixes #16170
git-svn-id: https://develop.svn.wordpress.org/trunk@17251 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-11 18:56:59 +00:00 |
|
Ryan Boren
|
634763c218
|
Don't parse cat query var twice. Don't include children for category__* queries. Props SergeyBiryukov. see #16152
git-svn-id: https://develop.svn.wordpress.org/trunk@17246 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-09 20:49:11 +00:00 |
|
Ryan Boren
|
99478d0c8c
|
Cast category and tag query args to array to allow passing a single ID or slug. Props SergeyBiryukov. fixes #14892
git-svn-id: https://develop.svn.wordpress.org/trunk@17245 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-09 16:42:01 +00:00 |
|
Ryan Boren
|
f59c869e62
|
category__and, tag__and, tag_slug__in, tag_slug__and support. fixes #16157
git-svn-id: https://develop.svn.wordpress.org/trunk@17244 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-09 16:19:48 +00:00 |
|
Ryan Boren
|
91352574d7
|
Use correct var. Props westi. fixes #16145
git-svn-id: https://develop.svn.wordpress.org/trunk@17243 602fd350-edb4-49c9-b593-d223f7449a82
|
2011-01-08 17:21:49 +00:00 |
|
Andrew Nacin
|
68692f0565
|
get_meta_sql should be private. see #14645.
git-svn-id: https://develop.svn.wordpress.org/trunk@17170 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-29 19:31:35 +00:00 |
|
Ryan Boren
|
051219360e
|
Ignore an empty pagename when correcting is_* for page_on_front requests. Props donalmacarthur, SergeyBiryukov, filosofo. fixes #16002
git-svn-id: https://develop.svn.wordpress.org/trunk@17162 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-28 22:34:15 +00:00 |
|
Dion Hulse
|
b8e50af2d7
|
Set taxonomy/term back-compat query vars for all views (not just taxonomy indexes). Fixes #15978
git-svn-id: https://develop.svn.wordpress.org/trunk@17147 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-25 23:26:09 +00:00 |
|
Andrew Nacin
|
15efc0fa0a
|
Clarify the _doing_it_wrong message for conditioanl tags. init prevents the fatal error, but the query still isn't run. Just drop the mention of a hook and we end up with better reasoning why this doesn't work to boot. see #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17083 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-20 16:21:42 +00:00 |
|
Andrew Nacin
|
9a5687bdfd
|
Don't fatal error when conditional tags are called before init. fixes #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@17068 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-19 21:17:52 +00:00 |
|
Ryan Boren
|
c1e26ef82c
|
Add like_escape() to some queries. fixes #15764
git-svn-id: https://develop.svn.wordpress.org/trunk@16999 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-16 14:22:41 +00:00 |
|
Andrew Nacin
|
e3fce95343
|
You are doing it wrong in query.php. see #15824, see #14729.
git-svn-id: https://develop.svn.wordpress.org/trunk@16947 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-15 12:21:27 +00:00 |
|
scribu
|
63e3c4430e
|
Always set groupby when a tax query is involved. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16894 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 15:15:58 +00:00 |
|
scribu
|
cbe9f7f3a0
|
Always call WP_Tax_Query::get_sql(). Fixes #15797
git-svn-id: https://develop.svn.wordpress.org/trunk@16893 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-13 15:11:02 +00:00 |
|
scribu
|
09ee8c5c47
|
Set $wp_query->tax_query earlier. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16886 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-12 16:38:51 +00:00 |
|
scribu
|
619a8a8cff
|
Don't set query flags in parse_tax_query(). See #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16880 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-11 15:20:52 +00:00 |
|
scribu
|
ab5cd7a4f5
|
Inline docs for WP_Tax_Query. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16854 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-10 08:20:46 +00:00 |
|
scribu
|
ea0d5bf166
|
Fix notice in get_queried_object(). See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16853 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-10 07:51:04 +00:00 |
|
scribu
|
5da70bad87
|
Always have a WP_Tax_Query instance, to prevent notices. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16851 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 19:42:25 +00:00 |
|
scribu
|
85a176fe8f
|
Introduce WP_Tax_Query. Fix canonical redirects in the process. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16849 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 19:29:21 +00:00 |
|
scribu
|
a2387d8907
|
Proper check for tax query, which will never be empty, due to 'relation'. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16844 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 17:09:42 +00:00 |
|
scribu
|
a5cb537970
|
Set tax query defaults earlier, for notice prevention and convenience. See #15752
git-svn-id: https://develop.svn.wordpress.org/trunk@16843 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 17:05:40 +00:00 |
|
scribu
|
d56cc33340
|
Clarify is_single() inline doc. Fixes #14034
git-svn-id: https://develop.svn.wordpress.org/trunk@16830 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-09 05:27:37 +00:00 |
|
Mark Jaquith
|
956b191c60
|
Use is_page_type_hierarchical(). props nacin. see #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@16819 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 21:17:01 +00:00 |
|
Mark Jaquith
|
08671532d3
|
Do not do slug logging/redirects for hierarchical post types. see #15140
git-svn-id: https://develop.svn.wordpress.org/trunk@16818 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 21:10:38 +00:00 |
|
scribu
|
cae6e8d4ef
|
Set queried object on CPT archives. Fixes #15730
git-svn-id: https://develop.svn.wordpress.org/trunk@16792 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-12-08 08:57:38 +00:00 |
|
Mark Jaquith
|
0c15540407
|
Cast to array, to avoid notices. props hakre. fixes #14997
git-svn-id: https://develop.svn.wordpress.org/trunk@16576 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-24 20:34:22 +00:00 |
|
scribu
|
156dc90ffe
|
Remove debug cruft from [16543]. See #14590
git-svn-id: https://develop.svn.wordpress.org/trunk@16544 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-23 00:49:23 +00:00 |
|
scribu
|
86da62e436
|
Minor cleanup in queried object setting logic. See #14590
git-svn-id: https://develop.svn.wordpress.org/trunk@16543 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-23 00:47:45 +00:00 |
|
Andrew Nacin
|
cf21cf2a89
|
Cast term_id to int for queried_object_id. props wojtek.szkutnik, fixes #14590.
git-svn-id: https://develop.svn.wordpress.org/trunk@16542 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-23 00:32:19 +00:00 |
|
scribu
|
0053f9b5e1
|
Prevent notice when checking for hierarchical tax rewrite. Props demetris. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16538 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-22 21:56:20 +00:00 |
|
scribu
|
6df13c0a90
|
Consider only IN tax queries when returning the queried object. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16531 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-22 05:14:47 +00:00 |
|
scribu
|
eb6a65e501
|
Move s/ /+ out of WP_Query, so that 'category_name=Some Category' works again. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16526 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-21 16:33:05 +00:00 |
|
scribu
|
6401205f36
|
Don't do any taxonomy stuff if is_singular. See #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16515 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-20 21:51:21 +00:00 |
|
Ryan Boren
|
f3e3c03abe
|
array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16513 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-20 21:43:19 +00:00 |
|
scribu
|
a825250771
|
Fix logic for when excluding a non-existant term. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16512 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-20 21:28:50 +00:00 |
|
Ryan Boren
|
75453e5e2d
|
If the queried term does not exist make sure no posts are returned in the query rather than falling through to querying all posts. Fixes 404s when querying cats that do not exist. see #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16511 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-20 21:10:20 +00:00 |
|
scribu
|
3e8a8c96cf
|
Remove debug cruft from [16505]. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16506 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-20 13:48:24 +00:00 |
|
scribu
|
6020138317
|
Don't set post_type to 'any' for category and tag queries. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16505 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-20 13:39:07 +00:00 |
|
Mark Jaquith
|
103bde3e19
|
Do not set is_category/is_tax/is_tax for is_singular requests. props mtekk. fixes #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16495 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-19 19:25:53 +00:00 |
|
scribu
|
90de63b3ad
|
Force GROUP BY when there's a tax query. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16482 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-19 09:17:59 +00:00 |
|
Andrew Nacin
|
ba37b82b10
|
Allow is_feed() to drill down the feed being checked. props johnbillion for initial patch, fixes #15460.
git-svn-id: https://develop.svn.wordpress.org/trunk@16447 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-18 03:19:08 +00:00 |
|
Ryan Boren
|
4b33a0e9c4
|
Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@16438 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-17 18:47:34 +00:00 |
|
scribu
|
1298668d9a
|
Re-introduce ->tax_query as a read-only var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16414 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-17 02:04:08 +00:00 |
|
scribu
|
92fae02550
|
Optimize get_tax_sql(). See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16413 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-17 01:56:01 +00:00 |
|
scribu
|
9242c290b3
|
Revert [16402] outright. Causes issues with themes. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-16 16:36:20 +00:00 |
|
scribu
|
93b63b771c
|
Don't pollute the 'tax_query' query var. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16402 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-16 16:22:09 +00:00 |
|
scribu
|
ecad0a9016
|
Revert [16384]. See #15433
git-svn-id: https://develop.svn.wordpress.org/trunk@16385 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-15 15:23:04 +00:00 |
|
scribu
|
4c4e5ed0df
|
Ignore 'name' qv if 'p' qv is set. Fixes #15433
git-svn-id: https://develop.svn.wordpress.org/trunk@16384 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-15 13:33:16 +00:00 |
|
scribu
|
e72a75d2d6
|
Set 'taxonomy' and 'term' query vars for back-compat. Fixes #12659
git-svn-id: https://develop.svn.wordpress.org/trunk@16381 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-15 10:51:39 +00:00 |
|
scribu
|
ed4788b696
|
Re-parse tax query just before calling get_tax_sql(). Fixes #15161
git-svn-id: https://develop.svn.wordpress.org/trunk@16380 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-15 10:11:25 +00:00 |
|
scribu
|
c38380fd8f
|
Update doc for WP_Query::post. Fixes #15105
git-svn-id: https://develop.svn.wordpress.org/trunk@16360 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 23:32:18 +00:00 |
|
scribu
|
a8160ed916
|
Kill WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16353 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 18:32:43 +00:00 |
|
scribu
|
6daedd550c
|
Revert most of [16018]. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16352 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-13 18:26:15 +00:00 |
|
Ryan Boren
|
8ad934c85d
|
Prevent stomping of global. Props prettyboymp. fixes #13945
git-svn-id: https://develop.svn.wordpress.org/trunk@16303 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-11 16:22:18 +00:00 |
|
scribu
|
f337bb1b86
|
Add context to get_meta_sql(). See #15018
git-svn-id: https://develop.svn.wordpress.org/trunk@16286 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-11 10:06:05 +00:00 |
|
Andrew Nacin
|
d50013b957
|
Ensure we have a valid post type object when checking for has_archive. props filosofo, fixes #15364.
git-svn-id: https://develop.svn.wordpress.org/trunk@16276 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-10 16:42:59 +00:00 |
|
scribu
|
83738d47f4
|
Make get_tax_sql() a standalone function. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16267 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-09 23:30:35 +00:00 |
|
scribu
|
c0be4fafcf
|
Make get_meta_sql() a standalone function. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16266 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-09 23:22:13 +00:00 |
|
scribu
|
5a2a86f84a
|
Allow mix of 'taxonomy' => 'foo', 'term' => 'bar' and 'foo2' => 'bar2'. Props filosofo. Fixes #15363
git-svn-id: https://develop.svn.wordpress.org/trunk@16259 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-09 16:45:51 +00:00 |
|
scribu
|
4754dbd2c6
|
Set 'operator' field. Fixes #15350. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16258 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-09 12:27:03 +00:00 |
|
scribu
|
e07b7bbdc5
|
Use wp_basename() in WP_Query too. See #11887
git-svn-id: https://develop.svn.wordpress.org/trunk@16155 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-02 17:28:28 +00:00 |
|
scribu
|
033dc3afa2
|
Just pass meta type to get_meta_sql(). See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16143 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-11-01 20:34:54 +00:00 |
|
scribu
|
33e3ef1367
|
Remove check on unexistant $ids var in WP_Query::get_posts. Props Utkarsh. See #12891
git-svn-id: https://develop.svn.wordpress.org/trunk@16116 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-31 11:28:49 +00:00 |
|
Ryan Boren
|
af17458ed9
|
get_queried_obecjt() and get_queried_object_id(). Props filosofo. fixes #14015
git-svn-id: https://develop.svn.wordpress.org/trunk@16091 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-29 20:48:54 +00:00 |
|
scribu
|
0ba17a703a
|
Make get_meta_sql() return associative array. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16053 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-28 17:02:37 +00:00 |
|
scribu
|
174c0acfb4
|
Move get() and set() methods from WP_Query to WP_Object_Query. See #15032
git-svn-id: https://develop.svn.wordpress.org/trunk@16018 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-27 18:16:52 +00:00 |
|
scribu
|
1c9a241148
|
Introduce 'fields' query var to WP_Query. See #14777
git-svn-id: https://develop.svn.wordpress.org/trunk@15982 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-26 19:01:55 +00:00 |
|
Andrew Nacin
|
4738e732ae
|
Remove dead arguments. see [15937], see #13818, props dd32.
git-svn-id: https://develop.svn.wordpress.org/trunk@15942 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-24 03:27:01 +00:00 |
|
Andrew Nacin
|
6eb9fbbd39
|
Remove post_type params from is_archive(). use is_post_type_archive() for full context. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15937 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 19:20:47 +00:00 |
|
Andrew Nacin
|
6d7366d5fc
|
Move the CPT archive flag outside of the rewrite argument, into its own has_archive. has_archive controls more than just URL rewriting, it also handles whether ?post_type= is treated as a CPT archive. feeds remain in rewrite as ?feed= would work regardless. see #13818.
git-svn-id: https://develop.svn.wordpress.org/trunk@15936 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 18:29:22 +00:00 |
|
Andrew Nacin
|
4d0164db91
|
Remove some capability_type code in WP_Query. Only build faux caps if we're querying for multiple post types or if the post type object can't be found. see #14122.
git-svn-id: https://develop.svn.wordpress.org/trunk@15935 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-10-23 18:16:41 +00:00 |
|