Matt Thomas
46c9c4f33f
Add a :disabled style for radio inputs and checkboxes. Fixes #26004 .
...
Built from https://develop.svn.wordpress.org/trunk@26170
git-svn-id: http://core.svn.wordpress.org/trunk@26079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 19:46:10 +00:00
Andrew Ozz
188fce6c9b
Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon.
...
Changes:
- Add connectNow() public method to trigger a connection immediately.
- Remove the "skipping" when no data to send.
- Change the default interval to 60 sec.
- Fix resetting the next connection time when changing the interval.
See #25073 .
Built from https://develop.svn.wordpress.org/trunk@26169
git-svn-id: http://core.svn.wordpress.org/trunk@26078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 18:41:10 +00:00
Andrew Nacin
c962236312
Fix JSHint errors in postbox.js.
...
props atimmer.
fixes #26006 .
Built from https://develop.svn.wordpress.org/trunk@26167
git-svn-id: http://core.svn.wordpress.org/trunk@26077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 18:10:09 +00:00
Helen Hou-Sandí
7598382a67
Remove old control/accordion section title gradients that were still appearing in the customizer and reinstate a divider between the customizer sidebar and the preview. props ryelle, helen. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26165
git-svn-id: http://core.svn.wordpress.org/trunk@26076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 16:42:10 +00:00
Dion Hulse
9109f107c4
Bacground Updates: Move the 'automatic_updates_complete' hook to only fire when some updates have actually been completed. Props nacin. Fixes #25841
...
Built from https://develop.svn.wordpress.org/trunk@26164
git-svn-id: http://core.svn.wordpress.org/trunk@26075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 06:29:09 +00:00
Andrew Nacin
2c1ccede9d
Fix JSHint errors in nav-menu.js.
...
props atimmer.
fixes #25953 .
Built from https://develop.svn.wordpress.org/trunk@26163
git-svn-id: http://core.svn.wordpress.org/trunk@26074 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 06:09:11 +00:00
Andrew Nacin
118caf7373
Fix JSHint errors (again) for revisions.js.
...
props adamsilverstein.
fixes #25955 .
Built from https://develop.svn.wordpress.org/trunk@26162
git-svn-id: http://core.svn.wordpress.org/trunk@26073 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:56:09 +00:00
Andrew Nacin
5468d53024
Fix JSHint errors in custom-header.js and custom-background.js.
...
props jorbin.
fixes #25915 , #25916 .
Built from https://develop.svn.wordpress.org/trunk@26158
git-svn-id: http://core.svn.wordpress.org/trunk@26069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:40:11 +00:00
Andrew Nacin
97eff9117b
JSHint: Make commentReply a declared global from elsewhere.
...
props adamsilverstein.
see #25979 , [26156].
Built from https://develop.svn.wordpress.org/trunk@26157
git-svn-id: http://core.svn.wordpress.org/trunk@26068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:30:09 +00:00
Andrew Nacin
47559f45bf
Avoid jshint errors in edit-comment.js.
...
props adamsilverstein.
fixes #25979 .
Built from https://develop.svn.wordpress.org/trunk@26156
git-svn-id: http://core.svn.wordpress.org/trunk@26067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:10:10 +00:00
Dion Hulse
4fbc450f52
Background Updates: Add a 'automatic_updates_complete' hook that fires after any updates have run. Props pento. Fixes #25841
...
Built from https://develop.svn.wordpress.org/trunk@26155
git-svn-id: http://core.svn.wordpress.org/trunk@26066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 05:08:09 +00:00
Dion Hulse
a71cd00cdb
Background Updates: Spread them over the hour. Props Pento. Fixes #25833 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26149
git-svn-id: http://core.svn.wordpress.org/trunk@26060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:04:10 +00:00
Dion Hulse
02841470a1
Background Updates: Fix a PHP Fatal error which could be encountered on some systems when using FTP. Fixes #25817 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@26148
git-svn-id: http://core.svn.wordpress.org/trunk@26059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 02:02:09 +00:00
Andrew Nacin
1e74886e46
Move to grunt-sass, which which has less bells and whistles than grunt-contrib-sass but also no Ruby dependency.
...
see #25858 , #22862 , [26143].
Built from https://develop.svn.wordpress.org/trunk@26145
git-svn-id: http://core.svn.wordpress.org/trunk@26056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 23:38:29 +00:00
Andrew Nacin
809b335f7a
Merge the new dashboard design into core.
...
Merges https://github.com/growthdesigner/wp-dash .
props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26144
git-svn-id: http://core.svn.wordpress.org/trunk@26055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 22:09:10 +00:00
Andrew Nacin
d8564963b8
Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out.
...
see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26143
git-svn-id: http://core.svn.wordpress.org/trunk@26054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 21:45:11 +00:00
Andrew Nacin
004fef611d
THX needs this file, for now. see #25948 .
...
Built from https://develop.svn.wordpress.org/trunk@26142
git-svn-id: http://core.svn.wordpress.org/trunk@26053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 21:04:05 +00:00
Andrew Nacin
dce9327f2a
Update the Themes screen, merging THX into core.
...
* Name: THX38
* Description: Update the Themes screen with a new design and experience.
* Tags: visually-focused, bigger-screenshots, fast, mobile-friendly, backbone-driven
* Author: matveb, shaunandrews, melchoyce, designsimply, shelob9
* URI: http://wordpress.org/plugins/thx38/
fixes #25948
Built from https://develop.svn.wordpress.org/trunk@26141
git-svn-id: http://core.svn.wordpress.org/trunk@26052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:58:05 +00:00
Matt Thomas
87ce6cc5c3
Bring in the widgets component of MP6. See #25858 .
...
* A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
* Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
* New dropzone indicator for empty sidebars.
Props shaunandrews, joen, iammattthomas.
Built from https://develop.svn.wordpress.org/trunk@26140
git-svn-id: http://core.svn.wordpress.org/trunk@26051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 20:06:06 +00:00
Helen Hou-Sandí
437caa9972
Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26139
git-svn-id: http://core.svn.wordpress.org/trunk@26050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:54:14 +00:00
Sergey Biryukov
9119d189dd
Inline documentation for hooks in wp-admin/includes/class-wp-comments-list-table.php.
...
props siobhyb, kpdesign.
fixes #25662 .
Built from https://develop.svn.wordpress.org/trunk@26138
git-svn-id: http://core.svn.wordpress.org/trunk@26049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:47:10 +00:00
Helen Hou-Sandí
603c1aff6d
Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight.
...
Color scheme selection on your own profile page gives you a preview and autosaves the selection.
Also introduces the usage of a preprocessor for core files, namely Sass. For 3.8, we will not expand its implementation past the color schemes. This does require Ruby as well as Sass 3.3.0+ due to the usage of the sourcemap option.
Note that only the default color scheme is available when running out of src. Use build to test the rest as well as the color picker.
props ryelle, melchoyce, tillkruess, drw158, littlethingsstudio, helen. see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26137
git-svn-id: http://core.svn.wordpress.org/trunk@26048 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:38:38 +00:00
Matt Thomas
2adf09fea9
Bring in the responsive component of MP6. See #25858 .
...
* Makes the admin fully responsive down to 320px wide.
* Adds a touch-optimized main menu that can be opened and closed from the toolbar.
* Size and positioning adjustments to icons, buttons, and text elements for better touch usability.
A few changes since MP6:
* Removed jQuery mobile. This script was used to add swipe controls to open/close the sidebar menu. This feature was apparently buggy and due to the pending demise of jQuery mobile, it was removed.
* Removed use of Backbone.js. Adding Backbone.js to this script would add a dependency of Backbone.js for all of the admin. Additionally, it was used to add a menu item. Instead of doing that, it was added via the admin menu API. This also fixes a bad delay in the item showing in the menu.
* CSS layout is standardized. Comments have also been cleaned up.
* Jetpack and Akismet code is removed.
* RTL CSS is removed.
* JS passes hinting other than one small issue that will likely be removed when parts of the code are reviewed.
A number of areas for improvement remain; we're tracking these issues in the comments of #25858 .
Props to tollmanz, tillkruess, helen, dd32, and apeatling.
Built from https://develop.svn.wordpress.org/trunk@26134
git-svn-id: http://core.svn.wordpress.org/trunk@26046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 18:00:10 +00:00
Andrew Nacin
1b3e9d33ce
Fix new RTL file loading when style concatenation is enabled.
...
see #24977 .
Built from https://develop.svn.wordpress.org/trunk@26128
git-svn-id: http://core.svn.wordpress.org/trunk@26040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 05:10:10 +00:00
Helen Hou-Sandí
dcb1701e51
Merge the sticky menu component from MP6. The admin menu is now fixed if the viewport is large enough. props tollmanz, tillkruess, dd32. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26125
git-svn-id: http://core.svn.wordpress.org/trunk@26037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:30:10 +00:00
Sergey Biryukov
07544aec69
Restore the $current_site global in wp-admin/admin-header.php to avoid an undefined function error in single site.
...
see #25158 .
Built from https://develop.svn.wordpress.org/trunk@26124
git-svn-id: http://core.svn.wordpress.org/trunk@26036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:17:10 +00:00
Sergey Biryukov
e64191e739
Change jQuery selector in Quick Edit to avoid losing data in IE8.
...
fixes #24923 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26123
git-svn-id: http://core.svn.wordpress.org/trunk@26035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 04:06:09 +00:00
Sergey Biryukov
74f77b85a6
Use get_current_site() instead of the $current_site global when possible.
...
props jeremyfelt.
fixes #25158 .
Built from https://develop.svn.wordpress.org/trunk@26120
git-svn-id: http://core.svn.wordpress.org/trunk@26032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 03:23:10 +00:00
Sergey Biryukov
eae4e5936f
Use case-insensitive comparison for email addresses. fixes #25779 .
...
Built from https://develop.svn.wordpress.org/trunk@26115
git-svn-id: http://core.svn.wordpress.org/trunk@26027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:41:09 +00:00
Sergey Biryukov
04128120f3
Remove no_update_actions(), unused since [12157]. props jdgrimes. fixes #25923 .
...
Built from https://develop.svn.wordpress.org/trunk@26113
git-svn-id: http://core.svn.wordpress.org/trunk@26025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 02:18:10 +00:00
Andrew Nacin
72efe7c1ec
Free common.js of JSHint errors.
...
props jorbin.
fixes #25912 .
Built from https://develop.svn.wordpress.org/trunk@26112
git-svn-id: http://core.svn.wordpress.org/trunk@26024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 23:56:09 +00:00
Andrew Nacin
1e30be32c4
Use CSSJanus via a Grunt task to generate right-to-left CSS.
...
RTL files are now created on build for core CSS files. These files replace the LTR file completely, rather than being in addition to the existing LTR file.
Benefits:
* For the user: less CSS is served in RTL, less HTTP requests on the frontend, and less work for the browser.
* For the core developer: Let the tools do the work.
Notes for core development:
* The file generation task is `grunt rtl`.
* `grunt watch` now handles generating RTL files in /build when a CSS file in /src is saved.
* /src is now locked to LTR. RTL testing must occur via /build. When attempting to run an RTL text direction with /src, an admin notice will display.
Expect RTL bugs. Please report them.
props yoavf.
see #24977 .
Built from https://develop.svn.wordpress.org/trunk@26107
git-svn-id: http://core.svn.wordpress.org/trunk@26022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 21:19:15 +00:00
Andrew Ozz
541d22e18d
Fix the X-UA-Compatible header for IE8, fixes #25575
...
Built from https://develop.svn.wordpress.org/trunk@26089
git-svn-id: http://core.svn.wordpress.org/trunk@26007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 18:02:10 +00:00
Sergey Biryukov
6484ca83a5
Make suggest script visible in the customizer.
...
props celloexpressions for initial patch.
see #25867 .
Built from https://develop.svn.wordpress.org/trunk@26085
git-svn-id: http://core.svn.wordpress.org/trunk@26005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 17:39:09 +00:00
Sergey Biryukov
698bb5744e
Define ajaxurl in the customizer.
...
props celloexpressions.
see #25866 .
Built from https://develop.svn.wordpress.org/trunk@26082
git-svn-id: http://core.svn.wordpress.org/trunk@26002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 15:47:09 +00:00
Sergey Biryukov
8d659b278c
Fix docblock formatting. fixes #25893 .
...
Built from https://develop.svn.wordpress.org/trunk@26081
git-svn-id: http://core.svn.wordpress.org/trunk@26001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:32:10 +00:00
Sergey Biryukov
e5a4485a49
Inline documentation for hooks in wp-admin/edit-link-form.php.
...
props raamdev.
fixes #25447 .
Built from https://develop.svn.wordpress.org/trunk@26080
git-svn-id: http://core.svn.wordpress.org/trunk@26000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-11 13:16:09 +00:00
Andrew Ozz
92cd3c5ba7
Widgets screen: adjust the placeholder to match the new widget "handle" height, and the spinner's margins so the sidebar titles don't "jump" when it is shown. See #25821 , see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26078
git-svn-id: http://core.svn.wordpress.org/trunk@25998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 18:33:10 +00:00
Dion Hulse
8d92d7d529
Add a white WordPress logo for use on the about pages. See #25858
...
Built from https://develop.svn.wordpress.org/trunk@26077
git-svn-id: http://core.svn.wordpress.org/trunk@25997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 06:12:09 +00:00
Matt Thomas
f4c0bce32c
Fixing a typo, see #25858 . Props designsimply.
...
Built from https://develop.svn.wordpress.org/trunk@26076
git-svn-id: http://core.svn.wordpress.org/trunk@25996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:53:10 +00:00
Matt Thomas
6e7c2d3593
Add missing wordpress-logo.svg, see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26075
git-svn-id: http://core.svn.wordpress.org/trunk@25995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 03:50:10 +00:00
Andrew Nacin
1674d350aa
Fix order, declaration, tabbing of vars in color-picker.js.
...
props kadamwhite.
fixes #25877 .
Built from https://develop.svn.wordpress.org/trunk@26074
git-svn-id: http://core.svn.wordpress.org/trunk@25994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 02:43:10 +00:00
Helen Hou-Sandí
01a96c4a3a
Add spinner images that were inadvertently left out of [26072]. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26073
git-svn-id: http://core.svn.wordpress.org/trunk@25993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:40:09 +00:00
Helen Hou-Sandí
69d432410a
Say hello to a fresh new look for the WordPress admin.
...
Still to come: more color schemes, a responsive component, and more.
see #25858 .
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Andrew Nacin
867447c489
Avoid JSHint errors in admin comment.js. Declare globals, use single quotes.
...
props jorbin.
fixes #25885 .
Built from https://develop.svn.wordpress.org/trunk@26068
git-svn-id: http://core.svn.wordpress.org/trunk@25988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:30:10 +00:00
Andrew Nacin
8789532eb8
Avoid JSHint errors in color-picker.js. One var
, single quotes, add missing semicolon, declare wpColorPickerL10n as global.
...
props jorbin.
fixes #25877 .
Built from https://develop.svn.wordpress.org/trunk@26067
git-svn-id: http://core.svn.wordpress.org/trunk@25987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:29:09 +00:00
Andrew Nacin
c81508dc43
Avoid JSHint errors. Use dot notation when able and declare pwsL10n as a global.
...
props jorbin.
fixes #25870 .
Built from https://develop.svn.wordpress.org/trunk@26065
git-svn-id: http://core.svn.wordpress.org/trunk@25986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 21:21:10 +00:00
Andrew Ozz
753e745796
Merge the Widgets Area Chooser feature plugin. First run, see #25821
...
Built from https://develop.svn.wordpress.org/trunk@26054
git-svn-id: http://core.svn.wordpress.org/trunk@25979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 23:05:10 +00:00
Sergey Biryukov
e15b51efa3
Pass correct 'type' parameter to 'upgrader_process_complete' action in Theme_Upgrader.
...
props bamadesigner.
fixes #25882 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26049
git-svn-id: http://core.svn.wordpress.org/trunk@25974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 17:04:09 +00:00
Andrew Ozz
87570ff683
jshint: fixes for revisions.js, props adamsilverstein, fixes #25864 .
...
Built from https://develop.svn.wordpress.org/trunk@26035
git-svn-id: http://core.svn.wordpress.org/trunk@25964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 18:14:10 +00:00
Andrew Ozz
0743625aed
Add X-UA-Compatible meta tag in the admin, locking the compatibility mode in IE to the highest supported document mode. Fixes #25575 .
...
Built from https://develop.svn.wordpress.org/trunk@26029
git-svn-id: http://core.svn.wordpress.org/trunk@25959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 23:49:09 +00:00
Sergey Biryukov
23de998e29
Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465 .
...
Built from https://develop.svn.wordpress.org/trunk@26027
git-svn-id: http://core.svn.wordpress.org/trunk@25957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 22:40:08 +00:00
Sergey Biryukov
72d4b140fb
Make Twenty Fourteen the default theme. props markmcwilliams. fixes #25702 .
...
Built from https://develop.svn.wordpress.org/trunk@26024
git-svn-id: http://core.svn.wordpress.org/trunk@25955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 20:02:09 +00:00
Dion Hulse
c9683257db
Core Upgrader: Include an unmodified $wp_version in Core_Upgrader::upgrade(). This protects against cases where the global $wp_version has been modified. See #25772
...
Built from https://develop.svn.wordpress.org/trunk@26017
git-svn-id: http://core.svn.wordpress.org/trunk@25948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 06:23:10 +00:00
Dion Hulse
9d011a0556
Core Upgrader success statistics: Pass the version of WordPress we're upgrading from, as well as the version being upgraded to. Props nacin. See #25772 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26016
git-svn-id: http://core.svn.wordpress.org/trunk@25947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 06:20:09 +00:00
Dion Hulse
38a69e4ccc
Remove dead code from the Plugin Upgrader class. Props jdgrimes. Fixes #25470
...
Built from https://develop.svn.wordpress.org/trunk@26015
git-svn-id: http://core.svn.wordpress.org/trunk@25946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 05:48:10 +00:00
Dion Hulse
b511346319
When checking filesystem permissions for core updates, only check the permissions of the files which we need to alter. Props nacin for initial patch. Fixes #25771 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@26014
git-svn-id: http://core.svn.wordpress.org/trunk@25945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 05:43:09 +00:00
Dion Hulse
21a3164b3b
Add a filter to the Background Updates debug email, matches the filter used on the non-debug post-update emails. Props pento. Fixes #25756
...
Built from https://develop.svn.wordpress.org/trunk@26013
git-svn-id: http://core.svn.wordpress.org/trunk@25944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 02:15:10 +00:00
Scott Taylor
ba3f75b3c3
Pass $args
to the export_wp
action in export_wp()
, which is currently passed no arguments.
...
Props nickdaugherty.
Fixes #25574 .
Built from https://develop.svn.wordpress.org/trunk@26011
git-svn-id: http://core.svn.wordpress.org/trunk@25942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 01:27:08 +00:00
Sergey Biryukov
cd45adaa0b
Pass comment ID and comment post ID to get_comment_class() in WP_Comments_List_Table::single_row().
...
props drozdz.
fixes #25814 .
Built from https://develop.svn.wordpress.org/trunk@26001
git-svn-id: http://core.svn.wordpress.org/trunk@25934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-04 11:00:11 +00:00
Drew Jaynes
6e15f77e5a
Inline documentation for hooks in wp-admin/network/edit.php and wp-admin/network/users.php.
...
Props aralbald for the initial patch.
Fixes #25728 .
Built from https://develop.svn.wordpress.org/trunk@25994
git-svn-id: http://core.svn.wordpress.org/trunk@25927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 16:04:09 +00:00
Drew Jaynes
f34eb77cbc
Inline documentation for hooks in wp-admin/nav-menus.php.
...
Props pauldewouters for the intial patch.
Fixes #25528 .
Built from https://develop.svn.wordpress.org/trunk@25993
git-svn-id: http://core.svn.wordpress.org/trunk@25926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 15:45:08 +00:00
Andrew Nacin
d0cfa40983
Add jshintrc to qunit.
...
props jorbin.
see #25187 .
Built from https://develop.svn.wordpress.org/trunk@25992
git-svn-id: http://core.svn.wordpress.org/trunk@25925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-30 14:39:10 +00:00
Andrew Nacin
a8ef13972c
When an HTTPS request to api.wordpress.org fails, try an insecure HTTP request and issue a warning.
...
Certain versions of cURL appear to claim OpenSSL support but fail to work. We need to not trap users on older versions while we work this out, and instead fall back to an insecure request.
see #25716 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25956
git-svn-id: http://core.svn.wordpress.org/trunk@25915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 21:09:10 +00:00
Helen Hou-Sandí
396582d836
Consolidate logic for not showing a taxonomy meta box. props ocean90. fixes #21543 .
...
Built from https://develop.svn.wordpress.org/trunk@25953
git-svn-id: http://core.svn.wordpress.org/trunk@25912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 20:36:09 +00:00
Drew Jaynes
a9d78889d7
Inline documentation for hooks in wp-admin/network/site-settings.php.
...
Props admiralthrawn.
Fixes #25725 .
Built from https://develop.svn.wordpress.org/trunk@25952
git-svn-id: http://core.svn.wordpress.org/trunk@25911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 20:05:10 +00:00
Drew Jaynes
0753c12b85
Inline documentation for hooks in wp-admin/update.php.
...
Props ninio, kpdesign.
Fixes #25723 .
Built from https://develop.svn.wordpress.org/trunk@25951
git-svn-id: http://core.svn.wordpress.org/trunk@25910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 18:37:09 +00:00
Helen Hou-Sandí
7fa704d972
Allow passing false
for the meta_box_cb
arg in register_taxonomy()
to turn off the meta box display entirely. fixes #21543 .
...
Built from https://develop.svn.wordpress.org/trunk@25948
git-svn-id: http://core.svn.wordpress.org/trunk@25907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-27 16:29:09 +00:00
Drew Jaynes
95bf041b3a
Inline documentation for hooks in wp-admin/async-upload.php.
...
Props rzen for the initial patch.
Fixes #25517 .
Built from https://develop.svn.wordpress.org/trunk@25942
git-svn-id: http://core.svn.wordpress.org/trunk@25901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 21:41:09 +00:00
Drew Jaynes
ceb16bc719
Inline documentation for hooks in wp-admin/network/site-users.php.
...
Props sboisvert for the initial patch. Props kpdesign.
Fixes #25497 .
Built from https://develop.svn.wordpress.org/trunk@25939
git-svn-id: http://core.svn.wordpress.org/trunk@25898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 20:33:09 +00:00
Drew Jaynes
4cf7175d6f
Inline documentation for hooks in wp-admin/includes/schema.php.
...
Props johnafish, kpdesign.
Fixes #25498 .
Built from https://develop.svn.wordpress.org/trunk@25938
git-svn-id: http://core.svn.wordpress.org/trunk@25897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 20:29:10 +00:00
Drew Jaynes
7ea6cb4dd6
Inline documentation for hooks in wp-admin/tool.php.
...
Props dougwollison for the initial patch.
Fixes #25496 .
Built from https://develop.svn.wordpress.org/trunk@25937
git-svn-id: http://core.svn.wordpress.org/trunk@25896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 19:23:09 +00:00
Drew Jaynes
94a3ee8d68
Inline documentation for hooks in wp-admin/includes/nav-menu.php.
...
Props Faison.
Fixes #25474 .
Built from https://develop.svn.wordpress.org/trunk@25935
git-svn-id: http://core.svn.wordpress.org/trunk@25894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 17:48:11 +00:00
Andrew Nacin
1a2f89d5d0
Avoid a notice for an undefined $checksums variable when updating from pre-3.7 to post-3.7.
...
props GaryJ.
fixes #25689 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25915
git-svn-id: http://core.svn.wordpress.org/trunk@25878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 20:15:10 +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
ac2e70227f
Make some changes to the email templates to account for the fact that an auto update offer might not be to the latest version.
...
For example, 3.7.2 install is served a 3.7.3 update, but the current version is 3.8.1.
This commit also allows for core update notification emails to be sent even when we are unable to run an auto update due to filesystem configuration (VCS checkout or file permissions). But, since these emails go through WP_Automatic_Updater, they will not be sent if the updater is outright disabled.
fixes #25654 .
Built from https://develop.svn.wordpress.org/trunk@25873
git-svn-id: http://core.svn.wordpress.org/trunk@25873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 23:00:01 +00:00
Andrew Nacin
d680f71d91
Show the nag we show for a stuck .maintenance file when an auto update failed.
...
see #25654 .
Built from https://develop.svn.wordpress.org/trunk@25872
git-svn-id: http://core.svn.wordpress.org/trunk@25872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:53 +00:00
Andrew Nacin
ff711dba63
"some files" instead of "certain files". Less stuffy.
...
props markjaquith.
see #25652 .
Built from https://develop.svn.wordpress.org/trunk@25871
git-svn-id: http://core.svn.wordpress.org/trunk@25871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:45 +00:00
Andrew Nacin
bed7a78426
New, better error message when we realize we won't be able to copy a file and continue with the update.
...
fixes #25652 .
Built from https://develop.svn.wordpress.org/trunk@25870
git-svn-id: http://core.svn.wordpress.org/trunk@25870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:37 +00:00
Andrew Nacin
d61e188f23
Only enforce disk free space checks when doing background updates.
...
see #25652 .
Built from https://develop.svn.wordpress.org/trunk@25869
git-svn-id: http://core.svn.wordpress.org/trunk@25869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:29 +00:00
Andrew Nacin
5361a8abca
Spell out duplicate hook locations.
...
props DrewAPicture.
fixes #25658 .
Built from https://develop.svn.wordpress.org/trunk@25868
git-svn-id: http://core.svn.wordpress.org/trunk@25868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:20 +00:00
Andrew Nacin
4b559801ae
Updates: Disable maintenance mode once we've finished copying files, to minimize disruption.
...
props dd32.
fixes #25655 .
Built from https://develop.svn.wordpress.org/trunk@25866
git-svn-id: http://core.svn.wordpress.org/trunk@25866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:59:05 +00:00
Andrew Nacin
3b7e540f00
Updates: Saner stats and rollback handling. WP.org now collects basic stats on non-auto updates as they have been hugely informative.
...
props dd32 for initial patch.
fixes #25657 .
Built from https://develop.svn.wordpress.org/trunk@25863
git-svn-id: http://core.svn.wordpress.org/trunk@25863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:40 +00:00
Andrew Nacin
de7977d66c
Move upgrader_process_complete for core to its proper place in Core_Upgrader.
...
This means it will be firing as a JS redirect is taking place if the update is from pre-3.4. Acceptable.
props dd32.
fixes #25659 .
Built from https://develop.svn.wordpress.org/trunk@25861
git-svn-id: http://core.svn.wordpress.org/trunk@25861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:23 +00:00
Drew Jaynes
4d1482cd0d
Inline documentation for the WP_Date_Query
class in wp-includes/date.php.
...
- Adds a complete hash notation for the `WP_Date_Query` arguments array.
- Adds missing documentation for the `date_query_valid_columns` and `get_date_sql` filter hooks.
Props aeg0125 for the incremental patches.
Fixes #25552 .
Built from https://develop.svn.wordpress.org/trunk@25860
git-svn-id: http://core.svn.wordpress.org/trunk@25860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:58:12 +00:00
Andrew Nacin
b134f540e2
Rename the automatic_updates_send_email filter to auto_core_update_send_email. (Final name change.)
...
fixes #25653 . Also:
* Fully document all new hooks, methods, and classes in the upgrader.
* Rename 'language' to 'translation' inside the upgrader.
* Improve the readability of the crazy do-while loop in the is_vcs_checkout() method.
Built from https://develop.svn.wordpress.org/trunk@25859
git-svn-id: http://core.svn.wordpress.org/trunk@25859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:57:58 +00:00
Drew Jaynes
1ace516d5f
Improve inline documentation for hooks in wp-admin/customize.php.
...
Props kpdesign.
Fixes #25444 .
Built from https://develop.svn.wordpress.org/trunk@25858
git-svn-id: http://core.svn.wordpress.org/trunk@25858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:57:50 +00:00
Andrew Nacin
04bbb52c7c
Commit [25823] should not have renamed AUTOMATIC_UPDATER_DISABLED to AUTOMATIC_UPDATES_DISABLED.
...
The proper constant is AUTOMATIC_UPDATER_DISABLED. Keep the filter in line with that too.
see #22704 .
Built from https://develop.svn.wordpress.org/trunk@25851
git-svn-id: http://core.svn.wordpress.org/trunk@25851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:54 +00:00
Dominik Schilling
af695281d6
Vendor-prefixes for [25845]. props jorbin. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25849
git-svn-id: http://core.svn.wordpress.org/trunk@25849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:37 +00:00
Andrew Nacin
c88a0bb423
About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
...
props jorbin.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25848
git-svn-id: http://core.svn.wordpress.org/trunk@25848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:29 +00:00
Andrew Nacin
112a790734
Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25847
git-svn-id: http://core.svn.wordpress.org/trunk@25847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:20 +00:00
Dominik Schilling
3d73363635
IE7: Fix width of the password input field on the about page. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25846
git-svn-id: http://core.svn.wordpress.org/trunk@25846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:12 +00:00
Andrew Nacin
123bb3d4f2
About page: Use box-sizing: border-box on the password meter so pixels line up.
...
Also eliminates a duplicate width: 100% property.
fixes #25603 .
Built from https://develop.svn.wordpress.org/trunk@25845
git-svn-id: http://core.svn.wordpress.org/trunk@25845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:56:03 +00:00
Dominik Schilling
60ac479b9c
CSS cleanup for the about page.
...
Also fixes for IE and support for RTL.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25844
git-svn-id: http://core.svn.wordpress.org/trunk@25844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:55 +00:00
Andrew Nacin
aea50d4b4c
Use correct variable. fixes #10787 .
...
Built from https://develop.svn.wordpress.org/trunk@25843
git-svn-id: http://core.svn.wordpress.org/trunk@25843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:46 +00:00
Andrew Nacin
350365c602
Use full paths to images so they work on wp-admin/network/about.php and user/about.php. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25842
git-svn-id: http://core.svn.wordpress.org/trunk@25842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:38 +00:00
Andrew Nacin
83b20ee7f9
Notify administrators of successful, failed, and pending core updates.
...
Blocks future background updates after critical failures, but allow retries in certain situations. More in the ticket.
fixes #10787 .
Built from https://develop.svn.wordpress.org/trunk@25841
git-svn-id: http://core.svn.wordpress.org/trunk@25841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:30 +00:00
Andrew Nacin
b0eab438ad
Remove rarr from about page text. Use a subtle background instead.
...
props markjaquith.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25840
git-svn-id: http://core.svn.wordpress.org/trunk@25840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:20 +00:00
Andrew Nacin
b13c7791a9
Awesome about page design for WordPress 3.7.
...
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?
props jorbin, melchoyce.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25839
git-svn-id: http://core.svn.wordpress.org/trunk@25839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:12 +00:00
Andrew Nacin
27d04f9e5e
Delete expired transients on database upgrades.
...
Reverts [25416], which had all transients being cleared. This leaves much to be desired, but we don't want a core update to be blamed for breaking a site that incorrectly assumes transients aren't transient.
props dartiss, pento.
fixes #20316 .
Built from https://develop.svn.wordpress.org/trunk@25838
git-svn-id: http://core.svn.wordpress.org/trunk@25838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:55:02 +00:00
Andrew Nacin
fa4f4033f7
Introduce email templates for automatic background updates.
...
The four templates are:
1. We successfully updated their site. If any of their themes or plugins are out of date, it also mentions that. ('success')
2. We are not configured to update their site, so we notify them of the new release. ('notify')
3. We tried but failed to update their site. The error was early in the process, so no harm, no foul. This is the same as template #2 , plus one sentence. ('fail')
4. We tried to update their site, and failed while copying files. ('critical')
With assistance from markjaquith.
see #10787 .
Built from https://develop.svn.wordpress.org/trunk@25837
git-svn-id: http://core.svn.wordpress.org/trunk@25837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:54 +00:00
Andrew Nacin
93eefa2af3
set_current_screen() is now unnecessary in Automatic_Upgrader_Skin, which is good because it breaks things in the network admin.
...
fixes #25622 .
Built from https://develop.svn.wordpress.org/trunk@25836
git-svn-id: http://core.svn.wordpress.org/trunk@25836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:46 +00:00
Andrew Nacin
a3561e7e07
In automatic background updates, standardize on 'update'.
...
New, final filter names:
* auto_update_{$type} (plugin, theme, core, language)
* automatic_updates_is_vcs_checkout
* automatic_updates_disabled
New class name is WP_Automatic_Updater. Method names include update() and should_update().
see #22704 .
Built from https://develop.svn.wordpress.org/trunk@25835
git-svn-id: http://core.svn.wordpress.org/trunk@25835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:38 +00:00
Andrew Nacin
5e5d7d8cae
Remove redundant code. see #25603 , #22704 , [25833].
...
Built from https://develop.svn.wordpress.org/trunk@25834
git-svn-id: http://core.svn.wordpress.org/trunk@25834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:30 +00:00
Andrew Nacin
b9290e0ea3
Check if background core updates are supported on about.php.
...
see #25603 , #22704 .
Built from https://develop.svn.wordpress.org/trunk@25833
git-svn-id: http://core.svn.wordpress.org/trunk@25833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:22 +00:00
Andrew Nacin
31ff7d5161
Update the text for the about page, so translators can get started. Design is in flux.
...
props nacin, markjaquith, jorbin, jenmylo.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25832
git-svn-id: http://core.svn.wordpress.org/trunk@25832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:13 +00:00
Dion Hulse
8abd2f86d5
Silence PHP warnings from disk_free_space(). disk_free_space() will produce a warning in error conditions in addition to returning false, this includes a case where the bytes free is greater than PHP_INT_MAX (which is a error condition we don't need to check).
...
See #25576 , #22704
Built from https://develop.svn.wordpress.org/trunk@25831
git-svn-id: http://core.svn.wordpress.org/trunk@25831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:54:05 +00:00
Drew Jaynes
412f9dffd4
Inline documentation for hooks in wp-admin/options-general.php.
...
Props siobhyb for the initial patch.
Fixes #25454 .
Built from https://develop.svn.wordpress.org/trunk@25830
git-svn-id: http://core.svn.wordpress.org/trunk@25830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:57 +00:00
Drew Jaynes
1178d9a80b
Inline documentation for hooks in wp-admin/options-discussion.php.
...
Props siobhyb, ericlewis.
Fixes #25453 .
Built from https://develop.svn.wordpress.org/trunk@25829
git-svn-id: http://core.svn.wordpress.org/trunk@25829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:49 +00:00
Dion Hulse
66f01957a0
For Background updates, ensure that only one update process runs at the same time by using the options table as a lock.
...
This prevents multiple cron spawns and/or long-running updates from causing multiple update processes to spin up.
This also fixes a case where the upgrader might kick in for ( ! is_main_network() || ! is_main_site() ) in mulisite installs.
See #22704
Built from https://develop.svn.wordpress.org/trunk@25828
git-svn-id: http://core.svn.wordpress.org/trunk@25828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:40 +00:00
Drew Jaynes
c8c2c8d2a2
Inline documentation for hooks in wp-admin/customize.php.
...
Props andg, rzen.
Fixes #25444 .
Built from https://develop.svn.wordpress.org/trunk@25826
git-svn-id: http://core.svn.wordpress.org/trunk@25826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:23 +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
Andrew Nacin
564b008f67
Add editimage.min.js to $_old_files. see #24999 .
...
Built from https://develop.svn.wordpress.org/trunk@25897
git-svn-id: http://core.svn.wordpress.org/trunk@25809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 19:27:09 +00:00
Andrew Nacin
0ceb189b7b
Confirm delete_site_option() exists before calling it during an update.
...
This function won't yet exist when updating from 2.7 [sic].
fixes #25682 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25893
git-svn-id: http://core.svn.wordpress.org/trunk@25805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 18:18:12 +00:00
Andrew Nacin
0976999929
Remove debug code from WP_Automatic_Updater::send_email().
...
props markmcwilliams for initial patch.
see #25678 .
Built from https://develop.svn.wordpress.org/trunk@25891
git-svn-id: http://core.svn.wordpress.org/trunk@25803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 01:51:09 +00:00
Andrew Nacin
5a92b17981
About page: Cache our zxcvbn calls and limit the variation of the animation.
...
Diff is mostly whitespace.
props jorbin, azaozz.
fixes #25603 .
Built from https://develop.svn.wordpress.org/trunk@25884
git-svn-id: http://core.svn.wordpress.org/trunk@25796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:51:09 +00:00
Andrew Nacin
8cbbccec81
About page, updates section: Don't show a message on about.php if the updater is 100% disabled. Don't show it if the user can't update core. Don't show the email if notifications are disabled. New string.
...
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25883
git-svn-id: http://core.svn.wordpress.org/trunk@25795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:48:10 +00:00
Andrew Nacin
7b772e5c58
Introduce a send_core_update_notification_email filter to control whether to send update notifications.
...
Currently, this is dependent on whether the automatic updater is enabled (generally). This is likely to be decoupled in a future release.
This refocuses the auto_core_update_send_email filter to specifically be for success/fail emails for auto updates, while the new filter is more general.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25882
git-svn-id: http://core.svn.wordpress.org/trunk@25794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-23 19:47:09 +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 Nacin
a387c3bef9
Make some changes to the email templates to account for the fact that an auto update offer might not be to the latest version.
...
For example, 3.7.2 install is served a 3.7.3 update, but the current version is 3.8.1.
This commit also allows for core update notification emails to be sent even when we are unable to run an auto update due to filesystem configuration (VCS checkout or file permissions). But, since these emails go through WP_Automatic_Updater, they will not be sent if the updater is outright disabled.
fixes #25654 .
Built from https://develop.svn.wordpress.org/trunk@25873
git-svn-id: http://core.svn.wordpress.org/trunk@25785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:19:09 +00:00
Andrew Nacin
58c18f0c32
Show the nag we show for a stuck .maintenance file when an auto update failed.
...
see #25654 .
Built from https://develop.svn.wordpress.org/trunk@25872
git-svn-id: http://core.svn.wordpress.org/trunk@25784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 21:15:09 +00:00
Andrew Nacin
13dd29126a
"some files" instead of "certain files". Less stuffy.
...
props markjaquith.
see #25652 .
Built from https://develop.svn.wordpress.org/trunk@25871
git-svn-id: http://core.svn.wordpress.org/trunk@25783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 18:41:10 +00:00
Andrew Nacin
fabf119cf3
New, better error message when we realize we won't be able to copy a file and continue with the update.
...
fixes #25652 .
Built from https://develop.svn.wordpress.org/trunk@25870
git-svn-id: http://core.svn.wordpress.org/trunk@25782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 18:21:10 +00:00
Andrew Nacin
d5fdd66f9d
Only enforce disk free space checks when doing background updates.
...
see #25652 .
Built from https://develop.svn.wordpress.org/trunk@25869
git-svn-id: http://core.svn.wordpress.org/trunk@25781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 18:18:09 +00:00
Andrew Nacin
74488bdcb0
Spell out duplicate hook locations.
...
props DrewAPicture.
fixes #25658 .
Built from https://develop.svn.wordpress.org/trunk@25868
git-svn-id: http://core.svn.wordpress.org/trunk@25780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:22:11 +00:00
Andrew Nacin
a160441c81
Updates: Disable maintenance mode once we've finished copying files, to minimize disruption.
...
props dd32.
fixes #25655 .
Built from https://develop.svn.wordpress.org/trunk@25866
git-svn-id: http://core.svn.wordpress.org/trunk@25778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 17:20:10 +00:00
Andrew Nacin
097c0fd0b6
Updates: Saner stats and rollback handling. WP.org now collects basic stats on non-auto updates as they have been hugely informative.
...
props dd32 for initial patch.
fixes #25657 .
Built from https://develop.svn.wordpress.org/trunk@25863
git-svn-id: http://core.svn.wordpress.org/trunk@25775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 09:49:09 +00:00
Andrew Nacin
64bd5aa564
Move upgrader_process_complete for core to its proper place in Core_Upgrader.
...
This means it will be firing as a JS redirect is taking place if the update is from pre-3.4. Acceptable.
props dd32.
fixes #25659 .
Built from https://develop.svn.wordpress.org/trunk@25861
git-svn-id: http://core.svn.wordpress.org/trunk@25773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-22 04:37:09 +00:00
Andrew Nacin
5a0b227316
Rename the automatic_updates_send_email filter to auto_core_update_send_email. (Final name change.)
...
fixes #25653 . Also:
* Fully document all new hooks, methods, and classes in the upgrader.
* Rename 'language' to 'translation' inside the upgrader.
* Improve the readability of the crazy do-while loop in the is_vcs_checkout() method.
Built from https://develop.svn.wordpress.org/trunk@25859
git-svn-id: http://core.svn.wordpress.org/trunk@25771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 22:29:09 +00:00
Drew Jaynes
564596c03f
Improve inline documentation for hooks in wp-admin/customize.php.
...
Props kpdesign.
Fixes #25444 .
Built from https://develop.svn.wordpress.org/trunk@25858
git-svn-id: http://core.svn.wordpress.org/trunk@25770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-21 21:17:09 +00:00
Andrew Nacin
ee489a2e81
Commit [25823] should not have renamed AUTOMATIC_UPDATER_DISABLED to AUTOMATIC_UPDATES_DISABLED.
...
The proper constant is AUTOMATIC_UPDATER_DISABLED. Keep the filter in line with that too.
see #22704 .
Built from https://develop.svn.wordpress.org/trunk@25851
git-svn-id: http://core.svn.wordpress.org/trunk@25763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 21:24:10 +00:00
Dominik Schilling
3d8706e96a
Vendor-prefixes for [25845]. props jorbin. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25849
git-svn-id: http://core.svn.wordpress.org/trunk@25761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 19:25:10 +00:00
Andrew Nacin
23759bf469
About page: Prevent the meter from briefly sticking on 'Strong' when the animation resets.
...
props jorbin.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25848
git-svn-id: http://core.svn.wordpress.org/trunk@25760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 18:50:09 +00:00
Andrew Nacin
b301bb108e
Since we're dealing with a huge password meter, don't bold half of the result strings unnecessarily. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25847
git-svn-id: http://core.svn.wordpress.org/trunk@25759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 18:36:10 +00:00
Dominik Schilling
72dd603010
IE7: Fix width of the password input field on the about page. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25846
git-svn-id: http://core.svn.wordpress.org/trunk@25758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:58:10 +00:00
Andrew Nacin
ed5f85cdc8
About page: Use box-sizing: border-box on the password meter so pixels line up.
...
Also eliminates a duplicate width: 100% property.
fixes #25603 .
Built from https://develop.svn.wordpress.org/trunk@25845
git-svn-id: http://core.svn.wordpress.org/trunk@25757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:47:10 +00:00
Dominik Schilling
3cb61fd4a5
CSS cleanup for the about page.
...
Also fixes for IE and support for RTL.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25844
git-svn-id: http://core.svn.wordpress.org/trunk@25756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:36:09 +00:00
Andrew Nacin
c00bba9e8b
Use correct variable. fixes #10787 .
...
Built from https://develop.svn.wordpress.org/trunk@25843
git-svn-id: http://core.svn.wordpress.org/trunk@25755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 17:16:10 +00:00
Andrew Nacin
beb95e4167
Use full paths to images so they work on wp-admin/network/about.php and user/about.php. see #25603 .
...
Built from https://develop.svn.wordpress.org/trunk@25842
git-svn-id: http://core.svn.wordpress.org/trunk@25754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 16:50:10 +00:00
Andrew Nacin
ee20af1fad
Notify administrators of successful, failed, and pending core updates.
...
Blocks future background updates after critical failures, but allow retries in certain situations. More in the ticket.
fixes #10787 .
Built from https://develop.svn.wordpress.org/trunk@25841
git-svn-id: http://core.svn.wordpress.org/trunk@25753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 16:30:11 +00:00
Andrew Nacin
6342b01d3d
Remove rarr from about page text. Use a subtle background instead.
...
props markjaquith.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25840
git-svn-id: http://core.svn.wordpress.org/trunk@25752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 08:42:10 +00:00
Andrew Nacin
328a847bc1
Awesome about page design for WordPress 3.7.
...
The page includes a giant password meter that serves as both an animated example and a working demo. How cool is that?
props jorbin, melchoyce.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25839
git-svn-id: http://core.svn.wordpress.org/trunk@25751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 08:11:09 +00:00
Andrew Nacin
859da01c4a
Delete expired transients on database upgrades.
...
Reverts [25416], which had all transients being cleared. This leaves much to be desired, but we don't want a core update to be blamed for breaking a site that incorrectly assumes transients aren't transient.
props dartiss, pento.
fixes #20316 .
Built from https://develop.svn.wordpress.org/trunk@25838
git-svn-id: http://core.svn.wordpress.org/trunk@25750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 07:48:09 +00:00
Andrew Nacin
5f3e90a112
Introduce email templates for automatic background updates.
...
The four templates are:
1. We successfully updated their site. If any of their themes or plugins are out of date, it also mentions that. ('success')
2. We are not configured to update their site, so we notify them of the new release. ('notify')
3. We tried but failed to update their site. The error was early in the process, so no harm, no foul. This is the same as template #2 , plus one sentence. ('fail')
4. We tried to update their site, and failed while copying files. ('critical')
With assistance from markjaquith.
see #10787 .
Built from https://develop.svn.wordpress.org/trunk@25837
git-svn-id: http://core.svn.wordpress.org/trunk@25749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 06:33:10 +00:00
Andrew Nacin
325ccd0a14
set_current_screen() is now unnecessary in Automatic_Upgrader_Skin, which is good because it breaks things in the network admin.
...
fixes #25622 .
Built from https://develop.svn.wordpress.org/trunk@25836
git-svn-id: http://core.svn.wordpress.org/trunk@25748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 23:24:09 +00:00
Andrew Nacin
a65661abee
In automatic background updates, standardize on 'update'.
...
New, final filter names:
* auto_update_{$type} (plugin, theme, core, language)
* automatic_updates_is_vcs_checkout
* automatic_updates_disabled
New class name is WP_Automatic_Updater. Method names include update() and should_update().
see #22704 .
Built from https://develop.svn.wordpress.org/trunk@25835
git-svn-id: http://core.svn.wordpress.org/trunk@25747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 23:21:10 +00:00
Andrew Nacin
de21e296ce
Remove redundant code. see #25603 , #22704 , [25833].
...
Built from https://develop.svn.wordpress.org/trunk@25834
git-svn-id: http://core.svn.wordpress.org/trunk@25746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 20:30:10 +00:00
Andrew Nacin
c3a27493e6
Check if background core updates are supported on about.php.
...
see #25603 , #22704 .
Built from https://develop.svn.wordpress.org/trunk@25833
git-svn-id: http://core.svn.wordpress.org/trunk@25745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 20:29:09 +00:00
Andrew Nacin
5343c74b4a
Update the text for the about page, so translators can get started. Design is in flux.
...
props nacin, markjaquith, jorbin, jenmylo.
see #25603 .
Built from https://develop.svn.wordpress.org/trunk@25832
git-svn-id: http://core.svn.wordpress.org/trunk@25744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 20:17:09 +00:00
Dion Hulse
924e35d66a
Silence PHP warnings from disk_free_space(). disk_free_space() will produce a warning in error conditions in addition to returning false, this includes a case where the bytes free is greater than PHP_INT_MAX (which is a error condition we don't need to check).
...
See #25576 , #22704
Built from https://develop.svn.wordpress.org/trunk@25831
git-svn-id: http://core.svn.wordpress.org/trunk@25743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 18:40:10 +00:00