Commit Graph

30643 Commits

Author SHA1 Message Date
Dominik Schilling (ocean90)
9824007fc3 Nav menus: Add an ID attribute to the menu select box to link it with the label.
see #31816.
fixes #32699.

git-svn-id: https://develop.svn.wordpress.org/trunk@33174 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 12:07:15 +00:00
Jeremy Felt
ca0aa3f19a Add better handling for actions and messaging in MS Sites List Table row actions
* Simplify URLs used for row actions to remove messaging and site domain/path.
* Use confirmation messaging from a managed list of actions when handling the request.
* Find the site address from the site ID rather than using information passed in the URL.

Fixes #32963.


git-svn-id: https://develop.svn.wordpress.org/trunk@33173 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-12 02:35:11 +00:00
Jeremy Felt
02b67f6dcc Restrict search inputs in network dashboard's Right Now to max width of 100%.
This prevents the fields from bleeding outside of the widget area on smaller mobile devices.

See #32846.


git-svn-id: https://develop.svn.wordpress.org/trunk@33172 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 23:16:55 +00:00
Jeremy Felt
a9da66e853 Restrict textarea fields in network setup to a max width of 100%.
This avoids the content overrunning the screen on mobile devices.

See #32846.


git-svn-id: https://develop.svn.wordpress.org/trunk@33171 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 22:52:01 +00:00
Andrew Ozz
b780b94487 TinyMCE, shortcuts help popup: do not use translatable strings for the keys.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33170 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 22:36:58 +00:00
Jeremy Felt
9a61e7bc6c s/nestwork/network/ for network dashboard Right Now styles.
Fix misspelled ID from [33168]. A reminder to watch your cmd-s when saving a file.

See #32962.


git-svn-id: https://develop.svn.wordpress.org/trunk@33169 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 21:43:30 +00:00
Jeremy Felt
b29c597a98 Improve formatting of network dashboard's Right Now actions on 320px screens.
Prevents default `.subsubsub` change to center alignment and a large font that is applied at 782px.

Fixes #32962.


git-svn-id: https://develop.svn.wordpress.org/trunk@33168 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 21:37:57 +00:00
Dominik Schilling (ocean90)
8b757743c4 Customizer: Remove unused string.
see #32576.

git-svn-id: https://develop.svn.wordpress.org/trunk@33167 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 20:52:04 +00:00
Dominik Schilling (ocean90)
e5cc94a45e Password UI: The non-breaking space doesn't need to be translatable. Add some context to password strength strings.
see #32589.

git-svn-id: https://develop.svn.wordpress.org/trunk@33166 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 20:47:57 +00:00
Jeremy Felt
7a238fe2d6 Improve styling of .themes-php header on mobile devices.
The Themes page title does not need to be forced to 100% width on smaller devices. This fixes width issues for network admin, site admin, and single site admin theme pages.

See #32846.


git-svn-id: https://develop.svn.wordpress.org/trunk@33165 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 20:06:25 +00:00
Dominik Schilling (ocean90)
c9b863c636 Customizer: Merge two strings.
see #32576.

git-svn-id: https://develop.svn.wordpress.org/trunk@33164 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 20:04:53 +00:00
Dominik Schilling (ocean90)
74c38e0e94 Customizer: Replace non-visible error messages for nav menus with error codes.
see #32576.

git-svn-id: https://develop.svn.wordpress.org/trunk@33163 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 19:59:25 +00:00
Jeremy Felt
9ae86a2080 Improve styling of #adduser text inputs on mobile devices.
In [26134], `#createuser` inputs were made responsive, but `#adduser` was a straggler. This assigns the proper mobile style to the add user inputs and moves the initial declaration alongside create user for future maintenance ease.

See #32846.


git-svn-id: https://develop.svn.wordpress.org/trunk@33162 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 19:27:50 +00:00
Konstantin Obenland
528d30b9a8 Nav menus: Restore menu id in hidden input.
`wp-admin/js/nav-menu.js` uses the value as context for quick searches and when
adding menu items.

Reverts [32695], see #31816.
Fixes #32699.



git-svn-id: https://develop.svn.wordpress.org/trunk@33161 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 06:10:42 +00:00
Jeremy Felt
79b7fec957 Set autocapitalize to none, autocorrect to off for new username inputs on iOS.
This corrects both the standard wp-admin new user form and the network new user form.

Props @brad2dabone, @sunnnyratilal.
Fixes #32644.


git-svn-id: https://develop.svn.wordpress.org/trunk@33160 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-11 02:34:47 +00:00
Andrew Ozz
daf944fa25 Press This: make the font size in the Text editor similar to the Visual editor. Fix buttons padding.
Fixes #32706.

git-svn-id: https://develop.svn.wordpress.org/trunk@33159 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 22:36:39 +00:00
Konstantin Obenland
4f606c1bb3 Better context for autofocused elements for screen readers.
Props joedolson for initial patch.
Fixes #30706.



git-svn-id: https://develop.svn.wordpress.org/trunk@33158 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 22:22:32 +00:00
Dominik Schilling (ocean90)
d53063731f Customizer: Force top margin to be zero for a new created nav menu to avoid extra spacing.
props valendesigns.
fixes #32662.

