ryan
|
7b7243d94a
|
Strip trailing whites.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:26:11 +00:00 |
dd32
|
8213b95a67
|
s/#/ \/\/ / - Remove #comment with // comment in WP_Query
git-svn-id: http://svn.automattic.com/wordpress/trunk@14402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:20:46 +00:00 |
dd32
|
e840bb1167
|
WP_Query whitespace cleanup, some loop cleanup as well
git-svn-id: http://svn.automattic.com/wordpress/trunk@14401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-03 20:19:13 +00:00 |
dd32
|
be926482ce
|
Fix custom WP_Queries when using page_on_front. Props aaroncampbell. See #12391 (Which caused it), Fixes #12047
git-svn-id: http://svn.automattic.com/wordpress/trunk@14341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-05-02 21:28:11 +00:00 |
nacin
|
7ef5f08d00
|
Update object term cache for custom post types. props scribu, fixes #12989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-29 20:43:59 +00:00 |
ryan
|
702e3358ad
|
The read_post cap cannot be checked for sticky posts because not logged in users don't have any caps. see #11197
git-svn-id: http://svn.automattic.com/wordpress/trunk@14245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-26 22:12:28 +00:00 |
dd32
|
79dea16d7f
|
Ignore sticky posts which the current user cannot read, Ignore sticky posts which have been explicitly excluded with 'post__not_in'. Fixes #11197
git-svn-id: http://svn.automattic.com/wordpress/trunk@14217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-24 06:04:05 +00:00 |
dd32
|
5d597976b4
|
Remove double-query for Author ID. Props simonwheatley. Fixes #12048
git-svn-id: http://svn.automattic.com/wordpress/trunk@14160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-19 10:50:03 +00:00 |
nacin
|
f87c42f038
|
Fix sticky post handling. Use unset instead of array_splice to remove an item by key retrieved by array_search. props jeffstieler, fixes #11966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-18 05:11:05 +00:00 |
dd32
|
41c63bd520
|
Respect the post_type param for Taxonomy Queries, Props Otto & Dougal Campbell. Restrict Attachment post_status joins to queries involving attachment results ("any" or "attachment"). See #13020
git-svn-id: http://svn.automattic.com/wordpress/trunk@14121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-17 09:03:33 +00:00 |
nacin
|
14916e2449
|
Introduce the wp_filter_object_list() helper, with an $operator arg. Fixes an intersection bug in get_post_types() and get_taxonomies(). Also switches $operator default from 'or' to 'and' for get_post_stati(). props scribu, fixes #12966.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-16 14:08:58 +00:00 |
dd32
|
221075d9f6
|
Alternative implementation of custom post_type query_var handling. fills name & pagename for custom post_types to reduce amount of code duplication. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@14072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-11 13:51:24 +00:00 |
dd32
|
fedd1a12d4
|
Fix a case where $post_type = 'any' causes a large query to run without any specifications (post_name/limits/id/etc). See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@14027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-04-07 08:29:46 +00:00 |
dd32
|
644427dd63
|
Remove Debug cruft.. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@13839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-27 06:03:58 +00:00 |
dd32
|
f6129316ef
|
Support multiple post_type query params/post_type's to be specified in a query. See #12704
git-svn-id: http://svn.automattic.com/wordpress/trunk@13838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-27 05:56:27 +00:00 |
nacin
|
40773a776b
|
Remove trailing whites and double semicolons.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-26 19:36:49 +00:00 |
dd32
|
e2a7385be8
|
When viewing a Parent term in a hierarchical taxonomy, display objects contained within children too. Props scribu. Fixes #12533
git-svn-id: http://svn.automattic.com/wordpress/trunk@13787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-21 02:52:00 +00:00 |
dd32
|
b16190c496
|
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: http://svn.automattic.com/wordpress/trunk@13774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-20 02:23:52 +00:00 |
nacin
|
30d6eb32c6
|
Remove redundant isset() and empty() checks.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-19 21:29:21 +00:00 |
westi
|
b4b9f6075d
|
Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-18 21:55:25 +00:00 |
ryan
|
e25a65b36a
|
Trim trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@13733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 16:27:25 +00:00 |
markjaquith
|
58d47426cc
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: http://svn.automattic.com/wordpress/trunk@13725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-17 04:39:50 +00:00 |
dd32
|
c4d0bd8f0c
|
Prevent PHP Notices on 404 pages
git-svn-id: http://svn.automattic.com/wordpress/trunk@13691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-13 07:47:20 +00:00 |
ryan
|
fbd13a185a
|
Add no_found_rows argument to WP_Query::get_posts() to allow forcibly defeating SQL_CALC_FOUND_ROWS. Use no_found_rows for the query in get_boundary_post(). fixes #12557
git-svn-id: http://svn.automattic.com/wordpress/trunk@13647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-10 18:37:03 +00:00 |
dd32
|
84618548d7
|
Don't 404 for empty custom taxonomy terms. See #12533
git-svn-id: http://svn.automattic.com/wordpress/trunk@13615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-03-07 00:42:50 +00:00 |
dd32
|
57c4fe34bd
|
Add meta_value_num meta_key ordering for WP_Query. Allows Natural numeric ordering of results. Props stencil & scribu for cleanups. Fixes #10649
git-svn-id: http://svn.automattic.com/wordpress/trunk@13501 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 12:49:10 +00:00 |
dd32
|
89406adcee
|
Revert part of r13486, is_tax() is false for tags||categories. See #11904
git-svn-id: http://svn.automattic.com/wordpress/trunk@13495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 09:45:52 +00:00 |
dd32
|
70e4a7d880
|
Re-use /page/xx/ for Post Paging on Page_on_front. Few fixes related to paging on front page. Fixes #12391
git-svn-id: http://svn.automattic.com/wordpress/trunk@13494 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 09:40:42 +00:00 |
dd32
|
479926f048
|
When using Page on front, Do not jump back to Blog listing when per-page query vars are set. Fixes #12047
git-svn-id: http://svn.automattic.com/wordpress/trunk@13493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 09:19:34 +00:00 |
dd32
|
db84578f24
|
Initialise Search related query vars. Props scribu. Fixes #11480
git-svn-id: http://svn.automattic.com/wordpress/trunk@13492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 07:47:11 +00:00 |
dd32
|
dd78c07865
|
More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
git-svn-id: http://svn.automattic.com/wordpress/trunk@13486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-28 05:59:39 +00:00 |
ryan
|
981e0c66b3
|
Revert [13187] pending further debate. see #12267
git-svn-id: http://svn.automattic.com/wordpress/trunk@13318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-23 01:13:37 +00:00 |
wpmuguru
|
79f04413f4
|
introduce post & comment classes, props skeltoac, See #12267
git-svn-id: http://svn.automattic.com/wordpress/trunk@13187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-18 01:52:37 +00:00 |
ryan
|
f18f34ead8
|
Flag post statuses as public, private, protected, or internal. Add flags for showing the type in the admin all query and the admin status list. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-16 21:13:44 +00:00 |
ryan
|
9316d29c1d
|
Add trash to edit cap check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-13 19:05:10 +00:00 |
dd32
|
22e4b1200e
|
Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: http://svn.automattic.com/wordpress/trunk@13089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-13 06:08:15 +00:00 |
ryan
|
f147d89df7
|
Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-10 22:36:50 +00:00 |
ryan
|
ca45669343
|
Retore p_status. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@13049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-10 20:37:18 +00:00 |
ryan
|
ff8934e482
|
posts_search filter. Props skeltoac. see #10667
git-svn-id: http://svn.automattic.com/wordpress/trunk@13037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-09 16:38:05 +00:00 |
ryan
|
4ddde1ab9d
|
Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
git-svn-id: http://svn.automattic.com/wordpress/trunk@13032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-08 22:05:05 +00:00 |
ryan
|
ba4753fa8d
|
Use canonical status list. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-02-06 17:51:24 +00:00 |
ryan
|
6da55f7792
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@12733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-15 22:11:12 +00:00 |
ryan
|
da89de4958
|
More custom post type support. Props scribu. see #9674
git-svn-id: http://svn.automattic.com/wordpress/trunk@12597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2010-01-04 16:58:43 +00:00 |
westi
|
0aaf0d83af
|
Make the meaning of is_home() more explicit.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-23 15:44:57 +00:00 |
westi
|
bc8237d349
|
Add is_comment_feed() to expose ->is_comment_feed. Fixes #10827 props scribu.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-22 14:04:14 +00:00 |
ryan
|
60c67e593c
|
Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: http://svn.automattic.com/wordpress/trunk@12409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-15 21:01:57 +00:00 |
azaozz
|
1c55a42fa0
|
Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: http://svn.automattic.com/wordpress/trunk@12393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-14 00:38:05 +00:00 |
ryan
|
6622b4fa8e
|
Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389
git-svn-id: http://svn.automattic.com/wordpress/trunk@12372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-11 16:38:59 +00:00 |
ryan
|
60c6ba72c1
|
Fix is_tax(). Props scribu. fixes #10721
git-svn-id: http://svn.automattic.com/wordpress/trunk@12316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-02 18:00:32 +00:00 |
azaozz
|
37bcca4492
|
Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: http://svn.automattic.com/wordpress/trunk@12303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-12-01 08:14:42 +00:00 |