Andrew Ozz
29093fe8dc
TinyMCE emoji: fix caret position after replacing emoji in Chrome on Windows 8.
...
See #31627 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31946 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 23:34:23 +00:00
Dominik Schilling (ocean90)
d66ac05792
Disable body scrolling when session expired log in modal is open.
...
Fixes also the missing close icon if screen width is less than 380px.
props adamsilverstein, ocean90.
fixes #31610 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31945 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 22:54:40 +00:00
Dominik Schilling (ocean90)
5283d55271
Customizer: Defer rendering theme controls until the section is displayed.
...
see #31793 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31944 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 22:20:13 +00:00
Sergey Biryukov
78469b71b0
Themes: Add a filter to short-circuit wp_prepare_themes_for_js()
.
...
props mattwiebe, DrewAPicture.
fixes #31789 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31943 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 20:03:55 +00:00
Sergey Biryukov
dcc75b1202
Media Library: Add a label for attachment type select in list mode.
...
props afercia.
fixes #31795 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31942 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 19:56:08 +00:00
Sergey Biryukov
0d55562fd7
Decouple strings where the singular and plural form are not just the same string with different numbers, but essentially two different strings.
...
This allows for using proper plural forms in languages with more than two forms, and also resolves string conflicts when the same string is present in both singular and plural form.
fixes #28502 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31941 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 18:44:46 +00:00
Gary Pendergast
4e6cb8a5e2
Emoji: Fix a unit test which was incorrectly failing after [31926] fixed emoji being incorrectly encoded.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31940 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 09:36:29 +00:00
Gary Pendergast
67ae889160
WPDB: When we're checking to see if the MySQL client library supports utf8mb4
, we need a separate check for mysqlnd
versions, which using different version numbering to libmysqlclient
.
...
Props MattyRob.
Fixes #31644 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31939 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 09:17:43 +00:00
Gary Pendergast
48e551feb5
Emoji: Change the emoji CDN to w.org, from wp.com.
...
See #31651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31938 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 04:30:38 +00:00
Dion Hulse
9ce354f534
Tests: Clean up the resulting /tmp/foo* files from the tempnam
call.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31937 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 02:10:52 +00:00
Dion Hulse
842d6a9b39
Add some logic into wp_tempnam
to prevent it creating 'falsey' directory names that might get used elsewhere within WordPress.
...
Although this logic looks a little strange at this low level, it's the best location within the Upgrades code for it to happen.
Fixes #31811
git-svn-id: https://develop.svn.wordpress.org/trunk@31936 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 02:10:06 +00:00
Scott Taylor
71557177db
Let us pray to the gods of backwards compatibility:
...
* The way that the JS modules for media are currently set up turns the existing global `wp.media` namespace into a read-only API, this is bad.
* For the existing module implementation to work with plugins, those looking to override or extend a class would have to modify their own plugin to use `browserify` - we can't expect this to happen
* Because the general way that plugins override media classes is via machete (resetting them to something else), we cannot use `require( 'module' )` in the internal code for media modules
We CAN continue to use `require( 'fun/js' )` in the manifests for media.
Future code/projects should carefully consider what is made to be public API. In 3.5, EVERYTHING was made public, so everything shall remain public.
See #31684 , #28510 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31935 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-31 02:02:35 +00:00
Lance Willett
2d3a51d16c
Twenty Fifteen: adjust scroll behavior to make sure sidebar height is calculated during scroll events, not just resize events.
...
Fixes #31734 . Props jartes, lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@31934 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 22:48:11 +00:00
ocean90
c0104d6cc2
Customizer: Revert [31911]. We want to preserve url
and return
URL parameters to make the experience smoother.
...
see #31782 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31933 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 19:21:01 +00:00
Lance Willett
e6614d639b
Twenty Thirteen: make sure submenu links work correctly on small screens with touch events.
...
Fixes #31762 , props davidhamiltron.
git-svn-id: https://develop.svn.wordpress.org/trunk@31932 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 19:19:27 +00:00
Andrew Ozz
ae1538daed
TinyMCE wpView: add back the removal of selected views on inserting new content. Was removed when reverting the first fix for embedding of pasted URLs.
...
Props mattheu. Fixes #31796 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31931 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 18:21:56 +00:00
Sergey Biryukov
3e9c664a9b
Press This: Use the error message returned by wp_update_post()
instead of a generic one.
...
props stephdau.
fixes #31808 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31930 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 14:38:35 +00:00
Sergey Biryukov
e2a54a80b5
Use a more specific selector for comment moderation hotkeys after [31513].
...
props afercia.
fixes #31545 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31929 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 13:53:30 +00:00
Sergey Biryukov
2b55dfcb8b
Make sure the update button in "At a Glance" dashboard widget does not overlap with long strings.
...
props SergeyBiryukov, afercia, tyxla.
fixes #30766 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31928 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 12:49:38 +00:00
Sergey Biryukov
dadbb9713c
Fix duplicate ID for Save Menu button on Menus screen.
...
props sagarjadhav.
fixes #31803 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31927 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 09:48:15 +00:00
Gary Pendergast
3945ee3f86
Emoji: When encoding emoji into HTML entities, 0 was being incorrectly trimmed from the right side of the hex string, causing some characters to be encoded incorrectly.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31926 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 03:26:44 +00:00
Andrew Ozz
9369d03bc5
Press This: fix accessibility for the post options "sidebar". Fix size of the Add Category button.
...
Part props afercis, joedolson. Fixes #31575 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31925 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 03:08:30 +00:00
Gary Pendergast
2fd1791bc1
Emoji: When staticizing emoji into <img>
tags, include an alt
attribute of the original Emoji, to match both Smiley and Twemoji <img>
tags.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31924 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 03:08:28 +00:00
Andrew Ozz
c932690b40
Remove unused vars. See #31627 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31923 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 02:49:23 +00:00
Andrew Ozz
867237ca49
TinyMCE emoji: catch the inserting of emoji chars with the Windows 8 onscreen keyboard and replace if needed.
...
Fixes #31627 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31922 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-30 02:38:26 +00:00
Dominik Schilling (ocean90)
bb57072f82
Customizer: Increase initial-scale viewport specification to 1.0.
...
see #31794 , #28784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31921 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-29 12:22:33 +00:00
Dominik Schilling (ocean90)
6a7a92e0ea
Customizer: Fix calculation of panel positions when accessing via deep-links.
...
Make sure that the parent `li` is shown before attempting to calculate its position.
Improve also the logic for focusing on a panel to prevent focusing hidden elements.
props westonruter.
fixes #31014 .
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31920 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-29 11:16:30 +00:00
Andrew Ozz
034a4f20f0
Press This:
...
- When saving, replace emoji images with chars in the title text.
- Clean up the title text on paste.
See #31768 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31919 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-29 03:13:45 +00:00
Dominik Schilling (ocean90)
dad35768cf
Theme Switcher: Use the global panel back button instead of adding a new one.
...
This ensures the back button is visible on iOS devices. Same as in [29610].
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31918 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-28 22:08:32 +00:00
Dominik Schilling (ocean90)
da2d5c4039
Customizer: Increase size of search field and disable text size adjustment to prevent auto zooming.
...
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31917 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-28 21:02:36 +00:00
Dominik Schilling (ocean90)
ed118dc8a3
Customizer: Fix selector for container which includes the controls. Broken since [30102].
...
see #31794 , #31014 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31916 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-28 20:46:37 +00:00
Dominik Schilling (ocean90)
1811a80eff
Remove a stray > introduced in [31905].
...
see #31776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31915 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 23:19:26 +00:00
Dominik Schilling (ocean90)
a39ae803b6
Theme Switcher: Opening themes details modal shouldn't require two clicks on touch devices.
...
Inspired by [26838].
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31914 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 22:53:50 +00:00
Dominik Schilling (ocean90)
b64b88d03b
Customizer: Use responsive button styles if screen is max-width 640px.
...
see #31794 , #28784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31913 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 22:16:10 +00:00
Dominik Schilling (ocean90)
c5cd434a72
Theme Switcher: Don't hide action buttons on narrow screens.
...
see #31794 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31912 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 21:52:23 +00:00
Dominik Schilling (ocean90)
e054f53d9e
Customizer: Use proper preview URL for Live Preview links.
...
props mattwiebe.
fixes #31782 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31911 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 20:35:26 +00:00
Helen Hou-Sandi
ee4ba5c926
Admin menu: Revert [31720] for swipe open/closed.
...
This is problematic on any device that uses swipe for history navigation, particularly iOS. It's also quite unrefined from an interaction point of view and would not be material for this release either way.
see #31187 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31910 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 17:47:55 +00:00
Gary Pendergast
eced539d8b
Emoji: [31864] changed emoji image's inline style from height
to max-height
. Unfortunately, anything using feedparser.py
(for example, NewsBlur) strips out max-height
, which gives us massive emoji in feeds.
...
This re-adds `height`, and also reminds us why we can't have nice things.
See #31719 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31909 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-27 02:11:45 +00:00
Andrew Ozz
01faa39cfd
Fix focusing in the plugin and theme editors. Update the help.
...
Props afercia, Cheffheid. Fixes #31415 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31908 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 22:34:40 +00:00
Andrew Ozz
2c2951d2c0
Press This: remove role="application"
from the Categories list wrapper. This doesn't make it work better in screen readers.
...
See #31443 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31907 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 21:48:42 +00:00
Dominik Schilling (ocean90)
9e59690d03
Improve newly added strings for i18n:
...
* Add context to "Format" string.
* Use "Format" with context for "Post format".
see #31776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31906 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 21:18:25 +00:00
Dominik Schilling (ocean90)
4b3cc5c55e
Improve newly added strings for i18n:
...
* Use a placeholder for the theme name to be able to reorder words.
* Uppercase D for "Theme Details" to match existing strings.
* Merge two revision date formats.
* Add translator comment to strings with placeholders.
props obenland.
see #31776 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31905 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 20:55:34 +00:00
Dominik Schilling (ocean90)
dacd36bcaa
End "Update failed" with a full stop.
...
see #29820 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31904 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 19:08:08 +00:00
Drew Jaynes
e3107dac1f
Post-beta3 bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31903 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:36:39 +00:00
Drew Jaynes
e72c793502
WordPress 4.2-beta3
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31902 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:14:37 +00:00
Aaron Jorbin
e0537392c1
Remove Shiny Plugin Install strings
...
See #31773 , #29820
git-svn-id: https://develop.svn.wordpress.org/trunk@31901 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 18:02:05 +00:00
Aaron Jorbin
9ab336e309
More clean up from removal of Shiny Plugin Installs
...
See #31773 , #29820
Unprops Jorbin, Pento
git-svn-id: https://develop.svn.wordpress.org/trunk@31900 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 16:29:09 +00:00
Dominik Schilling (ocean90)
74874407e1
Remove <code>
tags from translatable strings.
...
Uncomment deprecation notice for `get_bloginfo( 'text_direction' )`, see [14360].
props ramiy, DrewAPicture.
fixes #30614 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31899 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 15:16:33 +00:00
Andrew Ozz
2c2a69c2a7
Fix initialization of wp-emoji in IE8.
...
Props pento, azaozz. Fixes #31701 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31898 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 02:39:46 +00:00
Aaron Jorbin
359ba47700
Remove Shiny Plugin Installs
...
See #31773 , #29820
git-svn-id: https://develop.svn.wordpress.org/trunk@31897 602fd350-edb4-49c9-b593-d223f7449a82
2015-03-26 02:29:52 +00:00