Commit Graph

157 Commits

Author SHA1 Message Date
Ryan Boren 2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +00:00
Ryan Boren 3484e62eca Revert debug
git-svn-id: https://develop.svn.wordpress.org/trunk@16514 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:44:11 +00:00
Ryan Boren f3e3c03abe array_unique() category__in and category__not_in to eliminate dupes from multiple runs of parse_tax_query(). Fixes canonical redirects for cat, category__in, and category__not_in requests. see #12891 #15487
git-svn-id: https://develop.svn.wordpress.org/trunk@16513 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-20 21:43:19 +00:00
Ryan Boren e25996c368 File file level phpdoc from jacobsantos. see #7037
git-svn-id: https://develop.svn.wordpress.org/trunk@7991 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-25 15:50:15 +00:00
Ryan Boren e911cca913 Allow wp-config.php to exist one level up from WordPress root directory. Props sambauers. fixes #6933
git-svn-id: https://develop.svn.wordpress.org/trunk@7971 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-21 05:59:27 +00:00
Ryan Boren a7a52c2632 Style updates for install from mt. fixes #5946
git-svn-id: https://develop.svn.wordpress.org/trunk@6965 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 23:55:11 +00:00
Ryan Boren 347f594c9f Remove gzip_compression(). Leave it to the server. fixes #4342
git-svn-id: https://develop.svn.wordpress.org/trunk@6775 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-10 07:12:33 +00:00
Ryan Boren 400f3cf09b Include plugin.php before calling wp_die. fixes #4238 for 2.3.
git-svn-id: https://develop.svn.wordpress.org/trunk@5418 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-09 16:18:11 +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 4ad04f487e Fix wp_die() includes when bailing out in the blog header. Props tacker. fixes #3883
git-svn-id: https://develop.svn.wordpress.org/trunk@4973 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 00:17:58 +00:00
Ryan Boren 1a6d55057d Change editing wp-config codex link. fixes #1936
git-svn-id: https://develop.svn.wordpress.org/trunk@4737 602fd350-edb4-49c9-b593-d223f7449a82
2007-01-16 01:42:06 +00:00
Mark Jaquith 1c0f13ab9a missing wp-config.php error uses wp_die() now. props Nazgul. fixes #1936
git-svn-id: https://develop.svn.wordpress.org/trunk@4307 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 05:32:18 +00:00
Ryan Boren 0b25954d38 Use wp_die(). Props filosofo. fixes #2914
git-svn-id: https://develop.svn.wordpress.org/trunk@3985 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-05 22:00:03 +00:00
Matt Mullenweg 7f7c72cbe2 More user
git-svn-id: https://develop.svn.wordpress.org/trunk@2633 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-12 23:22:06 +00:00
Ryan Boren 7d6fc8af08 Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.
git-svn-id: https://develop.svn.wordpress.org/trunk@2627 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-10 23:15:13 +00:00
Matt Mullenweg a2fa5d6a70 Better headers for CGI enviroments
git-svn-id: https://develop.svn.wordpress.org/trunk@2623 602fd350-edb4-49c9-b593-d223f7449a82
2005-06-09 00:17:43 +00:00
Matt Mullenweg 005b51f0d4 http://mosquito.wordpress.org/view.php?id=1323 - Hat tip: Dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2600 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-13 21:07:21 +00:00
Matt Mullenweg ba9eb22b33 He ain't ugly, he's my brother.
git-svn-id: https://develop.svn.wordpress.org/trunk@2584 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-05 23:05:51 +00:00
Matt Mullenweg 74af4dfeec Possible fix for http://mosquito.wordpress.org/view.php?id=1275
git-svn-id: https://develop.svn.wordpress.org/trunk@2579 602fd350-edb4-49c9-b593-d223f7449a82
2005-05-03 04:32:40 +00:00
Matt Mullenweg b86f9be3ef Logic was *really* confusing and it seemed to return 304s badly, breaking all dashboards when I updated the dev blog
git-svn-id: https://develop.svn.wordpress.org/trunk@2534 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-14 00:09:52 +00:00
Ryan Boren 1cb51ba0d9 Send 304 if If-Modified-Since is >= the most rcent post time. http://mosquito.wordpress.org/view.php?id=582 Props: dougal
git-svn-id: https://develop.svn.wordpress.org/trunk@2529 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-13 16:36:46 +00:00
Ryan Boren a0d5ea6ba2 Remove old preview stuff. Allow draft posts to be displayed if the logged in user has edit permissions on the draft. Don't use cruft-free links for drafts since they might not have a slug. http://mosquito.wordpress.org/view.php?id=1220
git-svn-id: https://develop.svn.wordpress.org/trunk@2523 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-09 17:12:36 +00:00
Ryan Boren bda54f37b2 Remove debug cruft.
git-svn-id: https://develop.svn.wordpress.org/trunk@2512 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 16:39:41 +00:00
Ryan Boren 2047222551 Path info permalinks weren't getting 404 treatment.
git-svn-id: https://develop.svn.wordpress.org/trunk@2510 602fd350-edb4-49c9-b593-d223f7449a82
2005-04-03 05:43:42 +00:00
Ryan Boren 8dec99fddb Cacheing cleanup. Introduce get_post() and get_category(). http://mosquito.wordpress.org/view.php?id=1157
git-svn-id: https://develop.svn.wordpress.org/trunk@2478 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-27 20:45:01 +00:00
Ryan Boren b06afb7b33 Use is_single() and is_page() to determine if single and more should be set. http://mosquito.wordpress.org/view.php?id=969 Props: coffee2code
git-svn-id: https://develop.svn.wordpress.org/trunk@2378 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-25 02:07:08 +00:00
Ryan Boren 1b3a0a7c5a Don't try to process path info when directly loading the feed files. Props to Toby Simmons. http://mosquito.wordpress.org/view.php?id=903
git-svn-id: https://develop.svn.wordpress.org/trunk@2363 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-18 01:43:48 +00:00
Matt Mullenweg d986596ef6 Send headers in a CGI friendly way
git-svn-id: https://develop.svn.wordpress.org/trunk@2336 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 21:05:15 +00:00
Ryan Boren 35b685cb65 Load comments-popup template through the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@2332 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 09:17:23 +00:00
Matt Mullenweg 0ef609b8b3 Don't exit too early - http://mosquito.wordpress.org/view.php?id=870
git-svn-id: https://develop.svn.wordpress.org/trunk@2326 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 05:50:46 +00:00
Matt Mullenweg ed8a84e4cd html_type to allow for true XHTML.
git-svn-id: https://develop.svn.wordpress.org/trunk@2321 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:36:57 +00:00
Matt Mullenweg b6c203b47d Send proper header to avoid charset mismatch - http://mosquito.wordpress.org/view.php?id=857
git-svn-id: https://develop.svn.wordpress.org/trunk@2320 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 04:29:53 +00:00
Matt Mullenweg 4c91673f25 Don't double-nest wp-admin. http://mosquito.wordpress.org/view.php?id=465
git-svn-id: https://develop.svn.wordpress.org/trunk@2309 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-14 00:49:03 +00:00
Ryan Boren e20c0260e4 Make sure trackback template is not double processed.
git-svn-id: https://develop.svn.wordpress.org/trunk@2305 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 21:25:08 +00:00
Ryan Boren 0809fbff89 Process feed and trackback templates even if not using themes.
git-svn-id: https://develop.svn.wordpress.org/trunk@2304 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 21:20:00 +00:00
Matt Mullenweg a735f28792 Better default behaviour for theme calling
git-svn-id: https://develop.svn.wordpress.org/trunk@2303 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 20:38:28 +00:00
Ryan Boren 2cee4ac87f Don't redirect to permalink page if search returns one result. Move search template load higher up in load order.
git-svn-id: https://develop.svn.wordpress.org/trunk@2302 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 20:32:24 +00:00
Ryan Boren 4b80a070e7 Do not use is_*() functions before query_posts() runs.
git-svn-id: https://develop.svn.wordpress.org/trunk@2301 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 20:01:41 +00:00
Ryan Boren 6ee469cf88 Process posts_per_rss in WP_Query. http://mosquito.wordpress.org/view.php?id=864
git-svn-id: https://develop.svn.wordpress.org/trunk@2299 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-13 19:42:22 +00:00
Ryan Boren fa6727b6b6 Make sure is_feed() is true when feed files are referenced directly. http://mosquito.wordpress.org/view.php?id=726
git-svn-id: https://develop.svn.wordpress.org/trunk@2272 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-11 06:42:07 +00:00
Ryan Boren 92c2275795 Remove extra wp-l10n.php include. Bug 756.
git-svn-id: https://develop.svn.wordpress.org/trunk@2185 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:43:31 +00:00
Ryan Boren 02a701f72b Allow multiple args to be passed to apply_filters and do_action. Move some code into merge_filters. Use call_user_func_array so that args can be passed by reference. Provide a default for the second arg to do_action so that we do not have to put empty strings in the do_action calls. Bug 768. Hat tip: morganiq
git-svn-id: https://develop.svn.wordpress.org/trunk@2184 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 06:20:54 +00:00
Ryan Boren 53d75a06d5 get_*_template() functions and filters.
git-svn-id: https://develop.svn.wordpress.org/trunk@2183 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 03:44:32 +00:00
Ryan Boren 8b95197691 Remove support for 'all' queries and for poststart and postend.
git-svn-id: https://develop.svn.wordpress.org/trunk@2179 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-01 01:49:51 +00:00
Ryan Boren 6f9ab24c3f Add missing dash. Bug 713.
git-svn-id: https://develop.svn.wordpress.org/trunk@2106 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-19 16:15:45 +00:00
Ryan Boren a6f84753db If template redirection is turned off, we still need to redirect for feeds and trackbacks so that permalinks do not break.
git-svn-id: https://develop.svn.wordpress.org/trunk@2087 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-14 05:52:10 +00:00
Ryan Boren adad04ff38 s/wp_did_template_redirect/wp_template_redirect/
git-svn-id: https://develop.svn.wordpress.org/trunk@2069 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-09 01:53:31 +00:00
Matt Mullenweg 5dbc7ec739 Formatting cleanup and added category-123.php functionality.
git-svn-id: https://develop.svn.wordpress.org/trunk@2038 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-03 00:14:42 +00:00
Ryan Boren 0971447cf6 Rework query precedence for bug 541. Add is_trackback().
git-svn-id: https://develop.svn.wordpress.org/trunk@1972 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 00:28:24 +00:00
Ryan Boren 22781af5ee Do not process PATH_INFO if it containts the index.
git-svn-id: https://develop.svn.wordpress.org/trunk@1923 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-08 22:00:26 +00:00