Commit Graph

23620 Commits

Author SHA1 Message Date
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
Drew Jaynes
0db187f915 Inline documentation for hooks in wp-includes/ms-load.php.
Props nukaga, johnbillion.
Fixes #25509.


git-svn-id: https://develop.svn.wordpress.org/trunk@25732 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 20:00:17 +00:00
Lance Willett
ee1a3278ea Twenty Fourteen: provide keyboard support for the primary navigation, props joedolson. See #25054.
git-svn-id: https://develop.svn.wordpress.org/trunk@25731 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 17:55:46 +00:00
Lance Willett
d3ceebd2cd 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. 


git-svn-id: https://develop.svn.wordpress.org/trunk@25730 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 17:31:00 +00:00
Lance Willett
5b5e048ffa Twenty Fourteen: reduce post widget margin, props kraftbj, closes #25426.
git-svn-id: https://develop.svn.wordpress.org/trunk@25729 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 17:28:14 +00:00
Drew Jaynes
e7ee404ec9 Improve inline documentation for the multi_resize() method in WP_Image_Editor, WP_Image_Editor_GD, and WP_Image_Editor_Imagick.
Props paolal for the initial patch.
Fixes #25530.


git-svn-id: https://develop.svn.wordpress.org/trunk@25728 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 17:19:00 +00:00
Scott Taylor
4aa0066736 Use parens to ensure that RegEx OR matches the front when determining that mime-type matches audio|video in attachment_submitbox_metadata().
Props kovshenin.
See #23926.



git-svn-id: https://develop.svn.wordpress.org/trunk@25727 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 15:31:32 +00:00
Drew Jaynes
d02ef44f33 Inline documentation for hooks in wp-includes/class-wp-embed.php.
Props swissspidy, kpdesign.
Fixes #25515.


git-svn-id: https://develop.svn.wordpress.org/trunk@25726 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 04:42:20 +00:00
Drew Jaynes
f13f18de24 Inline documentation for hooks in wp-admin/maint/repair.php.
Props ben.moody, kpdesign.
Fixes #25500.


git-svn-id: https://develop.svn.wordpress.org/trunk@25725 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 00:29:37 +00:00
Drew Jaynes
6d1558e461 Inline documentation for hooks in wp-includes/category.php.
Props ben.moody
Fixes #25503.


git-svn-id: https://develop.svn.wordpress.org/trunk@25724 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-08 00:21:47 +00:00
Drew Jaynes
c58e5cac6a Inline documentation for hooks in wp-includes/class-oembed.php.
Props swissspidy, kpdesign.
Fixes #25527.


git-svn-id: https://develop.svn.wordpress.org/trunk@25723 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 23:56:52 +00:00
Drew Jaynes
887af83f53 Inline documentation for hooks in wp-admin/network.php.
Props johnafish.
Fixes #25502.


git-svn-id: https://develop.svn.wordpress.org/trunk@25722 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 23:42:43 +00:00
Drew Jaynes
3170612070 Inline documentation for hooks in wp-settings.php.
Props miyauchi.
Fixes #25469


git-svn-id: https://develop.svn.wordpress.org/trunk@25721 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 19:33:16 +00:00
Andrew Nacin
23013c544a Prevent the removal of a manual 'orderby' attribute in the gallery shortcode.
props nofearinc.
fixes #24868.


git-svn-id: https://develop.svn.wordpress.org/trunk@25720 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 19:01:48 +00:00
Andrew Nacin
04f053ce0c Move the revisions upgrade handler to POST, to avoid esoteric metadata stomping.
props SergeyBiryukov.
see #25023.
for trunk.


git-svn-id: https://develop.svn.wordpress.org/trunk@25719 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 18:34:35 +00:00
Drew Jaynes
b654f9c0e3 Add missing variable for inline hook documentation changes in wp-includes/vars.php.
See #25466.


git-svn-id: https://develop.svn.wordpress.org/trunk@25718 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 17:55:45 +00:00
Drew Jaynes
4a86f70280 Inline documentation for wp-admin/options-reading.php.
Props siobhyb for the initial patch.
Fixes #25430.


git-svn-id: https://develop.svn.wordpress.org/trunk@25717 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 17:18:00 +00:00
Andrew Nacin
7c03553de8 Twenty Thirteen: Remove unneeded .single-attachment selector.
props obenland.
fixes #25506.