git-svn-id: https://develop.svn.wordpress.org/trunk@33157 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 22:17:26 +00:00
Andrew Ozz
c215d8ad37 Press THis: do not change the split button box-shadow on hover.
Fixes #32757.

git-svn-id: https://develop.svn.wordpress.org/trunk@33156 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 22:09:33 +00:00
Helen Hou-Sandi
3e0f839eca List tables: Better accessibility and design for the comments bubble.
It is now plain text in the comments list table's "In Response To" column, where it was visually a bit confusing to have the bubble. For other list tables, it now shows a little notification bubble with the number of pending comments. The bubble and notification become plain text in the responsive list table view. It also shows no bubble when there are no comments at all, reducing some of the visual noise.

props picard102, afercia, karinchristen.
fixes #32152.


git-svn-id: https://develop.svn.wordpress.org/trunk@33155 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 21:43:32 +00:00
Konstantin Obenland
68cd0bc870 Site Icon: Add Customizer UI.
Second part of the Site Icon feature after [32994] introduced it for Settings.

Props celloexpressions.
See #16434.



git-svn-id: https://develop.svn.wordpress.org/trunk@33154 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 21:32:23 +00:00
Dominik Schilling (ocean90)
0730240b9a Customizer: Use a <button> for the collapse sidebar … button.
props afercia.
fixes #32819.

git-svn-id: https://develop.svn.wordpress.org/trunk@33153 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-10 21:21:07 +00:00
Dominik Schilling (ocean90)
0d63add172 Customizer: Replace the plus icon for #available-menu-items .item-add with a thinner one, see [33126].
fixes #32734.

git-svn-id: https://develop.svn.wordpress.org/trunk@33152 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 22:08:44 +00:00
Dominik Schilling (ocean90)
e0e83f8608 Customizer: Improve markup for available menu items.
* Use lists for available menu items.
* Remove unused template for available item types.
* Hide the type label and title from screen readers and instead include them in the add button.

props celloexpressions, afercia.
fixes #32724.

git-svn-id: https://develop.svn.wordpress.org/trunk@33151 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 21:59:47 +00:00
Dominik Schilling (ocean90)
cf6504c787 Customizer: Use the new dashicon for the Preview/Customize toggle in narrow screens.
see #30902, #28784.

git-svn-id: https://develop.svn.wordpress.org/trunk@33150 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 21:04:36 +00:00
Dominik Schilling (ocean90)
32ed996622 List tables: Remove a black colored separator in Quick Edit for pages.
fixes #32842.

git-svn-id: https://develop.svn.wordpress.org/trunk@33149 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 20:56:30 +00:00
Scott Taylor
a9874b9416 Revert [32851] and [32850] for now, tl;dr encoding issues.
See #17780.



git-svn-id: https://develop.svn.wordpress.org/trunk@33148 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 20:55:26 +00:00
Helen Hou-Sandi
29e0f5c3b7 Toolbar: Don't show the customize link in the admin.
props afragen.
fixes #32945.


git-svn-id: https://develop.svn.wordpress.org/trunk@33147 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 19:18:39 +00:00
Helen Hou-Sandi
17a5f9f494 List tables: Better focus styling for the row toggle.
This circular focus styling could probably be expanded to other areas of the admin.

props hugobaeta.
see #32395.


git-svn-id: https://develop.svn.wordpress.org/trunk@33146 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 19:11:19 +00:00
Jeremy Felt
035ae948d5 Fix missing period in missing site error.
Props @ocean90.
See #32934.


git-svn-id: https://develop.svn.wordpress.org/trunk@33145 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 16:32:26 +00:00
Jeremy Felt
8b9b56f59f Avoid PHP notice when attempting to edit a site that does not exist.
Show a more explicit error - "The requested site does not exist."

Fixes #32934.


git-svn-id: https://develop.svn.wordpress.org/trunk@33144 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 16:28:42 +00:00
Jeremy Felt
bb7f147703 Do not allow deletion of a super admin user through wpmu_delete_user().
In step with the UI provided by `wp-admin/network/users.php`, super admin privileges must be removed before a user can be deleted through the API.

Props @johnjamesjacoby, @jeremyfelt.
Fixes #32935.


git-svn-id: https://develop.svn.wordpress.org/trunk@33143 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 16:15:30 +00:00
Dominik Schilling (ocean90)
b9ef1b8533 Remove debug cruft from [33124].
see #28909.

git-svn-id: https://develop.svn.wordpress.org/trunk@33142 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 07:55:44 +00:00
Andrew Ozz
128557239f TinyMCE: when deleting an image, ensure the wrapping link (if any) is deleted too. Fixes the erroneous showing of the link toolbar after deleting an image. Also small readability fix.
See #32604. 

