Dominik Schilling
b29c8c503b
Theme Switcher: Provide an easier way to reset back to the current active theme.
...
* Add control for the active theme when doing a theme preview
* Highlight an active theme and move it to the top
props valendesigns, ocean90.
fixes #32002 .
Built from https://develop.svn.wordpress.org/trunk@32265
git-svn-id: http://core.svn.wordpress.org/trunk@32236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-22 16:15:27 +00:00
Dominik Schilling
e0657e6904
Don't return empty themes in wp_prepare_themes_for_js()
.
...
see #32002 .
Built from https://develop.svn.wordpress.org/trunk@32264
git-svn-id: http://core.svn.wordpress.org/trunk@32235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-22 16:11:25 +00:00
Sergey Biryukov
3e99df2858
About page design for 4.2.
...
props melchoyce, ryelle.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32260
git-svn-id: http://core.svn.wordpress.org/trunk@32231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-22 06:04:29 +00:00
Andrew Ozz
60706015e1
Revert editing of video embed parameters in the media modal, [31620] and [31626] for now. Plan on revisiting in 4.3.
...
Props iseulde. Fixes #31139 , fixes #32006 .
Built from https://develop.svn.wordpress.org/trunk@32258
git-svn-id: http://core.svn.wordpress.org/trunk@32229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 22:41:26 +00:00
Helen Hou-Sandí
e8ee561a4f
Shiny Updates: Prevent the post-update success message from jumping.
...
props pareshradadiya, afercia.
fixes #31984 .
Built from https://develop.svn.wordpress.org/trunk@32256
git-svn-id: http://core.svn.wordpress.org/trunk@32227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 20:41:28 +00:00
Helen Hou-Sandí
1d1c026e8e
Rename the pre_wp_prepare_themes_for_js
filter to pre_prepare_themes_for_js
.
...
props DrewAPicture.
fixes #31789 .
Built from https://develop.svn.wordpress.org/trunk@32246
git-svn-id: http://core.svn.wordpress.org/trunk@32217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 14:23:27 +00:00
Helen Hou-Sandí
f861754016
Customizer: Better experience for widget filtering in desktop and iOS Safari.
...
Previously, the search field did not appear at all in desktop Safari, and the auto-focus keyboard fly-up in iOS rendered widget adding frustrating at best.
props dsmart, ocean90.
fixes #31987 .
Built from https://develop.svn.wordpress.org/trunk@32243
git-svn-id: http://core.svn.wordpress.org/trunk@32214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 14:15:26 +00:00
Helen Hou-Sandí
b0a5febdf2
Press This: Prevent bottom buttons from wrapping on narrow screens.
...
props Michael Arestad.
fixes #32022 .
Built from https://develop.svn.wordpress.org/trunk@32230
git-svn-id: http://core.svn.wordpress.org/trunk@32204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 21:03:26 +00:00
Gary Pendergast
e3f1f8fed1
Ensure post titles are correctly escaped on the Dashboard.
...
Props helen, ocean90, dd32, pento.
Built from https://develop.svn.wordpress.org/trunk@32175
git-svn-id: http://core.svn.wordpress.org/trunk@32150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 07:39:25 +00:00
Gary Pendergast
e2d3bdf615
Correctly escape theme version numbers when displaying them.
...
Props collinsinternet.
Built from https://develop.svn.wordpress.org/trunk@32170
git-svn-id: http://core.svn.wordpress.org/trunk@32145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 06:27:25 +00:00
Andrew Nacin
9e92fab289
Update wp_die() calls modified in [31658] to use shorthand calling style.
...
see #31422 .
Built from https://develop.svn.wordpress.org/trunk@32152
git-svn-id: http://core.svn.wordpress.org/trunk@32127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 03:27:27 +00:00
Sergey Biryukov
7f48138743
Press This: Update documentation for press_this_save_redirect
filter after [31992].
...
props kraftbj.
fixes #31996 .
Built from https://develop.svn.wordpress.org/trunk@32143
git-svn-id: http://core.svn.wordpress.org/trunk@32123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-19 01:34:28 +00:00
Dominik Schilling
1ec6848eec
About page: All strings are available for translation.
...
* Remove AJAX call added in [30840].
* Remove `<code>` tags out of localized strings.
props johnbillion, ocean90.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32136
git-svn-id: http://core.svn.wordpress.org/trunk@32115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 18:19:25 +00:00
Helen Hou-Sandí
dacf31fa4a
About page: A last round of text updates.
...
props DrewAPicture, johnbillion, afercia, helen.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32135
git-svn-id: http://core.svn.wordpress.org/trunk@32114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 17:34:25 +00:00
Dominik Schilling
786bce5b9c
Customizer: Escape theme preview URLs.
...
props johnbillion, ocean90.
see #31896 .
Built from https://develop.svn.wordpress.org/trunk@32134
git-svn-id: http://core.svn.wordpress.org/trunk@32113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 16:33:25 +00:00
Aaron Jorbin
ee9adc354a
Move wp-plugin-update-success event to after lock is released
...
Fixes #31978
See #31819
Props DavidAnderson
Built from https://develop.svn.wordpress.org/trunk@32133
git-svn-id: http://core.svn.wordpress.org/trunk@32112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 14:37:27 +00:00
Sergey Biryukov
20d39c8478
About page: Two more string tweaks.
...
props DrewAPicture, pento.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32132
git-svn-id: http://core.svn.wordpress.org/trunk@32111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 01:24:24 +00:00
Sergey Biryukov
875585d147
About page updates.
...
* Change the subhead strings on credits.php and freedoms.php to match about.php.
* Link the Emoji Codex article in the emoji blurb.
* Add a second sentence to the JavaScript Accessibility blurb.
* Switch positions for the JavaScript Accessibility and Complex Query Ordering sections for balance.
props DrewAPicture, ocean90, pavelevap.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32131
git-svn-id: http://core.svn.wordpress.org/trunk@32110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 00:38:27 +00:00
Dominik Schilling
d72d9f21ab
Update about page for 4.2.
...
props siobhan, DrewAPicture.
see #31929
Built from https://develop.svn.wordpress.org/trunk@32130
git-svn-id: http://core.svn.wordpress.org/trunk@32109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 18:53:25 +00:00
Dominik Schilling
4073ff026b
Force default avatar for HiDPI avatars on Discussion Settings.
...
props SergeyBiryukov.
fixes #31972 .
Built from https://develop.svn.wordpress.org/trunk@32129
git-svn-id: http://core.svn.wordpress.org/trunk@32108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 18:09:26 +00:00
Dominik Schilling
d31d2ff792
Reset padding for buttons in theme details modal.
...
props awbauer.
fixes #31963 .
Built from https://develop.svn.wordpress.org/trunk@32128
git-svn-id: http://core.svn.wordpress.org/trunk@32107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 18:04:28 +00:00
Aaron Jorbin
a07e9e127f
Use named function instead of anonymous function
...
The named function is testable and replaceable.
Fixes #31964
Props DavidAnderson, adamsilverstein, jorbin
Built from https://develop.svn.wordpress.org/trunk@32126
git-svn-id: http://core.svn.wordpress.org/trunk@32105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 16:42:26 +00:00
Scott Taylor
5e4616039c
Move the built media JS files up a directory to their previous location and naming convention. This fidgets with part of [31373] and will maintain BC for those who were loading those files directly (not using the enqueue system).
...
Props iseulde, ocean90.
Fixes #31912 .
Built from https://develop.svn.wordpress.org/trunk@32125
git-svn-id: http://core.svn.wordpress.org/trunk@32104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 15:31:28 +00:00
Sergey Biryukov
dafccdd922
Fix typo on About page.
...
props jamescollins.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32123
git-svn-id: http://core.svn.wordpress.org/trunk@32102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 06:54:25 +00:00
Andrew Ozz
fe150b9ef2
Press This: do not show the bookmarklet upgrade notice when accessing directly press-this.php.
...
Props kraftbj. Fixes #31968 .
Built from https://develop.svn.wordpress.org/trunk@32122
git-svn-id: http://core.svn.wordpress.org/trunk@32101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 05:45:28 +00:00
Dominik Schilling
7b24017cdb
Customizer Theme Switcher: Don't re-render a theme control if it has already been rendered.
...
Move initialization of `$customizeSidebar` to `api.ThemesSection.initialize()` to prevent cases where the result can be undefined.
props westonruter, ocean90.
fixes #31793 .
Built from https://develop.svn.wordpress.org/trunk@32119
git-svn-id: http://core.svn.wordpress.org/trunk@32098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-13 22:10:29 +00:00
Dominik Schilling
da928039a6
4.2 about page text, rough cut.
...
props helen, siobhan, DrewAPicture, samuelsidler, markjaquith, nacin.
see #31929 .
Built from https://develop.svn.wordpress.org/trunk@32118
git-svn-id: http://core.svn.wordpress.org/trunk@32097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-13 15:39:29 +00:00
Dominik Schilling
64fc7294b6
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
Built from https://develop.svn.wordpress.org/trunk@32116
git-svn-id: http://core.svn.wordpress.org/trunk@32095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-12 21:29:32 +00:00
Gary Pendergast
0179958273
When dbDelta()
is checking whether an index is defined in a CREATE TABLE
statement, don't worry if MySQL has a subpart defined on an index, but the CREATE TABLE
doesn't.
...
Fixes #31869 .
Built from https://develop.svn.wordpress.org/trunk@32108
git-svn-id: http://core.svn.wordpress.org/trunk@32087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-11 10:40:31 +00:00
Andrew Ozz
ad475b3c69
Press This: check the bookmarklet version and add the update notice from PHP.
...
Fixes #31942 .
Built from https://develop.svn.wordpress.org/trunk@32106
git-svn-id: http://core.svn.wordpress.org/trunk@32085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-10 21:08:29 +00:00
Helen Hou-Sandí
95ce53a090
Customizer theme switcher: Fix some esoteric breakage in iOS Safari.
...
This manifested in only being able to switch your theme once in the customizer before the "Change" button would appear to stop responding, though a switch to "Preview" and back to "Customize" would reveal the theme switcher after all. Animated positioning appears to be the problem here. The animations are not critical to the experience, particularly on touch+smaller screen devices.
props iseulde.
see #31794 .
Built from https://develop.svn.wordpress.org/trunk@32103
git-svn-id: http://core.svn.wordpress.org/trunk@32082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-10 02:44:29 +00:00
Andrew Ozz
0d4b29ffb9
Press This: add ARIA attributes to the alerts
container.
...
Props afercia. Fixes #31942 .
Built from https://develop.svn.wordpress.org/trunk@32102
git-svn-id: http://core.svn.wordpress.org/trunk@32081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-09 23:45:27 +00:00
Andrew Ozz
8d01d0be3f
Revert [32099] per discussion in #core: https://wordpress.slack.com/archives/core/p1428608303003309 .
...
See #30900 .
Built from https://develop.svn.wordpress.org/trunk@32100
git-svn-id: http://core.svn.wordpress.org/trunk@32079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-09 19:56:27 +00:00
Andrew Ozz
9e87e6b098
Remove z-index from #adminmenuback
.
...
Fixes #30900 .
Built from https://develop.svn.wordpress.org/trunk@32099
git-svn-id: http://core.svn.wordpress.org/trunk@32078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-09 19:26:25 +00:00
Andrew Ozz
923ca312e4
Press This:
...
- Fix focusing the Standard Editor link after saving draft, if the user has not focused another element.
- Reset the Save Draft button on node change in the editor.
See #31923 .
Built from https://develop.svn.wordpress.org/trunk@32098
git-svn-id: http://core.svn.wordpress.org/trunk@32077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-09 19:07:28 +00:00
Andrew Ozz
9db5bac3c4
Press This: change the link text to Standard Editor.
...
Props Michael-Arestad. See #31923 .
Built from https://develop.svn.wordpress.org/trunk@32093
git-svn-id: http://core.svn.wordpress.org/trunk@32072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:28:25 +00:00
Andrew Ozz
33a0022773
Press This:
...
- When saving a draft change the text of the Save Draft button to Saving...
- On success, hide the button and show Edit Post link in its place. If the user focuses the title or the editor, hide the link and show the button again.
Fixes #31923 .
Built from https://develop.svn.wordpress.org/trunk@32092
git-svn-id: http://core.svn.wordpress.org/trunk@32071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:14:28 +00:00
Dominik Schilling
d43d1503f7
Customize Headers: Improve handling of the initial header model.
...
Headers are currently keyed by the basename of the image, see #31786 . When two images have the same key only one image will be listed and the current image can be empty in the header control.
To prevent this we now fall back to the raw current header image if the image isn't in `_wpCustomizeHeader.uploads`.
props sirbrillig.
fixes #31742 .
Built from https://develop.svn.wordpress.org/trunk@32091
git-svn-id: http://core.svn.wordpress.org/trunk@32070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 22:28:27 +00:00
Andrew Ozz
ab8441ccc1
Fix flickering of the admin menu on over-scrolling.
...
Props joemcgill, mindrun. Fixes #30900 .
Built from https://develop.svn.wordpress.org/trunk@32089
git-svn-id: http://core.svn.wordpress.org/trunk@32068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 21:39:26 +00:00
Dominik Schilling
755d44736a
Customizer Theme Switcher: Lazy load theme screenshots.
...
props westonruter, ocean90.
fixes #31793 .
Built from https://develop.svn.wordpress.org/trunk@32088
git-svn-id: http://core.svn.wordpress.org/trunk@32067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 20:52:29 +00:00
Dominik Schilling
15f24a7730
Customizer Theme Switcher: Fix tabbing order if section is open.
...
see #31289 .
Built from https://develop.svn.wordpress.org/trunk@32087
git-svn-id: http://core.svn.wordpress.org/trunk@32066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 19:03:25 +00:00
Dominik Schilling
79eee23a29
Customizer Theme Switcher: Don't deactivate section on empty search results.
...
props westonruter.
fixes #31889 .
Built from https://develop.svn.wordpress.org/trunk@32083
git-svn-id: http://core.svn.wordpress.org/trunk@32062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:53:28 +00:00
Aaron Jorbin
0402c0b877
Disable shiny updates from modal based on parent window
...
The QS method added in [32067] and modified in [32080] doesn't work when the user changes the tab inside the modal. Instead, let's use the parent window's location.
Fixes #31739
Built from https://develop.svn.wordpress.org/trunk@32082
git-svn-id: http://core.svn.wordpress.org/trunk@32061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:38:27 +00:00
Aaron Jorbin
7aeea37d47
Fix logic for details based shiny updates.
...
This fixes two problems. TB seems to sometimes strip window.location.search variables after tb ones, so we need to move it forward. Also fixes logic error.
See #31739
Built from https://develop.svn.wordpress.org/trunk@32080
git-svn-id: http://core.svn.wordpress.org/trunk@32059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:27:26 +00:00
Boone Gorges
54a6a8e137
Don't allow whitespace-only image captions from the Media modal.
...
Captions containing only whitespace trick `image_add_caption()` into thinking
a caption is required, but the empty caption text confuses wpeditimage into
stripping the 'align' class specified by the user.
Fixes #21848 .
Built from https://develop.svn.wordpress.org/trunk@32079
git-svn-id: http://core.svn.wordpress.org/trunk@32058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:11:27 +00:00
Aaron Jorbin
abfddb8f3e
Update placeholder for FTP credentials
...
Two changes:
* Remove superfluous __ function call
* Update domain used
Fixes #31922
Props Tmeister
Built from https://develop.svn.wordpress.org/trunk@32077
git-svn-id: http://core.svn.wordpress.org/trunk@32056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 16:50:27 +00:00
Helen Hou-Sandí
dbc8943dd5
Dashboard: Ensure images other than avatars (such as emoji replacements) in recent comments are not incorrectly positioned.
...
props SergeyBiryukov.
fixes #31919 .
Built from https://develop.svn.wordpress.org/trunk@32076
git-svn-id: http://core.svn.wordpress.org/trunk@32055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 16:49:26 +00:00
Helen Hou-Sandí
4e7cb5e05d
Admin menu: fix colors for focus state and in IE8.
...
props afercia.
fixes #31345 .
Built from https://develop.svn.wordpress.org/trunk@32075
git-svn-id: http://core.svn.wordpress.org/trunk@32054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 16:38:26 +00:00
Helen Hou-Sandí
2a0d187a15
Modals: Significantly improve the touch scrolling experience.
...
This particularly fixes the attachment and plugin details modals, but also improves other modals such as wpLink and interim login.
props iseulde.
fixes #31609 , #31611 . see #31610 , #31612 .
Built from https://develop.svn.wordpress.org/trunk@32073
git-svn-id: http://core.svn.wordpress.org/trunk@32052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 03:19:28 +00:00
Helen Hou-Sandí
efbf3e2c3c
Ensure post title input is not shortened for non-public post types.
...
props tyxla.
fixes #30968 .
Built from https://develop.svn.wordpress.org/trunk@32071
git-svn-id: http://core.svn.wordpress.org/trunk@32050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-07 20:44:27 +00:00