Ryan Boren
|
aec821c651
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14924 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-26 02:42:15 +00:00 |
Andrew Nacin
|
5bc3a62137
|
Give is_singular the ability to provide awareness/context for custom post types. props ryan, scribu. Usage: is_singular('book') or is_singular( array( 'newspapers', 'books' ) ). fixes #12588.
git-svn-id: https://develop.svn.wordpress.org/trunk@14887 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-25 15:36:23 +00:00 |
Ryan Boren
|
8203d22175
|
Fix pages setup in setup_postdata(). Props misterbisson. fixes #12651
git-svn-id: https://develop.svn.wordpress.org/trunk@14750 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-19 18:39:48 +00:00 |
Ryan Boren
|
14d8731a49
|
Don't update_post_caches if a persistent object cache is installed. fixes #12611
git-svn-id: https://develop.svn.wordpress.org/trunk@14665 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-15 15:00:53 +00:00 |
Peter Westwood
|
728b90a13b
|
Introduce wp_reset_postdata(). Use it to reset the post global for the current query_posts() call after using a loop with a new WP_Query object. Fixes #12320 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@14607 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 20:39:54 +00:00 |
Peter Westwood
|
f782838830
|
Add commentary about the posts_search filter. See #10667.
git-svn-id: https://develop.svn.wordpress.org/trunk@14603 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-13 17:34:43 +00:00 |
Andrew Nacin
|
490a0a99cd
|
More typos. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14588 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 21:03:33 +00:00 |
Andrew Nacin
|
323342deec
|
Move post type object capabilities to a 'cap' object. Allow them to be initialized via the 'capabilities' key (an array) when registering support for the post type. Caps are now referred to by the name of the cap as if it was a post, i.e. ->cap->edit_post. see #13358.
git-svn-id: https://develop.svn.wordpress.org/trunk@14585 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-12 20:45:18 +00:00 |
Andrew Nacin
|
d620c50f96
|
Remove apparent debug cruft committed in [14401]. fixes #13355
git-svn-id: https://develop.svn.wordpress.org/trunk@14565 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-11 18:28:12 +00:00 |
Ryan Boren
|
ee0b76261b
|
Allow turning off object_term and postmeta cache updates. Turn off object_term updates in the wp_get_nav_menu_items() get_posts() query to avoid useless taxonomy query.
git-svn-id: https://develop.svn.wordpress.org/trunk@14528 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-10 00:58:39 +00:00 |
Andrew Nacin
|
c100b80c20
|
Fix start of week and SQL WEEK handling. props mdawaffe, fixes #10397.
git-svn-id: https://develop.svn.wordpress.org/trunk@14499 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-07 05:01:29 +00:00 |
Andrew Nacin
|
cba25aba7e
|
Prevent ambiguous table aliases in wp_post_mime_type_where. props stephdau, jfarthing84, fixes #12750.
git-svn-id: https://develop.svn.wordpress.org/trunk@14478 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 18:03:05 +00:00 |
Andrew Nacin
|
0b3e082d6e
|
Remove duplicated query var. props lriggle, fixes #13280.
git-svn-id: https://develop.svn.wordpress.org/trunk@14477 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-06 17:49:54 +00:00 |
Dion Hulse
|
12196261a4
|
Handle $wp_query->query being a string in r14341. See #12391, #12047. Fixes #13241
git-svn-id: https://develop.svn.wordpress.org/trunk@14445 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-04 18:08:03 +00:00 |
Ryan Boren
|
d2b4e092aa
|
White list instead of black list post types when searching. Props sivel. fixes #13183
git-svn-id: https://develop.svn.wordpress.org/trunk@14419 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 22:22:34 +00:00 |
Ryan Boren
|
d783952469
|
Strip trailing whites.
git-svn-id: https://develop.svn.wordpress.org/trunk@14404 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:26:11 +00:00 |
Dion Hulse
|
d28dcf1ef6
|
s/#/ \/\/ / - Remove #comment with // comment in WP_Query
git-svn-id: https://develop.svn.wordpress.org/trunk@14402 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:20:46 +00:00 |
Dion Hulse
|
aa7c1d8a41
|
WP_Query whitespace cleanup, some loop cleanup as well
git-svn-id: https://develop.svn.wordpress.org/trunk@14401 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-03 20:19:13 +00:00 |
Dion Hulse
|
65aac68cd6
|
Fix custom WP_Queries when using page_on_front. Props aaroncampbell. See #12391 (Which caused it), Fixes #12047
git-svn-id: https://develop.svn.wordpress.org/trunk@14341 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-05-02 21:28:11 +00:00 |
Andrew Nacin
|
fbac23f1eb
|
Update object term cache for custom post types. props scribu, fixes #12989.
git-svn-id: https://develop.svn.wordpress.org/trunk@14310 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-29 20:43:59 +00:00 |
Ryan Boren
|
3e9cc3ebd9
|
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: https://develop.svn.wordpress.org/trunk@14245 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-26 22:12:28 +00:00 |
Dion Hulse
|
4c6df3a2e4
|
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: https://develop.svn.wordpress.org/trunk@14217 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-24 06:04:05 +00:00 |
Dion Hulse
|
6f89c1a63a
|
Remove double-query for Author ID. Props simonwheatley. Fixes #12048
git-svn-id: https://develop.svn.wordpress.org/trunk@14160 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-19 10:50:03 +00:00 |
Andrew Nacin
|
a8d984183f
|
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: https://develop.svn.wordpress.org/trunk@14135 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-18 05:11:05 +00:00 |
Dion Hulse
|
66e73d0f64
|
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: https://develop.svn.wordpress.org/trunk@14121 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-17 09:03:33 +00:00 |
Andrew Nacin
|
028f262ccf
|
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: https://develop.svn.wordpress.org/trunk@14108 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-16 14:08:58 +00:00 |
Dion Hulse
|
d648c8b9dd
|
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: https://develop.svn.wordpress.org/trunk@14072 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-11 13:51:24 +00:00 |
Dion Hulse
|
e28019c1ec
|
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: https://develop.svn.wordpress.org/trunk@14027 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-04-07 08:29:46 +00:00 |
Dion Hulse
|
99359a2b48
|
Remove Debug cruft.. See #12704
git-svn-id: https://develop.svn.wordpress.org/trunk@13839 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-27 06:03:58 +00:00 |
Dion Hulse
|
9cd846b401
|
Support multiple post_type query params/post_type's to be specified in a query. See #12704
git-svn-id: https://develop.svn.wordpress.org/trunk@13838 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-27 05:56:27 +00:00 |
Andrew Nacin
|
4f5a2095a8
|
Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-26 19:36:49 +00:00 |
Dion Hulse
|
af3144f092
|
When viewing a Parent term in a hierarchical taxonomy, display objects contained within children too. Props scribu. Fixes #12533
git-svn-id: https://develop.svn.wordpress.org/trunk@13787 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-21 02:52:00 +00:00 |
Dion Hulse
|
6be1550e75
|
Add hierarchical support for custom post_types in Rewrite Rules & Querying. See #12643
git-svn-id: https://develop.svn.wordpress.org/trunk@13774 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-20 02:23:52 +00:00 |
Andrew Nacin
|
dd306def81
|
Remove redundant isset() and empty() checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@13770 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-19 21:29:21 +00:00 |
Peter Westwood
|
f93010c7ff
|
Make use of apply_filters_ref_array() when running the query. Fixes #9886 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@13758 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-18 21:55:25 +00:00 |
Ryan Boren
|
e61755c853
|
Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 16:27:25 +00:00 |
Mark Jaquith
|
8bca8131a6
|
More pedantry. "Setup" is not a verb. http://notaverb.com/setup
git-svn-id: https://develop.svn.wordpress.org/trunk@13725 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-17 04:39:50 +00:00 |
Dion Hulse
|
e7b6cd83c7
|
Prevent PHP Notices on 404 pages
git-svn-id: https://develop.svn.wordpress.org/trunk@13691 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-13 07:47:20 +00:00 |
Ryan Boren
|
78ef621011
|
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: https://develop.svn.wordpress.org/trunk@13647 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-10 18:37:03 +00:00 |
Dion Hulse
|
d2232722ea
|
Don't 404 for empty custom taxonomy terms. See #12533
git-svn-id: https://develop.svn.wordpress.org/trunk@13615 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-03-07 00:42:50 +00:00 |
Dion Hulse
|
5f43ce3a7b
|
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: https://develop.svn.wordpress.org/trunk@13501 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 12:49:10 +00:00 |
Dion Hulse
|
0f8493b92b
|
Revert part of r13486, is_tax() is false for tags||categories. See #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13495 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 09:45:52 +00:00 |
Dion Hulse
|
bfe10ba981
|
Re-use /page/xx/ for Post Paging on Page_on_front. Few fixes related to paging on front page. Fixes #12391
git-svn-id: https://develop.svn.wordpress.org/trunk@13494 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 09:40:42 +00:00 |
Dion Hulse
|
e7721041df
|
When using Page on front, Do not jump back to Blog listing when per-page query vars are set. Fixes #12047
git-svn-id: https://develop.svn.wordpress.org/trunk@13493 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 09:19:34 +00:00 |
Dion Hulse
|
4070e39a15
|
Initialise Search related query vars. Props scribu. Fixes #11480
git-svn-id: https://develop.svn.wordpress.org/trunk@13492 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 07:47:11 +00:00 |
Dion Hulse
|
10355ed13c
|
More powerful version is is_tax(). Props filosofo, scribu. Adds $term parameter. Fixes #11904
git-svn-id: https://develop.svn.wordpress.org/trunk@13486 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-28 05:59:39 +00:00 |
Ryan Boren
|
b2471216cd
|
Revert [13187] pending further debate. see #12267
git-svn-id: https://develop.svn.wordpress.org/trunk@13318 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-23 01:13:37 +00:00 |
Ron Rennick
|
f3a3e63a5b
|
introduce post & comment classes, props skeltoac, See #12267
git-svn-id: https://develop.svn.wordpress.org/trunk@13187 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-18 01:52:37 +00:00 |
Ryan Boren
|
663ab7e478
|
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: https://develop.svn.wordpress.org/trunk@13172 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-16 21:13:44 +00:00 |
Ryan Boren
|
a7c3d02452
|
Add trash to edit cap check.
git-svn-id: https://develop.svn.wordpress.org/trunk@13118 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 19:05:10 +00:00 |
Dion Hulse
|
d5ced26371
|
Initialise Variables, Whitespace cleanup, Remove unused variables, Cast start_of_week option to int in sanitization.
git-svn-id: https://develop.svn.wordpress.org/trunk@13089 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-13 06:08:15 +00:00 |
Ryan Boren
|
b08985b209
|
Consult exclude_from_search when retrieving post_status = any. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13052 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-10 22:36:50 +00:00 |
Ryan Boren
|
f932c77406
|
Retore p_status. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@13049 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-10 20:37:18 +00:00 |
Ryan Boren
|
153659240c
|
posts_search filter. Props skeltoac. see #10667
git-svn-id: https://develop.svn.wordpress.org/trunk@13037 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-09 16:38:05 +00:00 |
Ryan Boren
|
712c98007d
|
Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
git-svn-id: https://develop.svn.wordpress.org/trunk@13032 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-08 22:05:05 +00:00 |
Ryan Boren
|
a14ee51cad
|
Use canonical status list. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12995 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-02-06 17:51:24 +00:00 |
Ryan Boren
|
8ef8b7bad5
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-15 22:11:12 +00:00 |
Ryan Boren
|
9ef2cb198f
|
More custom post type support. Props scribu. see #9674
git-svn-id: https://develop.svn.wordpress.org/trunk@12597 602fd350-edb4-49c9-b593-d223f7449a82
|
2010-01-04 16:58:43 +00:00 |
Peter Westwood
|
1955a840a1
|
Make the meaning of is_home() more explicit.
git-svn-id: https://develop.svn.wordpress.org/trunk@12516 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-23 15:44:57 +00:00 |
Peter Westwood
|
55318cc19a
|
Add is_comment_feed() to expose ->is_comment_feed. Fixes #10827 props scribu.
git-svn-id: https://develop.svn.wordpress.org/trunk@12487 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-22 14:04:14 +00:00 |
Ryan Boren
|
8e0d091c55
|
Remove no longer needed DB has_cap() checks. Props filosofo. fixes #11443
git-svn-id: https://develop.svn.wordpress.org/trunk@12409 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-15 21:01:57 +00:00 |
Andrew Ozz
|
7c0015e43e
|
Move is_admin() to wp-settings.php so it's available when query.php is not included.
git-svn-id: https://develop.svn.wordpress.org/trunk@12393 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-14 00:38:05 +00:00 |
Ryan Boren
|
95f2058f8b
|
Return false from is_paged() if on the first page. Props Denis-de-Bernardy. fixes #11389
git-svn-id: https://develop.svn.wordpress.org/trunk@12372 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-11 16:38:59 +00:00 |
Ryan Boren
|
65e6d5fb10
|
Fix is_tax(). Props scribu. fixes #10721
git-svn-id: https://develop.svn.wordpress.org/trunk@12316 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-02 18:00:32 +00:00 |
Andrew Ozz
|
55ea0988cd
|
Don't show deleted Pages in wp.getPages results, props ryan, props Denis-de-Bernardy,fixes #11243
git-svn-id: https://develop.svn.wordpress.org/trunk@12303 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-12-01 08:14:42 +00:00 |
Mark Jaquith
|
f922806cf7
|
Add missing break. props nickohrn. fixes #11037
git-svn-id: https://develop.svn.wordpress.org/trunk@12146 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-05 20:02:18 +00:00 |
Ryan Boren
|
9bea8a1abb
|
Allow querying multiple post types. Props prettyboymp. fixes #10791
git-svn-id: https://develop.svn.wordpress.org/trunk@12144 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-05 16:08:53 +00:00 |
Ryan Boren
|
3f9f8dc3d6
|
Honor Post Type for Sticky Posts. Props chrisscott. fixes #11072
git-svn-id: https://develop.svn.wordpress.org/trunk@12143 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-11-05 15:52:01 +00:00 |
Mark Jaquith
|
19416faeac
|
Allow ordering by comment_count. fixes #11037
git-svn-id: https://develop.svn.wordpress.org/trunk@12127 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-29 18:02:55 +00:00 |
Ryan Boren
|
83ad1ab1a8
|
Improve sanitize_post() performance. Perform raw filtering only once. Add filter check to eliminate double filtering. Props johanee. fixes #10972 see #10801
git-svn-id: https://develop.svn.wordpress.org/trunk@12062 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-19 21:28:44 +00:00 |
Peter Westwood
|
c61e6f6bbd
|
Remove duplicated create_function calls an use a private _search_terms_tidy function instead for tidying up the post/page searching when looking to attach orphans to a parent post or page.
git-svn-id: https://develop.svn.wordpress.org/trunk@12052 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-18 11:50:59 +00:00 |
Ryan Boren
|
de6f496e44
|
Post type registration. Exclude post types added via plugin from searches by default. Introduce register_post_type() and get_post_types(). fixes #10885
git-svn-id: https://develop.svn.wordpress.org/trunk@11998 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-10-06 14:43:05 +00:00 |
Mark Jaquith
|
737378702c
|
esc_sql() for wp-includes
git-svn-id: https://develop.svn.wordpress.org/trunk@11978 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-27 05:33:56 +00:00 |
Ryan Boren
|
f7a1111e3c
|
Set the cap appropriate to the post type. fixes #10807 see #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11960 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-22 22:57:01 +00:00 |
Ryan Boren
|
43c201d458
|
Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-09-14 14:03:32 +00:00 |
Andrew Ozz
|
5e8dbc10cd
|
Fix displaying pages and attachments, props dd32, see #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11822 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-15 10:57:56 +00:00 |
Mark Jaquith
|
14ac0702da
|
Always respect custom post_type in queries. props dd32, filosofo. fixes #10605
git-svn-id: https://develop.svn.wordpress.org/trunk@11817 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-08-15 03:28:03 +00:00 |
Andrew Ozz
|
d9f8c67f2f
|
Trash status updates for posts, pages, comments and attachments, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@11749 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-07-30 13:39:34 +00:00 |
Ryan Boren
|
3a24e23c5c
|
absint paged
git-svn-id: https://develop.svn.wordpress.org/trunk@11606 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-19 17:30:39 +00:00 |
Ryan Boren
|
c6555c2442
|
Use proper field for category intersection queries. fixes #9985
git-svn-id: https://develop.svn.wordpress.org/trunk@11501 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-06-01 17:12:12 +00:00 |
Ryan Boren
|
22bf595381
|
Fix loop start, loop end workflow. Props Denis-de-Bernardy. fixes #9944
git-svn-id: https://develop.svn.wordpress.org/trunk@11464 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-26 23:57:01 +00:00 |
Ryan Boren
|
cd50b4f950
|
Restore LEFT JOIN for post_status_join. fixes #9851 see #9720
git-svn-id: https://develop.svn.wordpress.org/trunk@11452 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-25 05:36:48 +00:00 |
Ryan Boren
|
e12c642c54
|
Trim tailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11450 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-24 23:47:49 +00:00 |
Ryan Boren
|
8a76759cae
|
Revert [11392]. It breaks custom taxonomies for attachments. see #8731
git-svn-id: https://develop.svn.wordpress.org/trunk@11420 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-21 00:10:04 +00:00 |
Ryan Boren
|
47556a2dad
|
Add orderby=none. Props DD32. fixes #9819
git-svn-id: https://develop.svn.wordpress.org/trunk@11415 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-20 21:26:00 +00:00 |
Ryan Boren
|
036031cbab
|
Remove global regs that can poison query objects. fixes #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11406 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-20 16:05:23 +00:00 |
Ryan Boren
|
506192e771
|
Reset post-related globals in wp_reset_query(). Props Denis-de-Bernardy. fixes #9256
git-svn-id: https://develop.svn.wordpress.org/trunk@11400 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-19 16:16:15 +00:00 |
Ryan Boren
|
4a648c3825
|
Pass query object to loop_start and loop_end actions. Props Denis-de-Bernardy. fixes #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11399 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-19 16:13:50 +00:00 |
Ryan Boren
|
1f9c258540
|
Lose broken post_status_join. Exclude revisions from post_type = any queries. Props gortsleigh. fixes #8731
git-svn-id: https://develop.svn.wordpress.org/trunk@11392 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-19 15:25:43 +00:00 |
Ryan Boren
|
8f2d1010bb
|
Unset from GLOBALS. see #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11386 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-18 18:00:47 +00:00 |
Ryan Boren
|
c6debe7b9e
|
Break global post ref so we don't pollute queries. see #9854
git-svn-id: https://develop.svn.wordpress.org/trunk@11382 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-18 15:56:39 +00:00 |
Ryan Boren
|
d600eaf1c7
|
Allow combining category and tag queries. Props turboguy. fixes #5433
git-svn-id: https://develop.svn.wordpress.org/trunk@11348 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-15 23:47:28 +00:00 |
Ryan Boren
|
c4f78ad63a
|
Don't localize dates where not appropriate. Props Denis-de-Bernardy, hakre. fixes #9730
git-svn-id: https://develop.svn.wordpress.org/trunk@11323 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-14 02:00:32 +00:00 |
Ryan Boren
|
9dab147679
|
JOIN instead of LEFT JOIN. Props Denis-de-Bernardy. fixes #9720
git-svn-id: https://develop.svn.wordpress.org/trunk@11259 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-11 04:56:00 +00:00 |
Peter Westwood
|
5173e6c7f8
|
Prevent notice check on invalid sticky settings. See #9393 props nbachiyski.
git-svn-id: https://develop.svn.wordpress.org/trunk@11230 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-07 07:05:35 +00:00 |
Ryan Boren
|
7e1eb1289d
|
Add the_post action. Props Denis-de-Bernardy. fixes #6284
git-svn-id: https://develop.svn.wordpress.org/trunk@11213 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-06 01:42:43 +00:00 |
Ryan Boren
|
41692335a8
|
Comment query filters. Props filosofo. fixes #9635
git-svn-id: https://develop.svn.wordpress.org/trunk@11211 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-05-05 22:41:26 +00:00 |
Ryan Boren
|
1f47d7d591
|
Fix registration of default taxonomies so that proper rewrite rules are written.
git-svn-id: https://develop.svn.wordpress.org/trunk@11141 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-30 19:05:32 +00:00 |
Ryan Boren
|
9627196cb4
|
Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@11121 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-29 16:25:33 +00:00 |
Ryan Boren
|
067e8ba9ee
|
Don't show password protected posts in searches for non-logged in users. Props coffee2code. fixes #9559
git-svn-id: https://develop.svn.wordpress.org/trunk@11106 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-28 00:05:43 +00:00 |
Andrew Ozz
|
d812bc92a8
|
Fix category__not_in and tag__not_in running empty, props coffee2code, fixes #9645
git-svn-id: https://develop.svn.wordpress.org/trunk@11086 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-25 07:48:17 +00:00 |
Ryan Boren
|
e2c1cc6c08
|
Revert [10956]. fixes #9643 see #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@11085 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-25 00:01:05 +00:00 |
Ryan Boren
|
12c7093645
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@11013 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-20 18:18:39 +00:00 |
Ryan Boren
|
fcb4384381
|
Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: https://develop.svn.wordpress.org/trunk@10992 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-17 21:25:11 +00:00 |
Mark Jaquith
|
6ed53a4461
|
Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: https://develop.svn.wordpress.org/trunk@10956 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-16 21:47:42 +00:00 |
Ryan Boren
|
866d4203ed
|
robots.txt is not home. Props johnbillion. fixes #9482
git-svn-id: https://develop.svn.wordpress.org/trunk@10920 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-13 16:15:44 +00:00 |
Andrew Ozz
|
96dc28968e
|
Set the taxonomy/term when using a custom ?tax_slug=term_slug query, props DD32, fixes #9453
git-svn-id: https://develop.svn.wordpress.org/trunk@10866 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-04-04 10:48:22 +00:00 |
Ryan Boren
|
a8f8d9bdad
|
Remove category ordering. Props filosofo. fixes #9228
git-svn-id: https://develop.svn.wordpress.org/trunk@10779 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-03-13 22:01:33 +00:00 |
Ryan Boren
|
843229bc36
|
Remove meta_value from selected fields. Props filosofo. fixes #9177
git-svn-id: https://develop.svn.wordpress.org/trunk@10600 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-19 19:19:20 +00:00 |
Ryan Boren
|
023dca55ec
|
Use group by for meta key queries. Props filosofo. fixes #9167 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@10598 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-19 19:17:06 +00:00 |
Ryan Boren
|
4ad180ca5b
|
Obey post_type. Props filosofo. fixes #8872
git-svn-id: https://develop.svn.wordpress.org/trunk@10503 602fd350-edb4-49c9-b593-d223f7449a82
|
2009-02-04 20:32:27 +00:00 |
Ryan Boren
|
baaaa352ba
|
Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-12-09 18:03:31 +00:00 |
Ryan Boren
|
e8169296b0
|
Return null if queried object not found. fixes #8244
git-svn-id: https://develop.svn.wordpress.org/trunk@9859 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-24 06:14:40 +00:00 |
Ryan Boren
|
a32bc07082
|
Use is_numeric instead of is_integer. Props johnconners. fixes #8284
git-svn-id: https://develop.svn.wordpress.org/trunk@9795 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-19 20:48:05 +00:00 |
Mark Jaquith
|
72621ce78b
|
Allow post_parent=0 queries to work. props stefano.verna. fixes #8085
git-svn-id: https://develop.svn.wordpress.org/trunk@9774 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-19 05:02:24 +00:00 |
Ryan Boren
|
3a7e85c5ec
|
Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9714 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-15 17:56:44 +00:00 |
Ryan Boren
|
83e002f20b
|
Notice fixes from DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@9596 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-10 18:54:18 +00:00 |
Andrew Ozz
|
7d45802347
|
Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: https://develop.svn.wordpress.org/trunk@9509 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-11-04 13:00:12 +00:00 |
Andrew Ozz
|
53b4adbb1e
|
Bring back [8788], was reverted with #7663
git-svn-id: https://develop.svn.wordpress.org/trunk@9081 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-10-04 01:35:47 +00:00 |
Ryan Boren
|
2084dc7f8f
|
tag__not_in and category__not_in query fixes. see #7599
git-svn-id: https://develop.svn.wordpress.org/trunk@9031 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-29 21:24:24 +00:00 |
Ryan Boren
|
d9c4380549
|
Group by not needed for not_in and and taxonomy queries. Props Otto42. fixes #7761
git-svn-id: https://develop.svn.wordpress.org/trunk@8968 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-24 08:03:42 +00:00 |
Ryan Boren
|
23fd52bd85
|
First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: https://develop.svn.wordpress.org/trunk@8961 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-23 21:11:27 +00:00 |
Andrew Ozz
|
47a31f05d0
|
Allow posts to be ordered by meta_key, props AaronCampbell, fixes#7431
git-svn-id: https://develop.svn.wordpress.org/trunk@8922 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-18 05:34:37 +00:00 |
Ryan Boren
|
80199e4862
|
phpdoc for query.php. Props jacobsantos. fixes #7663
git-svn-id: https://develop.svn.wordpress.org/trunk@8807 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-04 19:19:32 +00:00 |
Andrew Ozz
|
6a1964e13f
|
is_archive() should be true for custom taxonomies too
git-svn-id: https://develop.svn.wordpress.org/trunk@8788 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-09-01 04:10:57 +00:00 |
Ryan Boren
|
22427df48b
|
Mike filter suppression. Props DD32. see #7326
git-svn-id: https://develop.svn.wordpress.org/trunk@8773 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-29 18:33:04 +00:00 |
Ryan Boren
|
cefe351dac
|
Suppress query filters when called from get_posts(). see #7326 #7547
git-svn-id: https://develop.svn.wordpress.org/trunk@8766 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-28 22:30:27 +00:00 |
Peter Westwood
|
e7559c8134
|
Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: https://develop.svn.wordpress.org/trunk@8754 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-27 20:47:01 +00:00 |
Ryan Boren
|
9ab6c5d3f7
|
wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: https://develop.svn.wordpress.org/trunk@8740 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-26 23:57:48 +00:00 |
Ryan Boren
|
13cf1a5c78
|
Use a subquery in category__not_in query if the DB version supports it. Props pedrop. fixes #7599
git-svn-id: https://develop.svn.wordpress.org/trunk@8738 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-26 19:18:58 +00:00 |
Mark Jaquith
|
71632ab8c7
|
Strip trailing spaces in URLs, redirect to canonical URL. fixes #7537
git-svn-id: https://develop.svn.wordpress.org/trunk@8667 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-19 03:21:12 +00:00 |
Ryan Boren
|
197fc1d118
|
Notice fixes. Props DD32. see #7509
git-svn-id: https://develop.svn.wordpress.org/trunk@8646 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-14 17:00:37 +00:00 |
Ryan Boren
|
2b8caf9a1f
|
Add sticky_class() template tag. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8637 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-13 18:21:52 +00:00 |
Ryan Boren
|
2272a1a950
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-09 05:36:14 +00:00 |
Peter Westwood
|
010f5ed7b2
|
Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8589 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-08 17:05:10 +00:00 |
Mark Jaquith
|
3cab99fbd2
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: https://develop.svn.wordpress.org/trunk@8572 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-06 20:31:54 +00:00 |
Ryan Boren
|
ace1dbc33e
|
Use get_term_by() instead of is_term() to query slug. see #6593
git-svn-id: https://develop.svn.wordpress.org/trunk@8555 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-05 21:07:59 +00:00 |
Ryan Boren
|
742aa7d933
|
Sticky Posts, firct cut. see #7457
git-svn-id: https://develop.svn.wordpress.org/trunk@8546 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-08-05 05:48:21 +00:00 |
Andrew Ozz
|
b12c2edcf0
|
Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8504 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-07-30 08:16:56 +00:00 |
Mark Jaquith
|
91eeb5ff47
|
Don't call loop_end hook if we don't have any posts. props Denis-de-Bernardy and DD32. fixes #6769 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@8188 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-24 19:58:54 +00:00 |
Ryan Boren
|
1e8fc2ce19
|
Disambiguate column. Props voxpelli. fixes #7073
git-svn-id: https://develop.svn.wordpress.org/trunk@8185 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-06-24 17:49:24 +00:00 |
Matt Mullenweg
|
ea8035697d
|
get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: https://develop.svn.wordpress.org/trunk@7941 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-16 03:57:09 +00:00 |
Ryan Boren
|
ae3e557def
|
Query cleanups. Use absint, concat where instead of overwrite, make post_parent independent, sanitize post__in and post__not_in. Props mdawaffe. see #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7906 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-08 05:17:27 +00:00 |
Ryan Boren
|
b288e5a8af
|
Fix page 404 when page_for_posts is empty. see #6539
git-svn-id: https://develop.svn.wordpress.org/trunk@7905 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-07 19:57:15 +00:00 |
Ryan Boren
|
2341bcc764
|
Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: https://develop.svn.wordpress.org/trunk@7880 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-05-03 20:08:32 +00:00 |
Ryan Boren
|
b3dbfd3b48
|
Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7685 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-15 01:39:33 +00:00 |
Ryan Boren
|
11f65056f9
|
Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: https://develop.svn.wordpress.org/trunk@7622 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-08 01:05:45 +00:00 |
Ryan Boren
|
9b41523d8f
|
Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: https://develop.svn.wordpress.org/trunk@7605 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-06 23:23:05 +00:00 |
Mark Jaquith
|
15490b8df5
|
Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: https://develop.svn.wordpress.org/trunk@7586 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-04-02 13:15:21 +00:00 |
Ryan Boren
|
9ce77cf8d8
|
Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: https://develop.svn.wordpress.org/trunk@7531 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-26 20:17:31 +00:00 |
Ryan Boren
|
ec33c42302
|
Taxonomy links and template tags from andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7520 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-26 06:37:19 +00:00 |
Ryan Boren
|
0daeb9bf4e
|
Cleanup cat query var
git-svn-id: https://develop.svn.wordpress.org/trunk@7511 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-25 17:47:02 +00:00 |
Ryan Boren
|
6ab2307892
|
Fix some notices
git-svn-id: https://develop.svn.wordpress.org/trunk@7503 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-24 20:30:33 +00:00 |
Ryan Boren
|
cbfb5d78b5
|
Taxonomy queries and urls. Props andy. see #6357
git-svn-id: https://develop.svn.wordpress.org/trunk@7491 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-03-23 17:02:11 +00:00 |
Ryan Boren
|
71f274c599
|
Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: https://develop.svn.wordpress.org/trunk@7109 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-29 21:49:49 +00:00 |
Ryan Boren
|
f05150a50f
|
For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: https://develop.svn.wordpress.org/trunk@7070 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-27 21:30:59 +00:00 |
Ryan Boren
|
47cec19e53
|
Small code formatting tweak
git-svn-id: https://develop.svn.wordpress.org/trunk@6986 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-22 20:48:28 +00:00 |
Ryan Boren
|
7ed364b2ce
|
Notice fixes from nbachiyski. fixes #5961
git-svn-id: https://develop.svn.wordpress.org/trunk@6983 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-22 17:43:56 +00:00 |
Ryan Boren
|
5f85c2dc0c
|
Media Library design updates from Andy. see #5911
git-svn-id: https://develop.svn.wordpress.org/trunk@6910 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-19 06:13:20 +00:00 |
Ryan Boren
|
c8f887c6a6
|
Allow is_single(), is_category(), and is_tag() to accept arrays. Props fitzrev. fixes #5593
git-svn-id: https://develop.svn.wordpress.org/trunk@6823 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-13 19:02:08 +00:00 |
Ryan Boren
|
d9127f97e1
|
Show full content, including content after the more tag, for feeds. fixes #2582
git-svn-id: https://develop.svn.wordpress.org/trunk@6763 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-09 00:19:48 +00:00 |
Ryan Boren
|
ef7fb4b35e
|
Allow rand post ordering. Props Otto42 and Nazgul. fixes #4617
git-svn-id: https://develop.svn.wordpress.org/trunk@6760 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-08 19:50:10 +00:00 |
Ryan Boren
|
452f423faf
|
Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682
git-svn-id: https://develop.svn.wordpress.org/trunk@6740 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-06 21:21:22 +00:00 |
Ryan Boren
|
3a18b96c9b
|
Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-05 06:47:27 +00:00 |
Ryan Boren
|
53909dbb3b
|
is_front() from markjaquith and Nazgul. fixes #3682
git-svn-id: https://develop.svn.wordpress.org/trunk@6704 602fd350-edb4-49c9-b593-d223f7449a82
|
2008-02-02 00:13:34 +00:00 |
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 |