Commit Graph

23557 Commits

Author SHA1 Message Date
Dion Hulse
4dcca90887 Remove PHP4 compat code from the ZipArchive unzip handler, and pass the failure reason into the WP_Error return.
See #22704

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


git-svn-id: http://core.svn.wordpress.org/trunk@25692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 21:55:09 +00:00
Andrew Nacin
4fa3687e6a Account for the possible failure of disk_free_space() in update_core().
see #22704, #25576.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25691 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 21:15:10 +00:00
Andrew Nacin
3e3c085db3 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 21:03:09 +00:00
Andrew Nacin
145dbde82f Account for possible failures by disk_free_space(), as well as the potential need to copy the unzipped files.
see #25576.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 20:58:09 +00:00
Andrew Nacin
1516b990f1 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 20:20:10 +00:00
Andrew Nacin
d68a80217f 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 20:15:09 +00:00
Andrew Nacin
31cf7e9d80 3.7-beta2-25773
Built from https://develop.svn.wordpress.org/trunk@25773


git-svn-id: http://core.svn.wordpress.org/trunk@25686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 19:40:09 +00:00
Andrew Nacin
2d898df04f More specific error codes in the core upgrader when copying language, plugin, and theme files. see #22704.
Built from https://develop.svn.wordpress.org/trunk@25772


git-svn-id: http://core.svn.wordpress.org/trunk@25685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 19:38:10 +00:00
Dominik Schilling
f3faba9b95 Fix typo in wp-admin.css. props wycks. fixes #25589.
Built from https://develop.svn.wordpress.org/trunk@25771


git-svn-id: http://core.svn.wordpress.org/trunk@25684 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-14 16:14:13 +00:00
Andrew Nacin
4c90c3cb31 Add explicit link to the installation being updated in debugging emails. see #22704.
Built from https://develop.svn.wordpress.org/trunk@25770


git-svn-id: http://core.svn.wordpress.org/trunk@25683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-12 20:18:10 +00:00
Lance Willett
eaf78d3f7c Twenty Fourteen: first pass for updating code comments to reflect WP inline docs standards, see #25257.
Built from https://develop.svn.wordpress.org/trunk@25769


git-svn-id: http://core.svn.wordpress.org/trunk@25682 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 22:02:11 +00:00
Lance Willett
ecfbd0b1de Twenty Fourteen: remove two unused files, should have been deleted with r25088, see #24877.
Built from https://develop.svn.wordpress.org/trunk@25768


git-svn-id: http://core.svn.wordpress.org/trunk@25681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 21:01:09 +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
Lance Willett
7d2bb132e0 Twenty Fourteen: remove unneeded sidebar file. Props iamtakashi, see #25565.
Built from https://develop.svn.wordpress.org/trunk@25766


git-svn-id: http://core.svn.wordpress.org/trunk@25679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 17:25:10 +00:00
Lance Willett
5024874876 Twenty Fourteen: remove header text customization options, fixes #25540. Props celloexpressions, obenland.
Built from https://develop.svn.wordpress.org/trunk@25765


git-svn-id: http://core.svn.wordpress.org/trunk@25678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 17:14:09 +00:00
Andrew Nacin
de1d3c8261 Silence possible warnings from is_dir(). fixes #25572.
Built from https://develop.svn.wordpress.org/trunk@25764


git-svn-id: http://core.svn.wordpress.org/trunk@25677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 17:11:10 +00:00
Andrew Nacin
29f5f5b5fd Refine error codes throughout the upgrader so we can better detect at what stage updates fail.
see #22704.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 16:06:11 +00:00
Lance Willett
7d22195cbb Twenty Fourteen: merge Front Page Sidebar and Content Sidebar. Props iamtakashi, see #25565; closes #25565.
Built from https://develop.svn.wordpress.org/trunk@25762


git-svn-id: http://core.svn.wordpress.org/trunk@25675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-11 03:17:11 +00:00
Andrew Ozz
debbfea3bf Upgrade TinyMCE to 3.5.9. Fix the css for the original 'fullscreen' plugin (not enabled by default).
Fixes #25561, fixes #25281.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 21:50:09 +00:00
Andrew Nacin
0aff23a40e 3.7-beta2-25760
Built from https://develop.svn.wordpress.org/trunk@25760


git-svn-id: http://core.svn.wordpress.org/trunk@25673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 21:34:09 +00:00
Andrew Nacin
5e4cfd4f70 3.7-beta2
Built from https://develop.svn.wordpress.org/trunk@25759


git-svn-id: http://core.svn.wordpress.org/trunk@25672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 21:02:10 +00:00
Lance Willett
93347b2b0e 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.
Built from https://develop.svn.wordpress.org/trunk@25758


git-svn-id: http://core.svn.wordpress.org/trunk@25671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 15:36:10 +00:00
Lance Willett
578abd0796 Twenty Fourteen: improved JS support for keyboard navigation for main navigation menu. Props obenland, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25757


git-svn-id: http://core.svn.wordpress.org/trunk@25670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 15:33:10 +00:00
Lance Willett
44458d8bc3 Twenty Fourteen: a11y and RTL fixes for tabbed navigation and Skip to Content link. Props obenland, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25756


git-svn-id: http://core.svn.wordpress.org/trunk@25669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 15:31:09 +00:00
Andrew Nacin
2a8dcbae1f Auto updates: For follow-up API call when an update fails, send back the version attempted. see #22704.
Built from https://develop.svn.wordpress.org/trunk@25755


git-svn-id: http://core.svn.wordpress.org/trunk@25668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 14:46:11 +00:00
Lance Willett
1d14316169 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.
Built from https://develop.svn.wordpress.org/trunk@25754


