Andrew Nacin
d3b89d43fc
Add nginx detection to the Permalink Settings screen.
...
Introduces got_url_rewrite() and a corresponding filter, which should now be used in lieu of the got_rewrite filter in got_mod_rewrite().
This does not write or even suggest nginx configuration; rather, it prevents nginx from being considered as either Apache or as an unrecognized server.
props johnbillion.
fixes #25098 .
Built from https://develop.svn.wordpress.org/trunk@25456
git-svn-id: http://core.svn.wordpress.org/trunk@25377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-16 20:07:09 +00:00
Andrew Nacin
740d141e1d
Support IIS 8 and above.
...
props hurtige for initial patch.
fixes #23533 .
git-svn-id: http://core.svn.wordpress.org/trunk@24594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-08 20:27:06 +00:00
azaozz
d77372ea76
TinyMCE: better exclusion of Opera mobile, fixes #21416
...
git-svn-id: http://core.svn.wordpress.org/trunk@21367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-30 19:40:52 +00:00
ryan
8dfe243dd4
Update Fire browser detection. Handle silke mode. Props azaozz, nacin, georgestephanis. fixes #20014
...
git-svn-id: http://core.svn.wordpress.org/trunk@20990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 16:04:54 +00:00
azaozz
1d12cd07b0
Introduce wp_is_mobile() and use it instead of $is_iphone global, see #20014
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20417 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-10 01:19:30 +00:00
ryan
e3b46b25d3
Lose EOF ?>. Clean up EOF newlines. fixes #12307
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
nacin
c17df0bb43
Globalize everything in vars.php. props duck_. fixes #17749 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:44:00 +00:00
nacin
97f9966f3a
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: http://svn.automattic.com/wordpress/trunk@18993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-18 19:37:07 +00:00
azaozz
e849d3b270
Use IE conditionals when adding the ie8 class, introduce _wp_admin_html_begin(), props scribu, fixes #18966
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-17 20:57:32 +00:00
azaozz
0f2431e25a
RTL, IE7 and IE7 RTL fixes, add class="ie8" to the html tag, see #18314
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-15 07:33:01 +00:00
ryan
a5b8036b8c
Support Chrome Frame. fixes #14537
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 16:15:00 +00:00
dd32
99337166eb
Other piece of r16904. Limit variable string searching when possible. See #10187
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@16905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 08:35:48 +00:00
ryan
7119110439
Unset global variables when they are no longer needed.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 20:12:49 +00:00
ryan
9c31fd7c70
First pass of user admin. Network admin and screen cleanups. see #14696
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@15746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-10-07 19:34:18 +00:00
nacin
cfa428b8d2
Use stripos() instead of strpos() with strtolower(). For PHP < 5 we have stripos() in compat.php. Fixes #11176
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@13132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-02-14 02:27:19 +00:00
azaozz
c3f7df6b24
Fix notices and phpdoc, props hakre, fixes #10758
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@12284 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-11-26 11:29:54 +00:00
ryan
a8890b9160
Add some CYA cap checks.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-08-01 21:12:17 +00:00
ryan
e2802f7f3b
Recognize Expression Web 2 as IIS. Props peaceablewhale, DD32. fixes #8725
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11379 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-18 14:54:16 +00:00
ryan
24f847661f
Support IIS 7.0 URL Rewrite Module. Props ruslany. Hat tips to peaceablewhale, hakre, Denis-de-Bernardy, sivel. fixes #8974
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@11350 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2009-05-16 02:04:36 +00:00
azaozz
6112842855
Simple iPhone detection, disable hiding of action links for iPhone
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@10010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-12-02 12:32:54 +00:00
westi
a2da0c0e99
Ensure $is_chrome is always defined.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 22:39:49 +00:00
azaozz
1c3de75cd2
Add simple Chrome detection and updates for Gears dialog, fixes #7684
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-09-05 16:29:03 +00:00
azaozz
bcc66d7f28
Small update to Gears info messages and simple Safari detection. Fixes #7380 for 2.7
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@8406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-07-23 05:12:57 +00:00
ryan
4374db281e
Some file level phpdoc from darkdragon. fixes #5572
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2008-01-04 20:05:07 +00:00
markjaquith
95908afb48
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: http://svn.automattic.com/wordpress/trunk@6104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:48:41 +00:00
markjaquith
1cae6a8691
Plugins are not loaded at this point, so the wp_header_to_desc_array filter is useless
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-13 04:13:32 +00:00
markjaquith
5913b16065
Better $pagenow determination. fixes #4748
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@6029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-09-04 03:21:04 +00:00
ryan
2f09416258
Trim empty lines. Nothing but newline.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-06-14 02:25:30 +00:00
rob1n
ee7d9e9e18
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: http://svn.automattic.com/wordpress/trunk@5446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-05-11 03:34:50 +00:00
ryan
d8e55fcfdc
Fix typo. Props rob1n. fixes #4000
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-20 03:18:44 +00:00
ryan
7aa7d0668f
Move smilies init to function and trigger from init. Props rob1n. fixes #1721
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-12 21:31:24 +00:00
ryan
385c4e18ff
vars.php cleanups and speedups from rob1n. fixes #3956
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@5024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-11 01:19:16 +00:00
markjaquith
2734ab8ce9
Typo in [4990] caught by johnbillion. fixes #3920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 06:10:33 +00:00
markjaquith
3320dd1380
Use strpos instead of strstr where ever possible, for speed. Props rob1n. fixes #3920
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2007-03-07 05:29:15 +00:00
markjaquith
0aa19529f9
Bunch of whitespace and coding standardization.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-12-07 03:57:23 +00:00
markjaquith
f771adf9ee
Somewhat stricter smilies replacements by Nazgul. fixes #3222
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-12 10:14:14 +00:00
ryan
e710ff1a29
Smilies optimization from Nazgul. fixes #3201 #3216
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-07 19:16:24 +00:00
ryan
8567d57da9
Smiley parsing fixes from Nazgul. fixes #2444 #1279
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@4283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-10-04 02:21:27 +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
matt
7c65645c62
Clean up how we address IP addresses throughout the code
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-07-06 00:04:24 +00:00
ryan
7b662dccc8
Fixed pagenow regex. Props herr_ernst. fixes #2843
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-24 05:54:25 +00:00
ryan
af5ea1480b
Sort those smilies. Props HenkvandeKamer and robmiller. fixes #2778
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-06-19 17:21:02 +00:00
matt
e78ef4fe16
Remove use of deprecated variables, don't show bookmarklet form to unrecognized browser.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-04-04 00:25:04 +00:00
ryan
5b10d4b1e0
Remove smilies sort. Props random. fixes #2550
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2006-03-14 02:32:59 +00:00
ryan
38f4fca0db
Move PHP_SELF setup to wp-settings.php. #2153
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-29 23:11:26 +00:00
ryan
4260bf8b16
Populate PHP_SELF from REQUEST_URI if blank.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-12-16 08:04:41 +00:00
ryan
b62211209a
If PHP_SELF is empty, use REQUEST_URI when determining pagenow.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-29 02:33:25 +00:00
matt
44857e2f23
Fixes #1443
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@3007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-11-07 09:35:54 +00:00
matt
b8edb9642b
LiteSpeed support everything Apache does
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-10-25 23:44:27 +00:00
ryan
2271e198b0
Update path to images. Props jaseone. fixes #1646
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@2849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2005-09-07 03:58:28 +00:00