Commit Graph

110 Commits

Author SHA1 Message Date
Dominik Schilling
64fc7294b6 Use HTTPS URLs for codex.wordpress.org.
see #27115.
Built from https://develop.svn.wordpress.org/trunk@32116


git-svn-id: http://core.svn.wordpress.org/trunk@32095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-12 21:29:32 +00:00
Drew Jaynes
3ee2262d7e Update the wp-inclues/vars.php file header to include Nginx as a recognized web server.
Props netweb for the initial patch. Props markjaquith.
Fixes #26249.

Built from https://develop.svn.wordpress.org/trunk@26931


git-svn-id: http://core.svn.wordpress.org/trunk@26812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-10 18:15:13 +00:00
Andrew Nacin
11eb5055ac Explicitly globalize $is_nginx in vars.php.
props johnjamesjacoby.
fixes #25776.

Built from https://develop.svn.wordpress.org/trunk@25996


git-svn-id: http://core.svn.wordpress.org/trunk@25929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 19:37:09 +00:00
Andrew Nacin
70fd806759 Revert r25824:25875 from the core.svn.wordpress.org repository.
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.


git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +00:00
Andrew Nacin
8ae8e01b67 Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
see #27704.

Built from https://develop.svn.wordpress.org/trunk@25825


git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Ryan Boren
b87d4b77e5 Pinking shears
Built from https://develop.svn.wordpress.org/trunk@25880


git-svn-id: http://core.svn.wordpress.org/trunk@25792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 14:38:10 +00:00
Andrew Ozz
7c78a9cdae Update the basic browser detection to detect IE11. Fixes #25562.
Built from https://develop.svn.wordpress.org/trunk@25767


git-svn-id: http://core.svn.wordpress.org/trunk@25680 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 17:26:09 +00:00
Drew Jaynes
71fb968dd3 Add missing variable for inline hook documentation changes in wp-includes/vars.php.
See #25466.

Built from https://develop.svn.wordpress.org/trunk@25718


git-svn-id: http://core.svn.wordpress.org/trunk@25631 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 17:56:10 +00:00
Drew Jaynes
a71a1ee072 Inline documentation for hooks in wp-includes/vars.php.
Props tmtoy, nacin.
Fixes #25466.

Built from https://develop.svn.wordpress.org/trunk@25712


git-svn-id: http://core.svn.wordpress.org/trunk@25625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-07 15:30:09 +00:00
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