Commit Graph

74 Commits

Author SHA1 Message Date
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
rob1n
3deb0fe500 New status_header code, and WP-DB bail() errors send a 503 Service Unavailable. see #2409
Also, the new header code to text array has 302 as Found. fixes #4183


git-svn-id: https://develop.svn.wordpress.org/trunk@5446 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-11 03:34:50 +00:00
Ryan Boren
3c5b5f926b Fix typo. Props rob1n. fixes #4000
git-svn-id: https://develop.svn.wordpress.org/trunk@5063 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-20 03:18:44 +00:00
Ryan Boren
01c199e20c Move smilies init to function and trigger from init. Props rob1n. fixes #1721
git-svn-id: https://develop.svn.wordpress.org/trunk@5032 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-12 21:31:24 +00:00
Ryan Boren
ef006054ca vars.php cleanups and speedups from rob1n. fixes #3956
git-svn-id: https://develop.svn.wordpress.org/trunk@5024 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-11 01:19:16 +00:00
Mark Jaquith
4e26ccb1a4 Typo in [4990] caught by johnbillion. fixes #3920
git-svn-id: https://develop.svn.wordpress.org/trunk@4995 602fd350-edb4-49c9-b593-d223f7449a82
2007-03-07 06:10:33 +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
Mark Jaquith
db44b0a561 Bunch of whitespace and coding standardization.
git-svn-id: https://develop.svn.wordpress.org/trunk@4626 602fd350-edb4-49c9-b593-d223f7449a82
2006-12-07 03:57:23 +00:00
Mark Jaquith
4bce27562b Somewhat stricter smilies replacements by Nazgul. fixes #3222
git-svn-id: https://develop.svn.wordpress.org/trunk@4380 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-12 10:14:14 +00:00
Ryan Boren
28a0e3786c Smilies optimization from Nazgul. fixes #3201 #3216
git-svn-id: https://develop.svn.wordpress.org/trunk@4360 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-07 19:16:24 +00:00
Ryan Boren
076dd45bcf Smiley parsing fixes from Nazgul. fixes #2444 #1279
git-svn-id: https://develop.svn.wordpress.org/trunk@4283 602fd350-edb4-49c9-b593-d223f7449a82
2006-10-04 02:21:27 +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
Matt Mullenweg
d75bc044ef Clean up how we address IP addresses throughout the code
git-svn-id: https://develop.svn.wordpress.org/trunk@3990 602fd350-edb4-49c9-b593-d223f7449a82
2006-07-06 00:04:24 +00:00
Ryan Boren
84ff4122d4 Fixed pagenow regex. Props herr_ernst. fixes #2843
git-svn-id: https://develop.svn.wordpress.org/trunk@3910 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-24 05:54:25 +00:00
Ryan Boren
4b283b4c93 Sort those smilies. Props HenkvandeKamer and robmiller. fixes #2778
git-svn-id: https://develop.svn.wordpress.org/trunk@3890 602fd350-edb4-49c9-b593-d223f7449a82
2006-06-19 17:21:02 +00:00
Matt Mullenweg
d17b992895 Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
git-svn-id: https://develop.svn.wordpress.org/trunk@3685 602fd350-edb4-49c9-b593-d223f7449a82
2006-04-04 00:25:04 +00:00
Ryan Boren
9f23849f9c Remove smilies sort. Props random. fixes #2550
git-svn-id: https://develop.svn.wordpress.org/trunk@3640 602fd350-edb4-49c9-b593-d223f7449a82
2006-03-14 02:32:59 +00:00
Ryan Boren
29e7d65c71 Move PHP_SELF setup to wp-settings.php. #2153
git-svn-id: https://develop.svn.wordpress.org/trunk@3382 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-29 23:11:26 +00:00
Ryan Boren
dcd75531cb Populate PHP_SELF from REQUEST_URI if blank.
git-svn-id: https://develop.svn.wordpress.org/trunk@3319 602fd350-edb4-49c9-b593-d223f7449a82
2005-12-16 08:04:41 +00:00
Ryan Boren
0577003eb9 If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
git-svn-id: https://develop.svn.wordpress.org/trunk@3231 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-29 02:33:25 +00:00
Matt Mullenweg
072179c8cb Fixes #1443
git-svn-id: https://develop.svn.wordpress.org/trunk@3007 602fd350-edb4-49c9-b593-d223f7449a82
2005-11-07 09:35:54 +00:00
Matt Mullenweg
6b31c735f4 LiteSpeed support everything Apache does
git-svn-id: https://develop.svn.wordpress.org/trunk@2965 602fd350-edb4-49c9-b593-d223f7449a82
2005-10-25 23:44:27 +00:00
Ryan Boren
1e0c61e609 Update path to images. Props jaseone. fixes #1646
git-svn-id: https://develop.svn.wordpress.org/trunk@2849 602fd350-edb4-49c9-b593-d223f7449a82
2005-09-07 03:58:28 +00:00
Matt Mullenweg
6d2fd52584 Let advanced users override cookies.
git-svn-id: https://develop.svn.wordpress.org/trunk@2725 602fd350-edb4-49c9-b593-d223f7449a82
2005-07-18 19:55:24 +00:00
Ryan Boren
df3fb34a70 Introducing wp_redirect(), first cut. http://mosquito.wordpress.org/view.php?id=592 Props: Toby Simmons
git-svn-id: https://develop.svn.wordpress.org/trunk@2436 602fd350-edb4-49c9-b593-d223f7449a82
2005-03-13 16:36:09 +00:00
Matt Mullenweg
e9915276e7 Some filter action and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@2240 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:46:41 +00:00
Matt Mullenweg
5173c86910 Remove querystring variable legacy code
git-svn-id: https://develop.svn.wordpress.org/trunk@2239 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:37:53 +00:00
Matt Mullenweg
aa6f078dae Include cleanups
git-svn-id: https://develop.svn.wordpress.org/trunk@2238 602fd350-edb4-49c9-b593-d223f7449a82
2005-02-07 07:25:30 +00:00
Matt Mullenweg
5671e81028 More filters and KSES cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2151 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-26 22:29:18 +00:00
Matt Mullenweg
fa24d19320 Adding nofollow support
git-svn-id: https://develop.svn.wordpress.org/trunk@2117 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-21 18:24:14 +00:00
Ryan Boren
39baae5246 wp_setcookie() and wp_clearcookie(). Set cookies for both siteurl and home if they are not the same. Update cookies whenever home or siteurl change.
git-svn-id: https://develop.svn.wordpress.org/trunk@2107 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-20 04:56:24 +00:00
Matt Mullenweg
7e8f96ac46 Some feed template function cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@2068 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-07 22:01:59 +00:00
Matt Mullenweg
00d285d0dd Cleaning up filters and format-to-post
git-svn-id: https://develop.svn.wordpress.org/trunk@2059 602fd350-edb4-49c9-b593-d223f7449a82
2005-01-06 22:51:44 +00:00
Matt Mullenweg
3ebf5a36e2 Cleaning up blogfilename.
git-svn-id: https://develop.svn.wordpress.org/trunk@1997 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-24 01:34:47 +00:00
Matt Mullenweg
978063ce7c Clean up global ideas from michel_v
git-svn-id: https://develop.svn.wordpress.org/trunk@1994 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-23 00:08:43 +00:00
Matt Mullenweg
e535a6b7af Some code cleanups.
git-svn-id: https://develop.svn.wordpress.org/trunk@1974 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-18 20:56:26 +00:00
Matt Mullenweg
48513d6d70 Let's get_ down
git-svn-id: https://develop.svn.wordpress.org/trunk@1965 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 03:08:07 +00:00
Matt Mullenweg
b39c4f8273 Comments refactoring and cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@1964 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-16 02:57:05 +00:00
Matt Mullenweg
bc1f03b72f Texturize bloginfo.
git-svn-id: https://develop.svn.wordpress.org/trunk@1952 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-14 09:10:34 +00:00
Matt Mullenweg
953caf1484 Axing htmlspecialchars because it double-encodes-encodes. Better error handling around queries.
git-svn-id: https://develop.svn.wordpress.org/trunk@1940 602fd350-edb4-49c9-b593-d223f7449a82
2004-12-12 20:41:19 +00:00
Matt Mullenweg
1b28947bf4 Fix for bug http://mosquito.wordpress.org/view.php?id=177, adding class to smileys and encoding quotes in alt text.
git-svn-id: https://develop.svn.wordpress.org/trunk@1899 602fd350-edb4-49c9-b593-d223f7449a82
2004-11-28 19:16:14 +00:00
Ryan Boren
9965a3d352 pagenow fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1765 602fd350-edb4-49c9-b593-d223f7449a82
2004-10-09 02:00:34 +00:00
Ryan Boren
1efe0af8c3 htmlspecialchars() no longer needs to be run against rewrite_rules due to options-permalink reorg. Currently, ampersands end up being encoded in .htaccess, which causes breakage.
git-svn-id: https://develop.svn.wordpress.org/trunk@1686 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-18 03:04:27 +00:00
Matt Mullenweg
3776531128 Axing of geo stuff, major cleanups on permalink options, style tweaks.
git-svn-id: https://develop.svn.wordpress.org/trunk@1664 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 15:09:39 +00:00
Ryan Boren
c3ad9d60cf Make $pagenow work with PATH_INFO.
git-svn-id: https://develop.svn.wordpress.org/trunk@1663 602fd350-edb4-49c9-b593-d223f7449a82
2004-09-15 08:16:58 +00:00
jverber
cb8c5d6273 Fixes for bugs #0000088-90: fixed encoding of special chars.
git-svn-id: https://develop.svn.wordpress.org/trunk@1438 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-19 04:23:59 +00:00
Ryan Boren
7c8e02accb Handle https URLs when manipulating COOKIEPATH. http://mosquito.wordpress.org/bug_view_page.php?bug_id=0000001
git-svn-id: https://develop.svn.wordpress.org/trunk@1415 602fd350-edb4-49c9-b593-d223f7449a82
2004-06-11 19:34:26 +00:00
Matt Mullenweg
be284328ae Fix for cookie paths being set correctly when using a different home setting. Refactored comments-post.
git-svn-id: https://develop.svn.wordpress.org/trunk@1237 602fd350-edb4-49c9-b593-d223f7449a82
2004-05-07 23:21:31 +00:00
Ryan Boren
21fbaa5bac Geo enhancements. Allow get_Lat and get_Lon to be called outside of the post loop. Add doGeoUrlHeader as an action on wp_head.
git-svn-id: https://develop.svn.wordpress.org/trunk@1179 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-26 02:34:07 +00:00
Matt Mullenweg
17fe19e626 Cleaned up unused options.
git-svn-id: https://develop.svn.wordpress.org/trunk@1148 602fd350-edb4-49c9-b593-d223f7449a82
2004-04-24 21:21:19 +00:00