Andrew Nacin
85d32ce873
Automatic updates: An error code containing 'do_rollback' can be used to trigger a rollback.
...
This could enable the triggering of a rollback in update_core() in wp-admin/includes/update-core.php.
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25782 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-15 02:58:07 +00:00
Andrew Nacin
1918e828da
Automatic updates: Include error data in the follow-up API request.
...
props dd32.
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25781 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 23:32:47 +00:00
Andrew Nacin
3eac3d0380
Parse absolute paths out of error data. see #22704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25780 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 22:24:28 +00:00
Dion Hulse
b492ae85f8
Remove PHP4 compat code from the ZipArchive unzip handler, and pass the failure reason into the WP_Error return.
...
See #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25779 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 21:54:33 +00:00
Andrew Nacin
67c80dae13
Account for the possible failure of disk_free_space() in update_core().
...
see #22704 , #25576 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25778 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 21:14:39 +00:00
Andrew Nacin
d6a1b681d3
Auto updates: Only attempt a roll back when we've hit a critical error code.
...
Specifically, this means when we've failed in copying files.
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25777 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 21:02:46 +00:00
Andrew Nacin
b8efab15d8
Account for possible failures by disk_free_space(), as well as the potential need to copy the unzipped files.
...
see #25576 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25776 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 20:57:28 +00:00
Andrew Nacin
47e85a9b54
In the upgrader, only print additional error data if it is a string.
...
As in [25576], we sometimes want to return additional data that is not necessarily meant for UI consumption.
see #25576 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25775 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 20:19:52 +00:00
Andrew Nacin
5db3863d12
In unzip_file(), confirm we have enough available disk space before extracting.
...
"enough" is calculated by adding up the uncompressed size of the files in the archive, then adding a 20% buffer.
props dd32.
fixes #25576 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25774 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 20:14:13 +00:00
Andrew Nacin
ddf6da1d8c
3.7-beta2-25773
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25773 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 19:39:06 +00:00
Andrew Nacin
bd26f54af2
More specific error codes in the core upgrader when copying language, plugin, and theme files. see #22704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25772 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 19:37:53 +00:00
Dominik Schilling (ocean90)
dde2cb32fa
Fix typo in wp-admin.css. props wycks. fixes #25589 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25771 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-14 16:13:08 +00:00
Andrew Nacin
7bf44580a9
Add explicit link to the installation being updated in debugging emails. see #22704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25770 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-12 20:17:20 +00:00
Lance Willett
476daf2aef
Twenty Fourteen: first pass for updating code comments to reflect WP inline docs standards, see #25257 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25769 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 22:01:14 +00:00
Lance Willett
0c3ff8a555
Twenty Fourteen: remove two unused files, should have been deleted with r25088, see #24877 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25768 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 21:00:50 +00:00
Andrew Ozz
85c62ad3be
Update the basic browser detection to detect IE11. Fixes #25562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25767 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 17:25:11 +00:00
Lance Willett
31e9963904
Twenty Fourteen: remove unneeded sidebar file. Props iamtakashi, see #25565 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25766 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 17:24:22 +00:00
Lance Willett
481c744d42
Twenty Fourteen: remove header text customization options, fixes #25540 . Props celloexpressions, obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25765 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 17:13:27 +00:00
Andrew Nacin
9eff9eaebe
Silence possible warnings from is_dir(). fixes #25572 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25764 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 17:10:18 +00:00
Andrew Nacin
2e605e76c6
Refine error codes throughout the upgrader so we can better detect at what stage updates fail.
...
see #22704 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25763 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 16:05:13 +00:00
Lance Willett
4f55cd150c
Twenty Fourteen: merge Front Page Sidebar and Content Sidebar. Props iamtakashi, see #25565 ; closes #25565 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25762 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-11 03:16:59 +00:00
Andrew Ozz
ee5d2021e0
Upgrade TinyMCE to 3.5.9. Fix the css for the original 'fullscreen' plugin (not enabled by default).
...
Fixes #25561 , fixes #25281 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25761 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 21:49:23 +00:00
Andrew Nacin
a837e4b528
3.7-beta2-25760
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25760 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 21:33:47 +00:00
Andrew Nacin
a281e59c91
3.7-beta2
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25759 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 21:01:45 +00:00
Lance Willett
1c66b8130d
Twenty Fourteen: improve display for elements in the featured content area by preventing titles from breaking and letting content overflow with an ellipsis. Props obenland, fixes #25053 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25758 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 15:35:27 +00:00
Lance Willett
6a433a7284
Twenty Fourteen: improved JS support for keyboard navigation for main navigation menu. Props obenland, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25757 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 15:32:59 +00:00
Lance Willett
822d558774
Twenty Fourteen: a11y and RTL fixes for tabbed navigation and Skip to Content link. Props obenland, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25756 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 15:30:25 +00:00
Andrew Nacin
627b25bf50
Auto updates: For follow-up API call when an update fails, send back the version attempted. see #22704 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25755 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 14:45:55 +00:00
Lance Willett
983f56193e
Twenty Fourteen: improve primary navigation styles for a clearer distinction between hover and the current page highlight, and change color to harmonize with the search toggle. Props iamtakashi, fixes #25554 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25754 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 03:36:15 +00:00
Lance Willett
b36e73407e
Twenty Fourteen: remove CSS transitions, props iamtakashi. Fixes #25553 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25753 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 03:30:11 +00:00
Dion Hulse
f0571c02b7
After a upgrade fails, and we successfully rollback to a previous version, Don't send the version we rolled back to to the API, just that it was successful. See [25750]. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25752 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 01:56:44 +00:00
Dion Hulse
05cceca0ac
Correct a variable typo in [25750]. See #22704
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25751 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 01:37:30 +00:00
Dion Hulse
e03279e8b0
In the event that an Automatic Upgrade fails, send a failure status on the next API request to indicate that it failed, and if the rollback was successful.
...
See #22704
git-svn-id: https://develop.svn.wordpress.org/trunk@25750 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-10 01:31:22 +00:00
Lance Willett
6c808113fe
Twenty Fourteen: merge recent stylesheet changes to RTL, and file miscellaneous CSS cleanup.
...
RTL still needs more responsive fixes, see #25332 -- and a11y menu fixes, see #25054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25749 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 21:41:54 +00:00
Andrew Ozz
c3a034a6c4
TinyMCE: add support for IE11.
...
- Add the latest changes from the 3.x branch upstream.
- Reduce the number of calls to tinyMCEPopup.restoreSelection() in our custom plugins.
- Remove the deprecated execCommand("mceBeginUndoLevel");.
See #25281 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25748 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 21:04:05 +00:00
Andrew Nacin
74f02a6751
Hook documentation for wp-admin/admin.php.
...
props DrewAPicture for initial patch.
fixes #25442 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25747 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 21:00:41 +00:00
Andrew Nacin
28efc380ff
Default themes: Don't use /** docblocks for simple multiline comments.
...
props DrewAPicture, ericlewis.
fixes #25256 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25746 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 20:38:26 +00:00
Andrew Nacin
3a46ff98f5
Only add one body class when multiple post types manage to be present for a post type archive due to pre_get_posts manipulation.
...
fixes #25341 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25745 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 19:13:28 +00:00
Andrew Nacin
12cb3a353e
Make sure when resizing an image according to ratio we do not end up with a zero-pixel width or height.
...
props plocha.
fixes #25038 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25744 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 19:06:56 +00:00
Lance Willett
d72a095508
Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25743 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 19:06:06 +00:00
Lance Willett
bf799fd276
Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25742 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 18:51:46 +00:00
Helen Hou-Sandi
99df61b666
Show a label for the "Home" page nav menu item checkbox. props SergeyBiryukov. props ericlewis for the initial patch. fixes #25410 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25741 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 18:46:34 +00:00
Lance Willett
56bef8b6a6
Twenty Fourteen: minor color contrast and a11y fixes, see #25054 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25740 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 18:38:58 +00:00
Dion Hulse
28736216f3
Upgrader: Create Directories with a minimum of 0755 and files with a minimum of 0644 when upgrading, which matches pre-3.7 behaviour. Fixes #20069
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25739 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 16:46:31 +00:00
Lance Willett
04357e30c8
Twenty Fourteen: remove unnecessary no-sidebar
class value in front page template. Props iamtakashi, fixes #25543 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25738 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 16:26:50 +00:00
Lance Willett
c4e2af76e4
Twenty Fourteen: remove unneeded .single-attachment
body class selectors, props iamtakashi. Fixes #25541 , see #25506 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25737 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-09 16:25:33 +00:00
Lance Willett
66c2dfbae9
Twenty Fourteen: fill browser height to 100% for views with short content. Accounts for footer widgets, in which case the height isn't set to 100% so that the widgets remain visible. Props wycks and taupecat, fixes #25389 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25736 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 21:36:46 +00:00
Lance Willett
7771626637
Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes #25325 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@25735 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 21:21:19 +00:00
Drew Jaynes
e46830eb0b
Inline documentation for hooks in wp-admin/widgets.php.
...
Props r3df, kpdesign.
Fixes #25501 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25734 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 20:26:25 +00:00
Drew Jaynes
27ef389c26
Inline documentation for hooks in wp-includes/class-feed.php.
...
Props swissspidy.
Fixes #25510 .
git-svn-id: https://develop.svn.wordpress.org/trunk@25733 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 20:06:29 +00:00