git-svn-id: http://core.svn.wordpress.org/trunk@25667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 03:37:09 +00:00
Lance Willett
7a03adbb52 Twenty Fourteen: remove CSS transitions, props iamtakashi. Fixes #25553.
Built from https://develop.svn.wordpress.org/trunk@25753


git-svn-id: http://core.svn.wordpress.org/trunk@25666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 03:31:09 +00:00
Dion Hulse
186a5379e8 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
Built from https://develop.svn.wordpress.org/trunk@25752


git-svn-id: http://core.svn.wordpress.org/trunk@25665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 01:57:08 +00:00
Dion Hulse
98762b4a30 Correct a variable typo in [25750]. See #22704
Built from https://develop.svn.wordpress.org/trunk@25751


git-svn-id: http://core.svn.wordpress.org/trunk@25664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 01:38:10 +00:00
Dion Hulse
0b9f198994 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

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


git-svn-id: http://core.svn.wordpress.org/trunk@25663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 01:32:09 +00:00
Lance Willett
79bd971194 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. 
Built from https://develop.svn.wordpress.org/trunk@25749


git-svn-id: http://core.svn.wordpress.org/trunk@25662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:42:09 +00:00
Andrew Ozz
65cd133a6f 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.
Built from https://develop.svn.wordpress.org/trunk@25748


git-svn-id: http://core.svn.wordpress.org/trunk@25661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:05:10 +00:00
Andrew Nacin
34da946343 Hook documentation for wp-admin/admin.php.
props DrewAPicture for initial patch.
fixes #25442.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:01:09 +00:00
Andrew Nacin
f5eb32ec6b Default themes: Don't use /** docblocks for simple multiline comments.
props DrewAPicture, ericlewis.
fixes #25256.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 20:39:09 +00:00
Andrew Nacin
7b27a47e85 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:14:09 +00:00
Andrew Nacin
f0eb99952c 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.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:07:17 +00:00
Lance Willett
66be5edfb5 Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25743


git-svn-id: http://core.svn.wordpress.org/trunk@25656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 19:07:09 +00:00
Lance Willett
ffd47afa4b Twenty Fourteen: a11y fix for keyboard navigation and Skip Content link, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25742


git-svn-id: http://core.svn.wordpress.org/trunk@25655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 18:52:10 +00:00
Helen Hou-Sandí
75eb364ced Show a label for the "Home" page nav menu item checkbox. props SergeyBiryukov. props ericlewis for the initial patch. fixes #25410.
Built from https://develop.svn.wordpress.org/trunk@25741


git-svn-id: http://core.svn.wordpress.org/trunk@25654 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 18:47:09 +00:00
Lance Willett
f6fc6a8b29 Twenty Fourteen: minor color contrast and a11y fixes, see #25054.
Built from https://develop.svn.wordpress.org/trunk@25740


git-svn-id: http://core.svn.wordpress.org/trunk@25653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 18:39:10 +00:00
Dion Hulse
543d84a379 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
Built from https://develop.svn.wordpress.org/trunk@25739


git-svn-id: http://core.svn.wordpress.org/trunk@25652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 16:47:09 +00:00
Lance Willett
29a60aa56c Twenty Fourteen: remove unnecessary no-sidebar class value in front page template. Props iamtakashi, fixes #25543.
Built from https://develop.svn.wordpress.org/trunk@25738


git-svn-id: http://core.svn.wordpress.org/trunk@25651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 16:27:09 +00:00
Lance Willett
7f766fccb5 Twenty Fourteen: remove unneeded .single-attachment body class selectors, props iamtakashi. Fixes #25541, see #25506.
Built from https://develop.svn.wordpress.org/trunk@25737


git-svn-id: http://core.svn.wordpress.org/trunk@25650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 16:26:10 +00:00
Lance Willett
8816dd8108 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.
Built from https://develop.svn.wordpress.org/trunk@25736


git-svn-id: http://core.svn.wordpress.org/trunk@25649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 21:37:09 +00:00
Lance Willett
c78cbb19ce Twenty Fourteen: allow pages to have featured images, props iamtakashi. Fixes #25325.
Built from https://develop.svn.wordpress.org/trunk@25735


git-svn-id: http://core.svn.wordpress.org/trunk@25648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 21:22:10 +00:00
Drew Jaynes
c100d28a25 Inline documentation for hooks in wp-admin/widgets.php.
Props r3df, kpdesign.
Fixes #25501.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 20:27:08 +00:00
Drew Jaynes
3862698070 Inline documentation for hooks in wp-includes/class-feed.php.
Props swissspidy.
Fixes #25510.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 20:07:08 +00:00
Drew Jaynes
bc7ea63093 Inline documentation for hooks in wp-includes/ms-load.php.
Props nukaga, johnbillion.
Fixes #25509.

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


git-svn-id: http://core.svn.wordpress.org/trunk@25645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 20:01:09 +00:00
Lance Willett
bb63cf3c40 Twenty Fourteen: provide keyboard support for the primary navigation, props joedolson. See #25054.
Built from https://develop.svn.wordpress.org/trunk@25731


git-svn-id: http://core.svn.wordpress.org/trunk@25644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 17:56:09 +00:00
Lance Willett
4cfe0fe5e2 Twenty Fourteen: accent color fixes, props celloexpressions. See #25220.
* Try a darker text color for header nave submenu items on hover (matching site description color). 
 * Fix a bad hover color override. 

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


git-svn-id: http://core.svn.wordpress.org/trunk@25643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-08 17:31:09 +00:00