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 |
Mark Jaquith
|
0885f81d08
|
Allow for hour/minute/second values in the QS that evaluate as false (like 0). Props Otto42 and agharbeia. fixes #4499
git-svn-id: https://develop.svn.wordpress.org/trunk@5848 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-08-04 16:30:27 +00:00 |
Mark Jaquith
|
0f0788d24d
|
Introducing post_status="pending". see #4446 and put any initial bug reports on that ticket
git-svn-id: https://develop.svn.wordpress.org/trunk@5707 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-06-14 16:24:28 +00:00 |
Ryan Boren
|
b046d67f41
|
Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-06-14 02:25:30 +00:00 |
Ryan Boren
|
e1ef29586c
|
Use get_term_children() and get_term_field(). see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5660 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-06-06 16:13:12 +00:00 |
rob1n
|
f0cd9cb22a
|
Fix some typos in query.php. Props schulte. fixes #4373
git-svn-id: https://develop.svn.wordpress.org/trunk@5609 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-31 03:19:38 +00:00 |
Ryan Boren
|
cfa5ecfd4b
|
get_term_children() and category query fixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@5593 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-29 21:27:49 +00:00 |
Ryan Boren
|
e0bf0ffa02
|
Use taxonomy instead of post2cat. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5592 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-29 16:52:31 +00:00 |
Ryan Boren
|
ac1db497fc
|
get_objects_in_term()
git-svn-id: https://develop.svn.wordpress.org/trunk@5585 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-29 04:25:09 +00:00 |
rob1n
|
6b9af86a5c
|
Add a is_user_logged_in() check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5579 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-28 20:39:24 +00:00 |
Ryan Boren
|
c9b37847ce
|
Better draft, private, and future post/page management from mdawaffe. fixes #3945
git-svn-id: https://develop.svn.wordpress.org/trunk@5575 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-28 18:34:06 +00:00 |
Ryan Boren
|
3261234a0d
|
Convert category queries and list cats to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5530 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-23 18:59:12 +00:00 |
Ryan Boren
|
0bc2a4b956
|
Add get_terms() and get_term(). Move more of tagging to taxonomy. see #4189
git-svn-id: https://develop.svn.wordpress.org/trunk@5521 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-05-23 03:57:20 +00:00 |
rob1n
|
baff4f7040
|
Replace deprecated get_settings() calls with get_option(). Props johnbillion. fixes #4167
git-svn-id: https://develop.svn.wordpress.org/trunk@5285 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-04-19 02:53:19 +00:00 |
Mark Jaquith
|
aa82383dc6
|
Fix category_name=foo WP_Queries. fixes #4069
git-svn-id: https://develop.svn.wordpress.org/trunk@5171 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-04-02 19:40:15 +00:00 |
Matt Mullenweg
|
570a74e818
|
All the query stuff we need for tag= URLs to work.
git-svn-id: https://develop.svn.wordpress.org/trunk@5149 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-03-31 06:16:12 +00:00 |
Matt Mullenweg
|
b1f6f9a6a8
|
(int)er the dragon.
git-svn-id: https://develop.svn.wordpress.org/trunk@5087 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-03-23 00:59:21 +00:00 |
Ryan Boren
|
6b7e2785e5
|
Move some query var sanitization up to parse_query() and make sure the sanitized values are avilable via get_query_var().
git-svn-id: https://develop.svn.wordpress.org/trunk@5002 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-03-09 04:05:28 +00:00 |
Mark Jaquith
|
56368548ad
|
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4990 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-03-07 05:29:15 +00:00 |
Ryan Boren
|
b6115f008a
|
Fix up page_for_posts feed. Rework some query bits. Props mdawaffe. fixes #3885
git-svn-id: https://develop.svn.wordpress.org/trunk@4956 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-28 05:22:29 +00:00 |
Mark Jaquith
|
5acfcd9fea
|
trailing tabs and whitespace cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@4953 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-27 15:24:54 +00:00 |
Mark Jaquith
|
11d28a5c07
|
Use correct capabilities checks when determining whether to show private posts. Props molecularbear. fixes #3827
git-svn-id: https://develop.svn.wordpress.org/trunk@4940 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-25 13:39:34 +00:00 |
Ryan Boren
|
2f191b4b56
|
Comment feeds everywhere. Props mdawaffe and rob1n. fixes #2485
git-svn-id: https://develop.svn.wordpress.org/trunk@4934 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-24 07:33:29 +00:00 |
Ryan Boren
|
0a1b1b2e88
|
Handle empty search query. Props charleshooper. fixes #3722 #3759
git-svn-id: https://develop.svn.wordpress.org/trunk@4911 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-22 01:54:28 +00:00 |
Ryan Boren
|
e015e21650
|
Disambiguate queries. Props mhyk25. fixes #3747
git-svn-id: https://develop.svn.wordpress.org/trunk@4866 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-02-05 21:29:39 +00:00 |
Ryan Boren
|
fb8bd1dbec
|
Fix SQL error when excluding empty cat. fixes #3598
git-svn-id: https://develop.svn.wordpress.org/trunk@4754 602fd350-edb4-49c9-b593-d223f7449a82
|
2007-01-16 22:37:15 +00:00 |
Mark Jaquith
|
d4c163f52b
|
Init strings before concatenation. Props devil1591. fixes #3457
git-svn-id: https://develop.svn.wordpress.org/trunk@4634 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-12-09 06:35:22 +00:00 |
Ryan Boren
|
c6ff4d8f99
|
Ignore nopaging for feeds.
git-svn-id: https://develop.svn.wordpress.org/trunk@4618 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-12-06 23:14:37 +00:00 |
Matt Mullenweg
|
4185964e93
|
Some additional hooks for extensibility.
git-svn-id: https://develop.svn.wordpress.org/trunk@4572 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-12-01 10:15:15 +00:00 |
Mark Jaquith
|
be11dbe438
|
Remember old post slugs and automatically redirect to the new slug. fixes #3202
git-svn-id: https://develop.svn.wordpress.org/trunk@4556 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-30 08:48:56 +00:00 |
Matt Mullenweg
|
63d022fa1a
|
This makes things a little more interesting and cacheable (sp?)
git-svn-id: https://develop.svn.wordpress.org/trunk@4517 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-23 15:38:22 +00:00 |
Ryan Boren
|
e44ea1ff93
|
Remove trailing spaces and convert spaces to tabs. Props Nazgul. fixes #986
git-svn-id: https://develop.svn.wordpress.org/trunk@4495 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-19 07:56:05 +00:00 |
Ryan Boren
|
45984c58eb
|
ceil() max_num_pages. Props MattRead. fixes #3368
git-svn-id: https://develop.svn.wordpress.org/trunk@4488 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-19 00:58:15 +00:00 |
Ryan Boren
|
997227c59a
|
is_singular should be false for the posts page. Props mdawaffe. fixes #3351
git-svn-id: https://develop.svn.wordpress.org/trunk@4463 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-11 18:25:42 +00:00 |
Ryan Boren
|
be689d80a3
|
Preserve the original query object as wp_the_query so that it's not stomped by subsequent calls to query_posts().
git-svn-id: https://develop.svn.wordpress.org/trunk@4460 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-09 06:50:58 +00:00 |
Ryan Boren
|
94b9222a4b
|
Remove paging by days. fixes #3341
git-svn-id: https://develop.svn.wordpress.org/trunk@4457 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-08 21:22:35 +00:00 |
Ryan Boren
|
6a3029d8d5
|
Use FOUND_ROWS to calculate the max number of pages. Need to cleanup/eliminate _max_num_pages().
git-svn-id: https://develop.svn.wordpress.org/trunk@4455 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-08 09:13:11 +00:00 |
Ryan Boren
|
04c0b4f99d
|
GROUP BY is hella faster than DISTINCT.
git-svn-id: https://develop.svn.wordpress.org/trunk@4450 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-11-07 23:43:59 +00:00 |
Mark Jaquith
|
b247fdc973
|
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: https://develop.svn.wordpress.org/trunk@4426 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-10-27 03:47:43 +00:00 |
Ryan Boren
|
7414172018
|
Init query_vars as an array.
git-svn-id: https://develop.svn.wordpress.org/trunk@4414 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-10-23 01:34:00 +00:00 |
Ryan Boren
|
2afc3e16b4
|
Make sure query vars are set before use. Props Alex King. fixes #3154
git-svn-id: https://develop.svn.wordpress.org/trunk@4205 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-09-21 21:05:38 +00:00 |
Ryan Boren
|
7d25a72195
|
do_action_ref_array(). fixes #3125
git-svn-id: https://develop.svn.wordpress.org/trunk@4186 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-09-12 17:45:23 +00:00 |
Ryan Boren
|
7e82eef627
|
Use get_option instead of get_settings. Just 'cause.
git-svn-id: https://develop.svn.wordpress.org/trunk@4144 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-30 21:46:31 +00:00 |
Ryan Boren
|
cd766e57e9
|
s/URI/URL/. Props Nazgul. fixes #2666
git-svn-id: https://develop.svn.wordpress.org/trunk@4133 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-30 16:40:17 +00:00 |
Ryan Boren
|
91a4f85ca8
|
Cast page_id to int before deciding if is_page. fixes #2769
git-svn-id: https://develop.svn.wordpress.org/trunk@4132 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-30 09:41:40 +00:00 |
Ryan Boren
|
54786c0cc5
|
Allow passing an associative array of query vars to avoid parse_str overhead.
git-svn-id: https://develop.svn.wordpress.org/trunk@4128 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-30 04:02:12 +00:00 |
Ryan Boren
|
be534f0d46
|
Add is_singular() convenience function.
git-svn-id: https://develop.svn.wordpress.org/trunk@4126 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-30 03:33:39 +00:00 |
Ryan Boren
|
4a9ad00205
|
Make those chars feel special.
git-svn-id: https://develop.svn.wordpress.org/trunk@4112 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-24 22:33:16 +00:00 |
Ryan Boren
|
07a4fa5c0b
|
Preserve is_feed setting when handling a 404. Props skeltoac. fixes #3019
git-svn-id: https://develop.svn.wordpress.org/trunk@4096 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-08-15 05:03:14 +00:00 |
Ryan Boren
|
bc79a2d9f0
|
Fix current page handling when using page_for_posts. Props skeltoac. fixes #2959
git-svn-id: https://develop.svn.wordpress.org/trunk@4023 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-07-20 02:05:25 +00:00 |
Ryan Boren
|
429717eb72
|
Don't allow negative values when paging. fixes #2893
git-svn-id: https://develop.svn.wordpress.org/trunk@3957 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-07-04 19:58:11 +00:00 |
Matt Mullenweg
|
f28b518c37
|
Use single quotes to be nice to ANSI mode, fixes #1498
git-svn-id: https://develop.svn.wordpress.org/trunk@3948 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-07-04 17:30:36 +00:00 |
Ryan Boren
|
5e32c14d39
|
Move ping and trackback functions to comment.php (maybe to ping.php later?) #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3900 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-22 19:44:36 +00:00 |
Ryan Boren
|
47e795eaf0
|
show_on_front page preview fix from that Andy guy.
git-svn-id: https://develop.svn.wordpress.org/trunk@3896 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-22 03:39:23 +00:00 |
Ryan Boren
|
1e23966372
|
Cat exclusion from skeltoac. fixes #2825
git-svn-id: https://develop.svn.wordpress.org/trunk@3886 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-19 17:14:54 +00:00 |
Ryan Boren
|
cb1347c092
|
Query fix from skeltoac. fixes #2822
git-svn-id: https://develop.svn.wordpress.org/trunk@3869 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-14 21:49:10 +00:00 |
Ryan Boren
|
ec11e08a9b
|
Add offset support to query_posts(). Props Mark Jaquith. fixes #2558
git-svn-id: https://develop.svn.wordpress.org/trunk@3867 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-13 20:56:38 +00:00 |
Ryan Boren
|
1041498585
|
Move user functions to user.php. Relocate more post functions to post.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3854 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-08 02:22:16 +00:00 |
Ryan Boren
|
ffffebebb1
|
intval cat ID
git-svn-id: https://develop.svn.wordpress.org/trunk@3824 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-06-01 07:42:46 +00:00 |
Ryan Boren
|
a868cae733
|
Handle robots.txt requests and obey blog_plubic setting.
git-svn-id: https://develop.svn.wordpress.org/trunk@3791 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-22 22:06:06 +00:00 |
Ryan Boren
|
8f12196bd1
|
Remove private posts from front page query. Aadd private posts and page caps. fixes #2613
git-svn-id: https://develop.svn.wordpress.org/trunk@3772 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-11 23:13:35 +00:00 |
Ryan Boren
|
a72fbca9d1
|
Category query cleanups from skeltoac. fixes #2709
git-svn-id: https://develop.svn.wordpress.org/trunk@3767 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-05-08 02:16:24 +00:00 |
Ryan Boren
|
4bbee1b73c
|
Some optimization of the post query. #2604
git-svn-id: https://develop.svn.wordpress.org/trunk@3678 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-04-02 00:33:10 +00:00 |
Ryan Boren
|
2f7058acca
|
Don't try to do paging for single page queries. Props westi. fixes #2578
git-svn-id: https://develop.svn.wordpress.org/trunk@3649 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-03-20 21:19:33 +00:00 |
Ryan Boren
|
e2108969c4
|
Move WP_Query and its wrapper functions to query.php. #2525
git-svn-id: https://develop.svn.wordpress.org/trunk@3639 602fd350-edb4-49c9-b593-d223f7449a82
|
2006-03-13 01:44:32 +00:00 |