ryan
|
a61bc0ec8a
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@11013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-20 18:18:39 +00:00 |
|
ryan
|
4956e5d453
|
Cache user lookups made by nicename. Add get_user_by(). fixes #4170
git-svn-id: http://svn.automattic.com/wordpress/trunk@10992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-17 21:25:11 +00:00 |
|
markjaquith
|
c69b14d5b6
|
Sanitize when querying against category name so that multiple-word subcategories match. props filosofo. fixes #8619
git-svn-id: http://svn.automattic.com/wordpress/trunk@10956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-16 21:47:42 +00:00 |
|
ryan
|
c15b0ba08b
|
robots.txt is not home. Props johnbillion. fixes #9482
git-svn-id: http://svn.automattic.com/wordpress/trunk@10920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-13 16:15:44 +00:00 |
|
azaozz
|
68e836af48
|
Set the taxonomy/term when using a custom ?tax_slug=term_slug query, props DD32, fixes #9453
git-svn-id: http://svn.automattic.com/wordpress/trunk@10866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-04-04 10:48:22 +00:00 |
|
ryan
|
6af5462708
|
Remove category ordering. Props filosofo. fixes #9228
git-svn-id: http://svn.automattic.com/wordpress/trunk@10779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-03-13 22:01:33 +00:00 |
|
ryan
|
fbd0169493
|
Remove meta_value from selected fields. Props filosofo. fixes #9177
git-svn-id: http://svn.automattic.com/wordpress/trunk@10600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-19 19:19:20 +00:00 |
|
ryan
|
92f96f913b
|
Use group by for meta key queries. Props filosofo. fixes #9167 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@10598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-19 19:17:06 +00:00 |
|
ryan
|
85e1fa1d99
|
Obey post_type. Props filosofo. fixes #8872
git-svn-id: http://svn.automattic.com/wordpress/trunk@10503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2009-02-04 20:32:27 +00:00 |
|
ryan
|
e89192b1a8
|
Strip trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@10150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-12-09 18:03:31 +00:00 |
|
ryan
|
8785bc8a1e
|
Return null if queried object not found. fixes #8244
git-svn-id: http://svn.automattic.com/wordpress/trunk@9859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-24 06:14:40 +00:00 |
|
ryan
|
a161b936a9
|
Use is_numeric instead of is_integer. Props johnconners. fixes #8284
git-svn-id: http://svn.automattic.com/wordpress/trunk@9795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-19 20:48:05 +00:00 |
|
markjaquith
|
502707fa29
|
Allow post_parent=0 queries to work. props stefano.verna. fixes #8085
git-svn-id: http://svn.automattic.com/wordpress/trunk@9774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-19 05:02:24 +00:00 |
|
ryan
|
86702a2520
|
Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-15 17:56:44 +00:00 |
|
ryan
|
545da15950
|
Notice fixes from DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@9596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-10 18:54:18 +00:00 |
|
azaozz
|
7c063b0b50
|
Preview fixes: different method of showing previews for published posts, now uses the proper templates. Fixes #8052
git-svn-id: http://svn.automattic.com/wordpress/trunk@9509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-11-04 13:00:12 +00:00 |
|
azaozz
|
b5e210f644
|
Bring back [8788], was reverted with #7663
git-svn-id: http://svn.automattic.com/wordpress/trunk@9081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-10-04 01:35:47 +00:00 |
|
ryan
|
3dc5beb9ce
|
tag__not_in and category__not_in query fixes. see #7599
git-svn-id: http://svn.automattic.com/wordpress/trunk@9031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-29 21:24:24 +00:00 |
|
ryan
|
c9cad6e514
|
Group by not needed for not_in and and taxonomy queries. Props Otto42. fixes #7761
git-svn-id: http://svn.automattic.com/wordpress/trunk@8968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-24 08:03:42 +00:00 |
|
ryan
|
04ce449e3c
|
First cut of comment paging. Add paging and threading settings. see #7769 #7635
git-svn-id: http://svn.automattic.com/wordpress/trunk@8961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-23 21:11:27 +00:00 |
|
azaozz
|
55b94822e0
|
Allow posts to be ordered by meta_key, props AaronCampbell, fixes#7431
git-svn-id: http://svn.automattic.com/wordpress/trunk@8922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-18 05:34:37 +00:00 |
|
ryan
|
6e3a5acd3b
|
phpdoc for query.php. Props jacobsantos. fixes #7663
git-svn-id: http://svn.automattic.com/wordpress/trunk@8807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-04 19:19:32 +00:00 |
|
azaozz
|
027328b8a6
|
is_archive() should be true for custom taxonomies too
git-svn-id: http://svn.automattic.com/wordpress/trunk@8788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-09-01 04:10:57 +00:00 |
|
ryan
|
e1ebd0e10a
|
Mike filter suppression. Props DD32. see #7326
git-svn-id: http://svn.automattic.com/wordpress/trunk@8773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-29 18:33:04 +00:00 |
|
ryan
|
d927db8f2d
|
Suppress query filters when called from get_posts(). see #7326 #7547
git-svn-id: http://svn.automattic.com/wordpress/trunk@8766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-28 22:30:27 +00:00 |
|
westi
|
00583d64eb
|
Performance improvements using strpos. Fixes #7611 and #7610 props johnbillion.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-27 20:47:01 +00:00 |
|
ryan
|
ed5372a6ab
|
wpdb::has_cap() from mdawaffe. fixes #7609
git-svn-id: http://svn.automattic.com/wordpress/trunk@8740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-26 23:57:48 +00:00 |
|
ryan
|
e6640c911a
|
Use a subquery in category__not_in query if the DB version supports it. Props pedrop. fixes #7599
git-svn-id: http://svn.automattic.com/wordpress/trunk@8738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-26 19:18:58 +00:00 |
|
markjaquith
|
f4f6fb2019
|
Strip trailing spaces in URLs, redirect to canonical URL. fixes #7537
git-svn-id: http://svn.automattic.com/wordpress/trunk@8667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-19 03:21:12 +00:00 |
|
ryan
|
113c014920
|
Notice fixes. Props DD32. see #7509
git-svn-id: http://svn.automattic.com/wordpress/trunk@8646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-14 17:00:37 +00:00 |
|
ryan
|
15440186be
|
Add sticky_class() template tag. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-13 18:21:52 +00:00 |
|
ryan
|
35b18e5034
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@8600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-09 05:36:14 +00:00 |
|
westi
|
b3cb14fb80
|
Lots of fixes for Notices when WP_DEBUG is set. See #6669 props santosj.
git-svn-id: http://svn.automattic.com/wordpress/trunk@8589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-08 17:05:10 +00:00 |
|
markjaquith
|
74c46749cb
|
Cast to array when using foreach(). Props santosj (and thanks for your perseverance!). fixes #2784
git-svn-id: http://svn.automattic.com/wordpress/trunk@8572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-06 20:31:54 +00:00 |
|
ryan
|
5eae274300
|
Use get_term_by() instead of is_term() to query slug. see #6593
git-svn-id: http://svn.automattic.com/wordpress/trunk@8555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-05 21:07:59 +00:00 |
|
ryan
|
7564143444
|
Sticky Posts, firct cut. see #7457
git-svn-id: http://svn.automattic.com/wordpress/trunk@8546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-08-05 05:48:21 +00:00 |
|
azaozz
|
38aa571484
|
Allow comma-separated post_status values in WP_Query. Props markjaquith, fixes #7423 for 2.7
git-svn-id: http://svn.automattic.com/wordpress/trunk@8504 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-07-30 08:16:56 +00:00 |
|
markjaquith
|
bf9f2f1cc7
|
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: http://svn.automattic.com/wordpress/trunk@8188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-06-24 19:58:54 +00:00 |
|
ryan
|
f8cc400a40
|
Disambiguate column. Props voxpelli. fixes #7073
git-svn-id: http://svn.automattic.com/wordpress/trunk@8185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-06-24 17:49:24 +00:00 |
|
matt
|
2d8fa9ee21
|
get_queried_object should not return an array of terms, and wp_title should check is_tax. Hat tip: andy
git-svn-id: http://svn.automattic.com/wordpress/trunk@7941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-16 03:57:09 +00:00 |
|
ryan
|
7a0f94ffa3
|
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: http://svn.automattic.com/wordpress/trunk@7906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-08 05:17:27 +00:00 |
|
ryan
|
c25a6fe381
|
Fix page 404 when page_for_posts is empty. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-07 19:57:15 +00:00 |
|
ryan
|
d9fd98601e
|
Use WP_query in get_posts(). Props filosofo. fixes #6772
git-svn-id: http://svn.automattic.com/wordpress/trunk@7880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-05-03 20:08:32 +00:00 |
|
ryan
|
c92c2be2af
|
Fix menu_order ordering. Props torfason. fixes #6731 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@7685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-15 01:39:33 +00:00 |
|
ryan
|
c3e32dcd4e
|
Revert [7605]. It breaks setting posts page. see #6539
git-svn-id: http://svn.automattic.com/wordpress/trunk@7622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-08 01:05:45 +00:00 |
|
ryan
|
81d1b488a9
|
Explicit ID check so we don't fall through for empties. Props natecook. fixes #6539 for 2.6
git-svn-id: http://svn.automattic.com/wordpress/trunk@7605 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-06 23:23:05 +00:00 |
|
markjaquith
|
29a551d786
|
Sanitize "cat" query var and cast to int before looking for a category template
git-svn-id: http://svn.automattic.com/wordpress/trunk@7586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-04-02 13:15:21 +00:00 |
|
ryan
|
bba593e250
|
Fix attachment links for permalink structures containing category tag. Props andy. fixes #4699
git-svn-id: http://svn.automattic.com/wordpress/trunk@7531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-26 20:17:31 +00:00 |
|
ryan
|
e1b1845154
|
Taxonomy links and template tags from andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-26 06:37:19 +00:00 |
|
ryan
|
8f35f1a817
|
Cleanup cat query var
git-svn-id: http://svn.automattic.com/wordpress/trunk@7511 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-25 17:47:02 +00:00 |
|
ryan
|
1276a8283c
|
Fix some notices
git-svn-id: http://svn.automattic.com/wordpress/trunk@7503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-24 20:30:33 +00:00 |
|
ryan
|
cce67416a3
|
Taxonomy queries and urls. Props andy. see #6357
git-svn-id: http://svn.automattic.com/wordpress/trunk@7491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-03-23 17:02:11 +00:00 |
|
ryan
|
884be4169f
|
Add option to check caps when querying a particular post status. fixes #6052
git-svn-id: http://svn.automattic.com/wordpress/trunk@7109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-29 21:49:49 +00:00 |
|
ryan
|
0b43776d5f
|
For page attachmentes, set both is_attachment and is_page to true so that templates cascade correctly.
git-svn-id: http://svn.automattic.com/wordpress/trunk@7070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-27 21:30:59 +00:00 |
|
ryan
|
699b250926
|
Small code formatting tweak
git-svn-id: http://svn.automattic.com/wordpress/trunk@6986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-22 20:48:28 +00:00 |
|
ryan
|
dce0978cee
|
Notice fixes from nbachiyski. fixes #5961
git-svn-id: http://svn.automattic.com/wordpress/trunk@6983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-22 17:43:56 +00:00 |
|
ryan
|
366cfe0d03
|
Media Library design updates from Andy. see #5911
git-svn-id: http://svn.automattic.com/wordpress/trunk@6910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-19 06:13:20 +00:00 |
|
ryan
|
daf0d9a7e9
|
Allow is_single(), is_category(), and is_tag() to accept arrays. Props fitzrev. fixes #5593
git-svn-id: http://svn.automattic.com/wordpress/trunk@6823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-13 19:02:08 +00:00 |
|
ryan
|
bf2f730177
|
Show full content, including content after the more tag, for feeds. fixes #2582
git-svn-id: http://svn.automattic.com/wordpress/trunk@6763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-09 00:19:48 +00:00 |
|
ryan
|
9989d4c23e
|
Allow rand post ordering. Props Otto42 and Nazgul. fixes #4617
git-svn-id: http://svn.automattic.com/wordpress/trunk@6760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-08 19:50:10 +00:00 |
|
ryan
|
bddedf8c3e
|
Rename is_front() to is_front_page() to avoid conflict with bbPress. see #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-06 21:21:22 +00:00 |
|
ryan
|
d88983793b
|
Trailing whitespace cleanup
git-svn-id: http://svn.automattic.com/wordpress/trunk@6726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-05 06:47:27 +00:00 |
|
ryan
|
43852a57c3
|
is_front() from markjaquith and Nazgul. fixes #3682
git-svn-id: http://svn.automattic.com/wordpress/trunk@6704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-02-02 00:13:34 +00:00 |
|
ryan
|
c52e264fde
|
Don't advance post counter when resetting query. see #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-29 23:58:41 +00:00 |
|
ryan
|
7f4b870b15
|
Make sure we have a post when doing post comment feed query. Props ruckus. see #5185
git-svn-id: http://svn.automattic.com/wordpress/trunk@6683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-29 19:01:39 +00:00 |
|
westi
|
520d17d7f0
|
Switch from abs(intval()) to absint(). See #4762.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-29 18:48:38 +00:00 |
|
ryan
|
3c0db5ec37
|
Restore global post when resetting the query. Props ionfish. fixes #5439
git-svn-id: http://svn.automattic.com/wordpress/trunk@6653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-25 01:41:57 +00:00 |
|
ryan
|
7eb704b71b
|
Pass remember arg. see #5405
git-svn-id: http://svn.automattic.com/wordpress/trunk@6644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2008-01-23 18:20:59 +00:00 |
|
ryan
|
f635599744
|
Use is_admin. Props markjaquith. see #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6509 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-28 01:04:17 +00:00 |
|
ryan
|
e587cbafcc
|
Throw pages into search queries. Let's see how they handle. see #5149
git-svn-id: http://svn.automattic.com/wordpress/trunk@6467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-22 08:19:10 +00:00 |
|
westi
|
21d9604409
|
Fix query variable naming errors.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-20 20:59:53 +00:00 |
|
ryan
|
f4b80af89a
|
Better is_admin() check from filosofo and pishmishy. fixes #5487
git-svn-id: http://svn.automattic.com/wordpress/trunk@6412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-19 17:56:16 +00:00 |
|
ryan
|
1d9a4211dc
|
Accept array of pages for is_page(). Props azaozz. fixes #5430
git-svn-id: http://svn.automattic.com/wordpress/trunk@6397 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-17 06:21:43 +00:00 |
|
ryan
|
2088cb4a1a
|
Faster page_rows() from hailin. see #5303
git-svn-id: http://svn.automattic.com/wordpress/trunk@6380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-14 06:20:42 +00:00 |
|
ryan
|
f0a47b7127
|
Query page attachments from page requests so that they can both use the same set of rewrite rules. see #3614
git-svn-id: http://svn.automattic.com/wordpress/trunk@6377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-12 11:45:55 +00:00 |
|
ryan
|
028a159440
|
Remove unused vars. Props DD32. see #5418
git-svn-id: http://svn.automattic.com/wordpress/trunk@6364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-12-06 19:49:33 +00:00 |
|
ryan
|
bbc8fa3b14
|
Do two sets of filters on posts query. First set is used by regular plugins, second by caching plugins.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-11-18 19:36:30 +00:00 |
|
ryan
|
ab845b0000
|
Move posts_selection action to after post_limits filter.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-11-17 00:04:19 +00:00 |
|
ryan
|
a2e0f3352f
|
Disambiguate columns. Props lawrence123. fixes #5256
git-svn-id: http://svn.automattic.com/wordpress/trunk@6310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-11-03 19:00:33 +00:00 |
|
ryan
|
befa8f0f11
|
Eliminate extra query.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6245 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-13 18:53:28 +00:00 |
|
ryan
|
c674a475d7
|
Use inner joins instead of left joins for taxonomy. Inner is faster. fixes #5179
git-svn-id: http://svn.automattic.com/wordpress/trunk@6224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-11 17:43:49 +00:00 |
|
ryan
|
7f61116c5b
|
Add some spacing. fixes #5137 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@6189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-05 16:27:48 +00:00 |
|
ryan
|
fe60a3ab06
|
New taxonomy intersection queries from xknown. fixes #5137
git-svn-id: http://svn.automattic.com/wordpress/trunk@6186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-10-04 18:10:03 +00:00 |
|
ryan
|
9bfccd6286
|
Add checks for WP_Error. Props filosofo. see #4809
git-svn-id: http://svn.automattic.com/wordpress/trunk@6125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-18 16:32:22 +00:00 |
|
ryan
|
368b18d383
|
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: http://svn.automattic.com/wordpress/trunk@6074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-11 18:06:52 +00:00 |
|
ryan
|
1760555e8b
|
Don't skip sanitization if 404. Add wp_title display filters.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-05 03:11:04 +00:00 |
|
ryan
|
321c310717
|
Remove trailing whitespace
git-svn-id: http://svn.automattic.com/wordpress/trunk@6026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 23:32:58 +00:00 |
|
ryan
|
87c4f3a17f
|
Strip lines that contain only whitespace down to newlines.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 23:19:20 +00:00 |
|
markjaquith
|
e468628526
|
Check for wp-admin case-insensitively in is_admin()
git-svn-id: http://svn.automattic.com/wordpress/trunk@6022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 19:56:09 +00:00 |
|
ryan
|
58c7ce91e3
|
Tag unions and intersections. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 18:14:05 +00:00 |
|
ryan
|
986715f5b6
|
tag_id not tag__id. see #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 03:26:57 +00:00 |
|
ryan
|
f87baf5b1f
|
tag__in, tag__not_in, and tag_and queries. fixes #4895
git-svn-id: http://svn.automattic.com/wordpress/trunk@6011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-09-03 03:24:23 +00:00 |
|
ryan
|
86932908e3
|
Add missing global and remove unused var. Props JeremyVisser. fixes #4818
git-svn-id: http://svn.automattic.com/wordpress/trunk@5944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-26 17:12:31 +00:00 |
|
ryan
|
ac46bc16c7
|
Don't allow private query vars in url_to_postid
git-svn-id: http://svn.automattic.com/wordpress/trunk@5925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-23 16:09:37 +00:00 |
|
ryan
|
cbad9a2993
|
posts_results and posts_selection hooks. fixes #4799
git-svn-id: http://svn.automattic.com/wordpress/trunk@5916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-22 18:03:26 +00:00 |
|
ryan
|
851ce58496
|
Some tag api additions from andy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-21 18:39:45 +00:00 |
|
ryan
|
567bc9d3f1
|
wp_reset_query() from mdawaffe. fixes #4741
git-svn-id: http://svn.automattic.com/wordpress/trunk@5907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-20 22:55:43 +00:00 |
|
ryan
|
ff20fd6c17
|
Category union and intersection query vars. fixes #4750
git-svn-id: http://svn.automattic.com/wordpress/trunk@5873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-15 22:08:51 +00:00 |
|
markjaquith
|
fa0dc110d9
|
Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: http://svn.automattic.com/wordpress/trunk@5848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-08-04 16:30:27 +00:00 |
|
markjaquith
|
7f44512c5d
|
Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: http://svn.automattic.com/wordpress/trunk@5707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 16:24:28 +00:00 |
|
ryan
|
2f09416258
|
Trim empty lines. Nothing but newline.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-14 02:25:30 +00:00 |
|
ryan
|
a09031ecd0
|
Use get_term_children() and get_term_field(). see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-06-06 16:13:12 +00:00 |
|
rob1n
|
fb2f7fb6b0
|
Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: http://svn.automattic.com/wordpress/trunk@5609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-31 03:19:38 +00:00 |
|
ryan
|
3176f1acd2
|
get_term_children() and category query fixes.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-29 21:27:49 +00:00 |
|
ryan
|
6a314d85d8
|
Use taxonomy instead of post2cat. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-29 16:52:31 +00:00 |
|
ryan
|
13a01467dc
|
get_objects_in_term()
git-svn-id: http://svn.automattic.com/wordpress/trunk@5585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-29 04:25:09 +00:00 |
|
rob1n
|
4b9d4641be
|
Add a is_user_logged_in() check.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-28 20:39:24 +00:00 |
|
ryan
|
a438f8a92a
|
Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: http://svn.automattic.com/wordpress/trunk@5575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-28 18:34:06 +00:00 |
|
ryan
|
b00beb3027
|
Convert category queries and list cats to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-23 18:59:12 +00:00 |
|
ryan
|
0b795ff92b
|
Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: http://svn.automattic.com/wordpress/trunk@5521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-05-23 03:57:20 +00:00 |
|
rob1n
|
ceb60d8af8
|
Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: http://svn.automattic.com/wordpress/trunk@5285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-19 02:53:19 +00:00 |
|
markjaquith
|
923ba23e88
|
Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: http://svn.automattic.com/wordpress/trunk@5171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-04-02 19:40:15 +00:00 |
|
matt
|
14f1c622ff
|
All the query stuff we need for tag= URLs to work.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-31 06:16:12 +00:00 |
|
matt
|
7602d17899
|
(int)er the dragon.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-23 00:59:21 +00:00 |
|
ryan
|
c295c0bffe
|
Move some query var sanitization up to parse_query() and make sure the sanitized values are avilable via get_query_var().
git-svn-id: http://svn.automattic.com/wordpress/trunk@5002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-09 04:05:28 +00:00 |
|
markjaquith
|
3320dd1380
|
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-03-07 05:29:15 +00:00 |
|
ryan
|
0f8983c364
|
Fix up page_for_posts feed. Rework some query bits. Props mdawaffe. fixes #3885
git-svn-id: http://svn.automattic.com/wordpress/trunk@4956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-28 05:22:29 +00:00 |
|
markjaquith
|
d0f79bb3f2
|
trailing tabs and whitespace cleanup.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-27 15:24:54 +00:00 |
|
markjaquith
|
5fde2708cf
|
Use correct capabilities checks when determining whether to show private posts. Props molecularbear. fixes #3827
git-svn-id: http://svn.automattic.com/wordpress/trunk@4940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-25 13:39:34 +00:00 |
|
ryan
|
4bec99a338
|
Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: http://svn.automattic.com/wordpress/trunk@4934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-24 07:33:29 +00:00 |
|
ryan
|
76a104a2e9
|
Handle empty search query. Props charleshooper. fixes #3722 #3759
git-svn-id: http://svn.automattic.com/wordpress/trunk@4911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-22 01:54:28 +00:00 |
|
ryan
|
1d054e4894
|
Disambiguate queries. Props mhyk25. fixes #3747
git-svn-id: http://svn.automattic.com/wordpress/trunk@4866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-02-05 21:29:39 +00:00 |
|
ryan
|
a78920e6b9
|
Fix SQL error when excluding empty cat. fixes #3598
git-svn-id: http://svn.automattic.com/wordpress/trunk@4754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2007-01-16 22:37:15 +00:00 |
|
markjaquith
|
49565cf608
|
Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: http://svn.automattic.com/wordpress/trunk@4634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-09 06:35:22 +00:00 |
|
ryan
|
4d72cff3fe
|
Ignore nopaging for feeds.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-06 23:14:37 +00:00 |
|
matt
|
51baba714f
|
Some additional hooks for extensibility.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-12-01 10:15:15 +00:00 |
|
markjaquith
|
42529f4516
|
Remember old post slugs and automatically redirect to the new slug. fixes #3202
git-svn-id: http://svn.automattic.com/wordpress/trunk@4556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-30 08:48:56 +00:00 |
|
matt
|
624c94b57e
|
This makes things a little more interesting and cacheable (sp?)
git-svn-id: http://svn.automattic.com/wordpress/trunk@4517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-23 15:38:22 +00:00 |
|
ryan
|
9f534ebae6
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: http://svn.automattic.com/wordpress/trunk@4495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-19 07:56:05 +00:00 |
|
ryan
|
422b5cd65c
|
ceil() max_num_pages. Props MattRead. fixes #3368
git-svn-id: http://svn.automattic.com/wordpress/trunk@4488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-19 00:58:15 +00:00 |
|
ryan
|
1d8d18022e
|
is_singular should be false for the posts page. Props mdawaffe. fixes #3351
git-svn-id: http://svn.automattic.com/wordpress/trunk@4463 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-11 18:25:42 +00:00 |
|
ryan
|
22bee1c9d7
|
Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-09 06:50:58 +00:00 |
|
ryan
|
92bacd1a91
|
Remove paging by days. fixes #3341
git-svn-id: http://svn.automattic.com/wordpress/trunk@4457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-08 21:22:35 +00:00 |
|
ryan
|
19942073ea
|
Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: http://svn.automattic.com/wordpress/trunk@4455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-08 09:13:11 +00:00 |
|
ryan
|
1977863614
|
GROUP BY is hella faster than DISTINCT.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-11-07 23:43:59 +00:00 |
|
markjaquith
|
1001b4c5b8
|
Allow "quoted strings" to be used in searches. mega free-beer-when-I-finally-meet-you-in-person props to ringmaster. fixes #3177
git-svn-id: http://svn.automattic.com/wordpress/trunk@4426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-27 03:47:43 +00:00 |
|
ryan
|
ea9df4eb3f
|
Init query_vars as an array.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-10-23 01:34:00 +00:00 |
|
ryan
|
07a02852ef
|
Make sure query vars are set before use. Props Alex King. fixes #3154
git-svn-id: http://svn.automattic.com/wordpress/trunk@4205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-21 21:05:38 +00:00 |
|
ryan
|
ad1924f837
|
do_action_ref_array(). fixes #3125
git-svn-id: http://svn.automattic.com/wordpress/trunk@4186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-09-12 17:45:23 +00:00 |
|
ryan
|
849a0d29d7
|
Use get_option instead of get_settings. Just 'cause.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 21:46:31 +00:00 |
|
ryan
|
efcb63ad21
|
s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: http://svn.automattic.com/wordpress/trunk@4133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 16:40:17 +00:00 |
|
ryan
|
2df111aadf
|
Cast page_id to int before deciding if is_page. fixes #2769
git-svn-id: http://svn.automattic.com/wordpress/trunk@4132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 09:41:40 +00:00 |
|
ryan
|
51005b397d
|
Allow passing an associative array of query vars to avoid parse_str overhead.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 04:02:12 +00:00 |
|
ryan
|
f5be1bb637
|
Add is_singular() convenience function.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-30 03:33:39 +00:00 |
|
ryan
|
207d876c81
|
Make those chars feel special.
git-svn-id: http://svn.automattic.com/wordpress/trunk@4112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-24 22:33:16 +00:00 |
|
ryan
|
1d0af8cbc2
|
Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019
git-svn-id: http://svn.automattic.com/wordpress/trunk@4096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-08-15 05:03:14 +00:00 |
|
ryan
|
e109d4e11b
|
Fix current page handling when using page_for_posts. Props skeltoac. fixes #2959
git-svn-id: http://svn.automattic.com/wordpress/trunk@4023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-20 02:05:25 +00:00 |
|
ryan
|
8475c636a1
|
Don't allow negative values when paging. fixes #2893
git-svn-id: http://svn.automattic.com/wordpress/trunk@3957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-04 19:58:11 +00:00 |
|
matt
|
7569167a7b
|
Use single quotes to be nice to ANSI mode, fixes #1498
git-svn-id: http://svn.automattic.com/wordpress/trunk@3948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-07-04 17:30:36 +00:00 |
|
ryan
|
e673d82afb
|
Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 19:44:36 +00:00 |
|
ryan
|
e4605c6e64
|
show_on_front page preview fix from that Andy guy.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-22 03:39:23 +00:00 |
|
ryan
|
bd1842e963
|
Cat exclusion from skeltoac. fixes #2825
git-svn-id: http://svn.automattic.com/wordpress/trunk@3886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-19 17:14:54 +00:00 |
|
ryan
|
7dab31bbe5
|
Query fix from skeltoac. fixes #2822
git-svn-id: http://svn.automattic.com/wordpress/trunk@3869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-14 21:49:10 +00:00 |
|
ryan
|
3b2ff8ba4a
|
Add offset support to query_posts(). Props Mark Jaquith. fixes #2558
git-svn-id: http://svn.automattic.com/wordpress/trunk@3867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-13 20:56:38 +00:00 |
|
ryan
|
c56e62f5c1
|
Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-08 02:22:16 +00:00 |
|
ryan
|
2fce9d926e
|
intval cat ID
git-svn-id: http://svn.automattic.com/wordpress/trunk@3824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-06-01 07:42:46 +00:00 |
|
ryan
|
419f125cb7
|
Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-05-22 22:06:06 +00:00 |
|
ryan
|
2f68889eb6
|
Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: http://svn.automattic.com/wordpress/trunk@3772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-05-11 23:13:35 +00:00 |
|
ryan
|
ed13228400
|
Category query cleanups from skeltoac. fixes #2709
git-svn-id: http://svn.automattic.com/wordpress/trunk@3767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-05-08 02:16:24 +00:00 |
|
ryan
|
6123ea7eb7
|
Some optimization of the post query. #2604
git-svn-id: http://svn.automattic.com/wordpress/trunk@3678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-04-02 00:33:10 +00:00 |
|
ryan
|
b470886433
|
Don't try to do paging for single page queries. Props westi. fixes #2578
git-svn-id: http://svn.automattic.com/wordpress/trunk@3649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-20 21:19:33 +00:00 |
|
ryan
|
9303053d39
|
Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: http://svn.automattic.com/wordpress/trunk@3639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2006-03-13 01:44:32 +00:00 |
|