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 |