Andrew Ozz
c3d7fa68ce
Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling.
...
Props joedolson, adamsilverstein, afercia, DrewAPicture. Fixes #26600 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31994 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 02:31:11 +00:00
Andrew Ozz
04fbf4cd60
Accessibility improvements for Options general screen: add missing labels and aria attributes.
...
Props DrewAPicture, afercia. Fixes #31144 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31993 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 01:54:47 +00:00
Andrew Ozz
eacf52a68a
Press This:
...
- Show a spinner while saving a post.
- Do not redirect after saving a draft.
- Make the unidentified error message clearer.
Fixes #31875 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31992 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 01:33:30 +00:00
John Blackbourn
a0bd96bafb
Introduce a string representing bulk plugin update success, ready for string freeze. Not used yet.
...
See #31770 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31991 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-03 00:17:20 +00:00
Dion Hulse
248c73b1cf
Plugins Browser: Replace the download count with the number of Active installs of the plugin.
...
Fixes #31865
git-svn-id: https://develop.svn.wordpress.org/trunk@31990 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 23:48:26 +00:00
Aaron Jorbin
bd13a5ec12
Add beforeunload string for shiny updates.
...
See #31769 .
Props johnbillion, adamsilverstein, jorbin.
git-svn-id: https://develop.svn.wordpress.org/trunk@31989 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 22:35:48 +00:00
Drew Jaynes
3bf1329f40
Beta3 version bump.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@31988 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 21:42:49 +00:00
Andrew Ozz
4527b2cbb4
Press This: prevent pasting of HTML in the title H2. Insert the clipboard text instead.
...
Fixes #31768 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31987 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 21:10:28 +00:00
Sergey Biryukov
08e6f5306e
Remove unnecessary `echo()`, add translator comment.
...
props ramiy.
fixes #31873 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31986 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 19:00:08 +00:00
Dominik Schilling (ocean90)
2563a4f802
Customizer: Update selector, missed in [31984].
...
see #28784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31985 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 17:17:19 +00:00
Dominik Schilling (ocean90)
340cb573ae
Customizer: Improve the overlay close button for iOS.
...
see #28784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31984 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 17:15:08 +00:00
John Blackbourn
d92cc07d91
Correctly set the post author in `wp_xmlrpc_server::mw_editPost()` when the current user is not the author of the post.
...
Props redsweater, markoheijnen, DrewAPicture
Fixes #24916
git-svn-id: https://develop.svn.wordpress.org/trunk@31983 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 15:48:41 +00:00
Aaron Jorbin
dc502287ef
Update aria-label when doing a shiny plugin update
...
Also updates it again when the shiny plugin update is finished.
Also updates it if the shiny update fails
props mehulkaklotar, afercia
Fixes #31722
git-svn-id: https://develop.svn.wordpress.org/trunk@31982 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 05:30:13 +00:00
Jeremy Felt
111203b0f6
Check for an active blog before generating the `my-sites.php` URL.
...
If a super admin does not have an active blog assigned to their account, `$wp_admin_bar->user->active_blog` will be set as `null`. We can then fall back to `admin_url()` to generate the My Sites URL.
Props SergeyBiryukov, deconf.
Fixes #31755 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31981 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 05:26:22 +00:00
Sergey Biryukov
b8b33293e1
Press This: Use more accurate wording on Tools screen.
...
props kraftbj.
see #31836 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31980 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 01:29:41 +00:00
Sergey Biryukov
4738590d5e
Avoid duplicate classes for different terms with UTF-8 slugs in `post_class()` and `body_class()`.
...
Fall back to term ID if the sanitized slug is numeric or only contains hyphens.
props SergeyBiryukov, A5hleyRich, sgrant, davideugenepratt.
fixes #30883 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31979 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 01:04:22 +00:00
Gary Pendergast
b9537f9488
Unit Tests added in [31970] need to be restricted to run in Multisite only.
...
See #17904 , #26784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31978 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 00:12:07 +00:00
Gary Pendergast
01cbacb308
Emoji: [31938] forgot a `/` in the emoji CDN URL.
...
See #31651 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31977 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-02 00:10:36 +00:00
Dominik Schilling (ocean90)
f6e4d76e5b
Customizer Theme Switcher: Update JavaScript template after [31975].
...
see #31289 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31976 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 23:05:41 +00:00
Dominik Schilling (ocean90)
a05bbf7e7b
Customizer Theme Switcher: Navigation streamlining.
...
* Detach Themes section from other controls
* Move to buttons to navigate back and forth
* Change titles based on current theme status, active/previewing
* Hide the active/previewing theme from the list of available themes
props folletto for the design concepts.
props designsimply, celloexpressions for initial patches.
props Team Gandalf.
see #31289 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31975 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 22:50:10 +00:00
Dominik Schilling (ocean90)
d6a590e087
Customizer: Make the available widgets overlay closable on narrow screens.
...
see #28784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31974 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 22:24:21 +00:00
Helen Hou-Sandi
35df5592f1
Admin notices: Make (most) core notices dismissible.
...
These no longer return upon refreshing the page when JS is on and working, so users should be able to dismiss them. This is particularly important on the post edit screen when DFW is triggered, but pretty much all notices can be dismissed if needed. A post on Make/Core will follow with information on how this can be leveraged in plugins.
props valendesigns, afercia, paulwilde, adamsilverstein, helen.
fixes #31233 . see #23367 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31973 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 22:05:17 +00:00
Andrew Ozz
e5d660e597
TinyMCE: always focus the editor after using the floated toolbar.
...
Props iseulde. Fixes #30619 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31972 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 21:49:03 +00:00
Lance Willett
00fb680b7d
Twenty Eleven: add `postMessage` support for `header_textcolor` to improve the user experience in the Customizer.
...
Fixes #24128 , props kovshenin, jcastaneda, and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@31971 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 21:41:36 +00:00
Boone Gorges
4201382267
Unit tests for `wpmu_validate_user_signup()`.
...
See #17904 , #26784 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31970 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 21:37:34 +00:00
Aaron Jorbin
5b676b4f8e
Fix colors for activated and updated plugins
...
If we don't have the updated class on the TR for he update message, then the message is red and red is scary and they just updated, they should be happy and celebrating, not scared.
See #31608
git-svn-id: https://develop.svn.wordpress.org/trunk@31969 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 21:30:50 +00:00
Dominik Schilling (ocean90)
365ed7a6cb
Customizer Theme Switcher: Remove "Add New" references.
...
The current iteration takes you out of the customizer context, which isn't great UX and doesn't really fit into the flows targeted by this particular UI.
fixes #31837 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31968 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 19:49:41 +00:00
Boone Gorges
a143f7f03b
Avoid the use of `array_replace()` in `add_query_arg()`.
...
`array_replace()` was introduced PHP 5.3+. Instead, we walk the array manually.
See [31966].
Fixes #31306 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31967 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 19:39:24 +00:00
Scott Taylor
d1235e323e
Respect numerical keys in `add_query_arg()`, use `array_replace()` instead of `array_merge()`.
...
Adds unit test.
Props tyxla.
Fixes #31306 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31966 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 19:14:46 +00:00
Scott Taylor
bcf98c7742
Alter the regex in `wptexturize()` to properly handle input like: `<> "Hello world" <>`.
...
Updates unit test data.
Props miqrogroove.
Fixes #30344 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31965 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 19:08:31 +00:00
Sergey Biryukov
e4a9e49b6d
When shifting `WP_Rewrite::flush_rules()` to a later action if it was called too early, make sure to do a hard flush if requested.
...
props Denis-de-Bernardy, mordauk for initial patch.
fixes #30501 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31964 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 19:05:21 +00:00
Scott Taylor
2418711c47
When updating the email address for an existing user, make sure the email address is not already in use.
...
Adds unit tests.
Props rittesh.patel, DrewAPicture.
Fixes #30647 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31963 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 18:22:16 +00:00
Sergey Biryukov
f898c8bd3d
Merge title strings on Edit Site screens.
...
props ramiy.
fixes #31844 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31962 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 17:59:25 +00:00
Sergey Biryukov
02253bbcb6
Remove unused `printf()` on network setup screen.
...
props ramiy.
fixes #31841 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31961 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 17:00:49 +00:00
Scott Taylor
45dfe8815f
Remove the JS part of [31619].
...
Fixes #6820 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31960 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 16:33:32 +00:00
Scott Taylor
8f8c526a56
In `WP_Posts_List_Table::get_views()`, don't add the `current` class to the `all` status link if `->user_posts_count` has a value, which triggers the additional `mine` status.
...
See [31828].
Fixes #24869 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31959 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 16:17:01 +00:00
Scott Taylor
bbfabf7fb5
When editing an image from the editor, and the image has a value for alignment (but not for `width` or `caption`), don't bail without first checking that the alignment's value is not `alignnone`. If so, add the `class` to the `<a>` before bailing.
...
See #21848 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31958 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 16:03:36 +00:00
Helen Hou-Sandi
efb8f1d491
wpLink: Enable smooth scrolling on iOS devices.
...
fixes #31612 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31957 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 15:33:55 +00:00
Sergey Biryukov
3ecaee903e
Add translator comments for placeholders in network-related strings.
...
props ramiy.
fixes #31834 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31956 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 13:25:55 +00:00
Dominik Schilling (ocean90)
14dc44fb83
Accessibility: Add landmark roles to WordPress admin areas.
...
props afercia, joedolson.
fixes #31450 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31955 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 13:16:47 +00:00
Dominik Schilling (ocean90)
b194676876
Customizer Theme Switcher: Switch the details/live preview buttons.
...
props celloexpressions, ocean90.
fixes #31791 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31954 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 12:35:26 +00:00
Gary Pendergast
ed374ae10e
WPDB: Due to PHP 5.2's internal string handling, strings in Windows are encoded using UTF-16, instead of UTF-8. With the addition of the many character set tests in [30345], a couple of them were tripping up in PHP 5.2 under Windows, because of this behaviour.
...
This marks those tests as skipped.
See #31262 for more discussion.
git-svn-id: https://develop.svn.wordpress.org/trunk@31953 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 12:33:39 +00:00
Dominik Schilling (ocean90)
5f8c60d79d
Themes: Improve focus styling of add-new-theme link.
...
props celloexpressions, mrahmadawais.
fixes #31203 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31952 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 12:21:08 +00:00
Sergey Biryukov
8e9a5a7156
After [31941], use the decoupled strings from `WP_Customize_Manager::register_controls()` on the Menus screen.
...
see #28502 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31951 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 11:36:46 +00:00
Dominik Schilling (ocean90)
8f1a04d2fb
Customizer Theme Switcher: Fix invalid HTML markup when New Theme control is added.
...
see #31203 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31950 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 11:34:23 +00:00
Aaron Jorbin
9932d7973d
Refine UI for FTP modal and shiny updates
...
Numerous changes to make the FTP modal experience a good one. These include:
* Update HTML used by both the form here and the form on the standalone screen
* Allow users to cancel FTP install
* Focus locking in the modal
* Focus on modal form on load
* ARIA Attributes
* Style Enhancements
* Add low screen height (such as phone and some tablets) friendly experience for entering credentials
Props ericlewis, afercia
Fixes #31608
git-svn-id: https://develop.svn.wordpress.org/trunk@31949 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 02:47:55 +00:00
Andrew Ozz
235b83b4c0
Emoji:
...
- Enhance twemoji.js to support passing of additional attributes for the replacement images.
- Use that to add the needed attributes when replacing emoji inside the editor.
Fixes #31627 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31948 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 02:38:25 +00:00
Gary Pendergast
55792b59a8
WPDB: When we check the character set of a column, and find that it's `utf8mb4`, we should also check that the current connection supports `utf8mb4`. It's possible that the environment may have changed since upgrading the DB, so we can fall back to `utf8` when that happens.
...
Fixes #31771 .
git-svn-id: https://develop.svn.wordpress.org/trunk@31947 602fd350-edb4-49c9-b593-d223f7449a82
2015-04-01 02:21:15 +00:00
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