Commit Graph

100 Commits

Author SHA1 Message Date
Andrew Nacin
772c90d846 Support IIS 8 and above.
props hurtige for initial patch.
fixes #23533.



git-svn-id: https://develop.svn.wordpress.org/trunk@24594 602fd350-edb4-49c9-b593-d223f7449a82
2013-07-08 20:27:06 +00:00
Andrew Ozz
da057a8eb0 TinyMCE: better exclusion of Opera mobile, fixes #21416
git-svn-id: https://develop.svn.wordpress.org/trunk@21367 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:40:52 +00:00
Ryan Boren
589a54bbee Update Fire browser detection. Handle silke mode. Props azaozz, nacin, georgestephanis. fixes #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20990 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 16:04:54 +00:00
Andrew Ozz
bce0d37a67 Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20417 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 01:19:30 +00:00
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
Andrew Nacin
e8946bf56a Globalize everything in vars.php. props duck_. fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18994 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:44:00 +00:00
Andrew Nacin
0ea00a75d1 Explicitly globalize $table_prefix in wp-settings.php in case WordPress isn't loaded in global scope. Use $_SERVER['PHP_SELF'], not $PHP_SELF. We need to keep $PHP_SELF for backwards compatibility reasons (many, many plugins rely on it). props mrtorrent, fixes #17749.
git-svn-id: https://develop.svn.wordpress.org/trunk@18993 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-18 19:37:07 +00:00
Andrew Ozz
d1b8509e83 Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
git-svn-id: https://develop.svn.wordpress.org/trunk@18982 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-17 20:57:32 +00:00
Andrew Ozz
573a1813dc RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18975 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-15 07:33:01 +00:00
Ryan Boren
d6199b177a Support Chrome Frame. fixes #14537
git-svn-id: https://develop.svn.wordpress.org/trunk@18036 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 16:15:00 +00:00
Dion Hulse
d1b78e5309 Other piece of r16904. Limit variable string searching when possible. See #10187
git-svn-id: https://develop.svn.wordpress.org/trunk@16905 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-14 08:35:48 +00:00
Ryan Boren
1b7b0e1d7f Unset global variables when they are no longer needed.
git-svn-id: https://develop.svn.wordpress.org/trunk@15747 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 20:12:49 +00:00
Ryan Boren
9ee8b20f30 First pass of user admin. Network admin and screen cleanups. see #14696
git-svn-id: https://develop.svn.wordpress.org/trunk@15746 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-07 19:34:18 +00:00
Andrew Nacin
0fc1312800 Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
git-svn-id: https://develop.svn.wordpress.org/trunk@13132 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 02:27:19 +00:00
Andrew Ozz
387ac8c9b5 Fix notices and phpdoc, props hakre, fixes #10758
git-svn-id: https://develop.svn.wordpress.org/trunk@12284 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-26 11:29:54 +00:00
Ryan Boren
98b8d02a40 Add some CYA cap checks.
git-svn-id: https://develop.svn.wordpress.org/trunk@11761 602fd350-edb4-49c9-b593-d223f7449a82
2009-08-01 21:12:17 +00:00
Ryan Boren
b3efcdaaaa Recognize Expression Web 2 as IIS. Props peaceablewhale, DD32. fixes #8725
git-svn-id: https://develop.svn.wordpress.org/trunk@11379 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 14:54:16 +00:00
Ryan Boren
5d6ca1f0dc Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974
git-svn-id: https://develop.svn.wordpress.org/trunk@11350 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-16 02:04:36 +00:00
Andrew Ozz
2a613b3821 Simple iPhone detection, disable hiding of action links for iPhone
git-svn-id: https://develop.svn.wordpress.org/trunk@10010 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-02 12:32:54 +00:00
Peter Westwood
0f9a2fa394 Ensure $is_chrome is always defined.
git-svn-id: https://develop.svn.wordpress.org/trunk@8826 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 22:39:49 +00:00
Andrew Ozz
414eae6719 Add simple Chrome detection and updates for Gears dialog, fixes #7684
git-svn-id: https://develop.svn.wordpress.org/trunk@8815 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 16:29:03 +00:00
Andrew Ozz
595c17fc10 Small update to Gears info messages and simple Safari detection. Fixes #7380 for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8406 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-23 05:12:57 +00:00
Ryan Boren
6ef4a86b66 Some file level phpdoc from darkdragon. fixes #5572
git-svn-id: https://develop.svn.wordpress.org/trunk@6554 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 20:05:07 +00:00
Mark Jaquith
d2b1b4ec3b Move $wp_header_to_desc array to get_status_header_desc() so that it can be called before vars.php is loaded.
git-svn-id: https://develop.svn.wordpress.org/trunk@6104 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:48:41 +00:00
Mark Jaquith
f5821a6ff7 Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
git-svn-id: https://develop.svn.wordpress.org/trunk@6103 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-13 04:13:32 +00:00
Mark Jaquith
5a4c102696 Better $pagenow determination. fixes #4748
git-svn-id: https://develop.svn.wordpress.org/trunk@6029 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-04 03:21:04 +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
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