git-svn-id: https://develop.svn.wordpress.org/trunk@33141 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-09 00:24:34 +00:00
Konstantin Obenland
3e5e085bb0 4.3-beta2-33140
git-svn-id: https://develop.svn.wordpress.org/trunk@33140 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 22:05:19 +00:00
Konstantin Obenland
6ce24e8d5d 4.3-beta2
git-svn-id: https://develop.svn.wordpress.org/trunk@33139 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:38:57 +00:00
Weston Ruter
2a8973f117 Customizer: Remove additional wrapper element around wp_nav_menu() which broke some theme designs.
Also includes these related changes:
* Export `oldContainer` and `newContainer` among the `customize-preview-menu-refreshed` event params for themes to be able to more easily re-initialize the DOM elements.
* Improve performance for partial refresh by only sending settings related to the menu being previewed.
* Fix previewing of menu assigned to Custom Menu by exporting a menu `term_id` as opposed to an object, as the former is more stable for comparing in in args hashes.
* Do full refresh of preview when nav menu unassigned so that the layout can be updated.
* Harden conditions for when partial refresh is eligible for a `wp_nav_menu()` instance.

Fixes #32841.


git-svn-id: https://develop.svn.wordpress.org/trunk@33138 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:29:53 +00:00
Dominik Schilling (ocean90)
55de610283 Add/Edit User: Move weak password label to the checkbox.
props paulwilde.
fixes #32908.

git-svn-id: https://develop.svn.wordpress.org/trunk@33137 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:27:25 +00:00
Dominik Schilling (ocean90)
790b60ffb2 Customizer: Use visibility to hide available widgets and menu items panels from screen readers and to move them out of tab order.
props afercia.
fixes #32883.

git-svn-id: https://develop.svn.wordpress.org/trunk@33136 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:20:54 +00:00
Boone Gorges
002dd563e0 Improvements to responsive styling on my-sites.php.
* Ensure that floated elements break to a new line at the end of a row.
* Allow enough vertical space for long site titles.
* Give more breathing room to cells at narrow widths.

Fixes #31685.

git-svn-id: https://develop.svn.wordpress.org/trunk@33135 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 21:01:40 +00:00
Weston Ruter
ccbd855021 Customizer: Defer listening to nav menu setting changes until active.
Defer the preview starting to listen to setting changes until after the Customizer has synced settings into the preview. This ensures that any differences between the JS and PHP representations of the settings won't cause an infinite refresh.

See #32911.
Fixes #32894.


git-svn-id: https://develop.svn.wordpress.org/trunk@33134 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 20:41:18 +00:00
Dominik Schilling (ocean90)
55ffb38e28 Updates: Select All should not be a column header.
See #31654.

props tywayne.
fixes #32905.

git-svn-id: https://develop.svn.wordpress.org/trunk@33133 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 20:37:33 +00:00
Helen Hou-Sandi
013e8d2263 Spinners: Ensure one appears in the lost connection notice.
fixes #32914.


git-svn-id: https://develop.svn.wordpress.org/trunk@33132 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 20:19:44 +00:00
Weston Ruter
3c0e4d3860 Customizer: Prevent loss of walker and fallback_cb args for wp_nav_menu.
These args only need to be cleared out when exported to JavaScript, when they are not JSON-serializable. So the filter now clears these when gathering args for exporting to JS, but otherwise now leaves the original values to be passed through to `wp_nav_menu()`.

Fixes #32781.


git-svn-id: https://develop.svn.wordpress.org/trunk@33131 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 20:17:52 +00:00
Helen Hou-Sandi
f5043ab022 Toolbar: Disambiguate links to the dashboard vs. to the customizer.
All links in the site name menu now point to admin screens, and Customize is its own top-level link. This makes it clear which context you are about to enter.

fixes #32924. see #32678.


git-svn-id: https://develop.svn.wordpress.org/trunk@33130 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 20:02:44 +00:00
Aaron Jorbin
f86fd644e1 Remove grunt-autoprefixer in favor of grunt-postcss with autoprefixer
grunt-autoprefixer was deprecated - e020f878d5
None of the autoprefixer tasks should have been called directly, so they are now removed.  `grunt precommit` and `grunt build` still work exactly as they should.  This change doesn't affect the output of our builds.

An NPM install is required after you have updated after this change.

See #31700
Props netweb



git-svn-id: https://develop.svn.wordpress.org/trunk@33129 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 19:53:22 +00:00
Andrew Ozz
6cfda41066 TinyMCE, Press This: add the wptextpattern plugin to the Press This editor.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33128 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 19:52:07 +00:00
Andrew Ozz
093a19b6d9 TinyMCE: add help for the text patterns to the shortcuts help popup.
See #31441.

git-svn-id: https://develop.svn.wordpress.org/trunk@33127 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 19:42:59 +00:00
Dominik Schilling (ocean90)
f54070a08e Dashicons: Update to the latest files.
Revert the updates to .dashicons-plus (f132) in [33108] and instead introduce a new icon, .dashicons-plus-alt2 (f543).

props liljimmi, melchoyce, empireoflight.
see #30902.

git-svn-id: https://develop.svn.wordpress.org/trunk@33126 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 19:37:04 +00:00
John Blackbourn
389fb33d76 Skip the Tests_Option_Transient::test_nonexistent_key_old_timeout() tests on multisite for now.
See #31130
Fixes #30380


git-svn-id: https://develop.svn.wordpress.org/trunk@33125 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-08 18:23:46 +00:00