Sergey Biryukov
7b0dbe06fd
About page: Two more string tweaks.
...
props DrewAPicture, pento.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32132 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 01:23:07 +00:00
Sergey Biryukov
99abb0cf3a
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32131 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-15 00:38:00 +00:00
Dominik Schilling (ocean90)
cf9908ef31
Update about page for 4.2.
...
props siobhan, DrewAPicture.
see #31929
git-svn-id: https://develop.svn.wordpress.org/trunk@32130 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:52:19 +00:00
Dominik Schilling (ocean90)
f00aa86644
Force default avatar for HiDPI avatars on Discussion Settings.
...
props SergeyBiryukov.
fixes #31972 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32129 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:08:15 +00:00
Dominik Schilling (ocean90)
be2e1d9937
Reset padding for buttons in theme details modal.
...
props awbauer.
fixes #31963 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32128 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 18:03:59 +00:00
Dominik Schilling (ocean90)
a0fbde9fdc
Customizer Theme Switcher: Use text input for the search field to prevent double tap issues for Preview and Customize buttons on iOS.
...
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32127 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 17:44:28 +00:00
Aaron Jorbin
73479254bc
Use named function instead of anonymous function
...
The named function is testable and replaceable.
Fixes #31964
Props DavidAnderson, adamsilverstein, jorbin
git-svn-id: https://develop.svn.wordpress.org/trunk@32126 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 16:41:24 +00:00
Scott Taylor
91143924cd
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32125 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:30:16 +00:00
Scott Taylor
fbdbba9e01
Revert [31030] and [31033]. Incidentally, there is no lazy-loading happening here anyway.
...
Pushing #26111 to future.
git-svn-id: https://develop.svn.wordpress.org/trunk@32124 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 15:12:49 +00:00
Sergey Biryukov
a8c4455adc
Fix typo on About page.
...
props jamescollins.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32123 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 06:53:25 +00:00
Andrew Ozz
f3033a9f5a
Press This: do not show the bookmarklet upgrade notice when accessing directly press-this.php.
...
Props kraftbj. Fixes #31968 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32122 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 05:44:08 +00:00
Andrew Ozz
deaa16216d
Fix the media modal Insert into post button on narrow screens by limiting the width of .media-toolbar-primary and .media-toolbar-secondary only inside .attachments-browser (the top toolbar).
...
Props iseulde, DrewAPicture. Fixes #31908 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32121 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 01:20:39 +00:00
Andrew Ozz
17e3e168d3
Make sure the spinner in the media modal is visible on narrow screens (without affecting the media grid).
...
Fixes #30725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32120 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-14 00:53:34 +00:00
Dominik Schilling (ocean90)
5c1eb9f4f8
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32119 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 22:09:35 +00:00
Dominik Schilling (ocean90)
17cc95573f
4.2 about page text, rough cut.
...
props helen, siobhan, DrewAPicture, samuelsidler, markjaquith, nacin.
see #31929 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32118 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 15:38:19 +00:00
Sergey Biryukov
3b6ff03136
wp_update_term()
should check if get_term()
returned null.
...
props dlh.
fixes #31954 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32117 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-13 01:20:57 +00:00
Dominik Schilling (ocean90)
b0d6757918
Use HTTPS URLs for codex.wordpress.org.
...
see #27115 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32116 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-12 21:28:58 +00:00
Sergey Biryukov
3c4b4ea0cc
Fix a copy/paste error in a comment.
...
see #31951 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32115 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 23:19:39 +00:00
azaozz
2160e1ac95
Add mb_strlen()
compatibility function. Works the same way as the existing mb_substr()
compatibility function.
...
Props SergeyBiryukov. Fixes #31951 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32114 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 23:13:01 +00:00
Dominik Schilling (ocean90)
9cddb0f012
Rename get_media_embedded_in_content_allowed
filter to media_embedded_in_content_allowed_types
.
...
The new name fits better with some other `_allowed_` filters.
props DrewAPicture.
fixes #26675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32113 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:48:22 +00:00
Sergey Biryukov
9706b074c8
Translator comment should just reference placeholder numbers, not the actual placeholders.
...
see #31675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32112 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:45:14 +00:00
Sergey Biryukov
d36c454684
Explain all placeholders in translator comment, not just the first one.
...
see [32110], #31675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32111 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:39:36 +00:00
Mark Jaquith
0188ec7f1c
Tell developers how to correctly silence register_sidebar()
notices.
...
* If we just tell them they they should set an `id` parameter, they might set an arbitrary one on an existing (i.e. not in-development) theme, causing widgets to be lost.
* This way, we tell them to set it to the auto-generated `id` that the sidebar already has.
* Widget content is not lost, and now their sidebar has a concrete handle.
fixes #31675
git-svn-id: https://develop.svn.wordpress.org/trunk@32110 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 21:33:14 +00:00
Dominik Schilling (ocean90)
cfb7d2965e
Remove executable bit from smilies.
...
see #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32109 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 18:16:24 +00:00
Gary Pendergast
b806e118c6
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32108 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 10:39:49 +00:00
Gary Pendergast
b007147ab4
Smilies: One more tweak to matching smilies with emoji.
...
Props iseulde.
See #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32107 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-11 02:16:34 +00:00
Andrew Ozz
301bb0b9da
Press This: check the bookmarklet version and add the update notice from PHP.
...
Fixes #31942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32106 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 21:07:42 +00:00
Gary Pendergast
1de9bc1670
Smilies: Tweak which smiley matches which emoji.
...
Props iseulde.
See #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32105 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 06:29:49 +00:00
Gary Pendergast
3bd66eff61
Smilies: Update our few remaining smilies to better align with Twemoji, and add frownie.png until Twemoji provide a build containing it.
...
Props joen.
See #31709 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32104 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 06:19:39 +00:00
Helen Hou-Sandi
3019ddf457
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32103 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-10 02:43:20 +00:00
Andrew Ozz
6cf43dfc06
Press This: add ARIA attributes to the alerts
container.
...
Props afercia. Fixes #31942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32102 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 23:44:50 +00:00
Helen Hou-Sandi
84c5474197
Media: Bring back spinners, now without bouncing select elements.
...
props afercia for the initial patch.
see #22839 , #30725 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32101 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 20:34:10 +00:00
Andrew Ozz
02a5d32641
Revert [32099] per discussion in #core: https://wordpress.slack.com/archives/core/p1428608303003309 .
...
See #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32100 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 19:55:54 +00:00
Andrew Ozz
5eb6128f8e
Remove z-index from #adminmenuback
.
...
Fixes #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32099 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 19:25:27 +00:00
Andrew Ozz
fd6c5e6cbd
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32098 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 19:06:41 +00:00
pento
cd9374f061
Emoji: The emoji JS files should be run through the script_loader_src
filter, as they would be if they were registered scripts.
...
Props peterwilsoncc.
Fixes #31938 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32097 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 11:06:03 +00:00
Gary Pendergast
dcfb3532c1
Emoji: Tidy up the wp_encode_emoji()
regex, and clarify the function comment on Unicode 8 support.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32096 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 04:36:57 +00:00
Andrew Ozz
01da3522f6
TinyMCE: disable the wp-autoresize plugin in iOS. All iframes there are already expanded to the height of the content document.
...
Fixes #31937 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32095 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-09 00:10:23 +00:00
Lance Willett
a00cfeb4f6
Twenty Fourteen: update editor styles to better account for adaptive images in small screens.
...
Fixes #31934 , props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@32094 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:28:55 +00:00
Andrew Ozz
47754dfc55
Press This: change the link text to Standard Editor.
...
Props Michael-Arestad. See #31923 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32093 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:27:04 +00:00
Andrew Ozz
bd8cb111ed
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32092 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 23:13:35 +00:00
Dominik Schilling (ocean90)
0dee3a771a
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32091 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 22:27:57 +00:00
Lance Willett
bc3e4176a0
Twenty Fifteen: update editor styles to better account for adaptive images in small screens.
...
See #31934 , props iamtakashi.
git-svn-id: https://develop.svn.wordpress.org/trunk@32090 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 22:00:14 +00:00
Andrew Ozz
543a9d052e
Fix flickering of the admin menu on over-scrolling.
...
Props joemcgill, mindrun. Fixes #30900 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32089 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 21:38:16 +00:00
Dominik Schilling (ocean90)
e9196a321a
Customizer Theme Switcher: Lazy load theme screenshots.
...
props westonruter, ocean90.
fixes #31793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32088 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 20:51:39 +00:00
Dominik Schilling (ocean90)
c3143d4bd0
Customizer Theme Switcher: Fix tabbing order if section is open.
...
see #31289 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32087 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 19:02:57 +00:00
Dominik Schilling (ocean90)
379393651b
Customizer Theme Switcher: Fix preview URL for subfolder installs.
...
Use `$_SERVER['HTTP_HOST']` and `$_SERVER['REQUEST_URI']` instead of `site_url()` and `$_SERVER['REQUEST_URI']`.
fixes #31896 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32086 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 18:58:08 +00:00
Drew Jaynes
30f14afe10
Post-beta4 bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@32085 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 18:48:33 +00:00
Dominik Schilling (ocean90)
2445c10ab2
Theme Compat: Make string translatable and add translator comments. Added in [31941].
...
props dimadin.
see #28502 .
fixes #31921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32084 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 18:14:31 +00:00
Dominik Schilling (ocean90)
b74982a479
Customizer Theme Switcher: Don't deactivate section on empty search results.
...
props westonruter.
fixes #31889 .
git-svn-id: https://develop.svn.wordpress.org/trunk@32083 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-08 17:52:18 +00:00