Commit Graph

482 Commits

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