git-svn-id: https://develop.svn.wordpress.org/trunk@25716 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 16:42:12 +00:00
Andrew Nacin
eabbcec46f Twenty Twelve: Use the correct body class for attachments in the IE stylesheet.
props Marco_Teethgrinder.
see #25506. see [25707].


git-svn-id: https://develop.svn.wordpress.org/trunk@25715 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 16:41:18 +00:00
Drew Jaynes
46a60cc6d5 Fix phpdoc indentation for hooks in wp-includes/class-wp-image-editor.php.
Props gayadesign.
Fixes #25504.


git-svn-id: https://develop.svn.wordpress.org/trunk@25714 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 16:27:34 +00:00
Sergey Biryukov
a541f2e31e Correct phpdoc for wp_check_filetype_and_ext(). props dimadin. fixes #25513.
git-svn-id: https://develop.svn.wordpress.org/trunk@25713 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 15:33:19 +00:00
Drew Jaynes
1ab8ced9d7 Inline documentation for hooks in wp-includes/vars.php.
Props tmtoy, nacin.
Fixes #25466.


git-svn-id: https://develop.svn.wordpress.org/trunk@25712 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 15:29:14 +00:00
Andrew Nacin
c02412fa8d Remove tests for code still in development, see #22229. If accidentally run, they produce fatal errors.
props pauldewouters, no_fear_inc.


git-svn-id: https://develop.svn.wordpress.org/trunk@25711 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 14:17:13 +00:00
Sergey Biryukov
55ee5c4894 Escape title in HTML5 search form. props obenland, joostdevalk, scottsweb. fixes #25322.
git-svn-id: https://develop.svn.wordpress.org/trunk@25710 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 14:13:14 +00:00
Andrew Nacin
fc1438c8bc Move the trim() from wp_set_password() to inside wp_hash_password().
props rpattillo, joehoyle.
fixes #24973. see #23494.


git-svn-id: https://develop.svn.wordpress.org/trunk@25709 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 13:53:09 +00:00
Andrew Nacin
f4227afa2b Optimize the accessibility JS on the Menus screen to avoid browser crashes with very large menus.
props atimmer.
fixes #25112.


git-svn-id: https://develop.svn.wordpress.org/trunk@25708 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 13:37:00 +00:00
Andrew Nacin
2476d62991 Twenty Twelve: Use the correct body class for attachments.
.single-attachment is only used when the attachment's parent is not a page.

props Marco_Teethgrinder.
fixes #25506.


git-svn-id: https://develop.svn.wordpress.org/trunk@25707 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 13:18:31 +00:00
Drew Jaynes
2a2587c6dc Inline documentation for hooks in wp-admin/includes/bookmark.php.
Props johnafish, kpdesign.
Fixes #25494.


git-svn-id: https://develop.svn.wordpress.org/trunk@25706 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-07 02:18:20 +00:00
Drew Jaynes
3da73dfa3f Inline documentation for hooks in wp-includes/class-wp-image-editor.php.
Props tomauger.
Fixes #25504


git-svn-id: https://develop.svn.wordpress.org/trunk@25705 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 22:18:29 +00:00
Dion Hulse
90291e5702 Add a svn:ignore property to wp-content for wp-content/languages See [25559] See #25337 See #24976
git-svn-id: https://develop.svn.wordpress.org/trunk@25704 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 19:21:38 +00:00
Drew Jaynes
2e27610793 Inline documentation for a hooks in wp-includes/template.php.
Props jonlynch for the initial patch.
Fixes #25487.

git-svn-id: https://develop.svn.wordpress.org/trunk@25703 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 19:00:05 +00:00
Drew Jaynes
5c5928cac9 Inline documentation for hooks in wp-includes/template-loader.php.
Props jonlynch.
Fixes #25488.


git-svn-id: https://develop.svn.wordpress.org/trunk@25702 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 18:40:29 +00:00
Drew Jaynes
b60980d0af Inline documentation for hooks in wp-login.php.
Props ShinichiN, kpdesign.
Fixes #25393.


git-svn-id: https://develop.svn.wordpress.org/trunk@25701 602fd350-edb4-49c9-b593-d223f7449a82
2013-10-06 16:23:39 +00:00