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 |
|