Commit Graph

593 Commits

Author SHA1 Message Date
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