Sergey Biryukov
67618d5cc0
Merge similar strings for plugin update permissions.
...
props pavelevap.
fixes #32388 .
Built from https://develop.svn.wordpress.org/trunk@33432
git-svn-id: http://core.svn.wordpress.org/trunk@33399 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-26 23:01:25 +00:00
Sergey Biryukov
82034319e1
Merge duplicate strings related to Trash.
...
props pavelevap.
fixes #33133 .
Built from https://develop.svn.wordpress.org/trunk@33431
git-svn-id: http://core.svn.wordpress.org/trunk@33398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-26 22:48:26 +00:00
Sergey Biryukov
93baee020c
Comment status box: Move focus back to Edit link when changing the date.
...
props afercia.
fixes #33062 .
Built from https://develop.svn.wordpress.org/trunk@33422
git-svn-id: http://core.svn.wordpress.org/trunk@33390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-26 02:26:24 +00:00
Sergey Biryukov
a1fef4c4ef
Update help text after [33368].
...
fixes #33082 .
Built from https://develop.svn.wordpress.org/trunk@33420
git-svn-id: http://core.svn.wordpress.org/trunk@33388 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-26 01:52:25 +00:00
Sergey Biryukov
bd0f6a2132
Remove unused pw-weak
ID attributes.
...
see #33077 .
Built from https://develop.svn.wordpress.org/trunk@33419
git-svn-id: http://core.svn.wordpress.org/trunk@33387 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-26 00:58:24 +00:00
Dominik Schilling
de86d6b18d
Customizer: Add missing text or labels to some nav menu UI controls.
...
props afercia, celloexpressions, westonruter.
fixes #32715 .
Built from https://develop.svn.wordpress.org/trunk@33413
git-svn-id: http://core.svn.wordpress.org/trunk@33381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-24 20:28:25 +00:00
Dominik Schilling
edf256fa96
Customizer: Hide inactive reorder buttons for menu items from assistive technologies.
...
props afercia.
fixes #33114 .
Built from https://develop.svn.wordpress.org/trunk@33412
git-svn-id: http://core.svn.wordpress.org/trunk@33380 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-24 17:57:24 +00:00
Konstantin Obenland
458332302e
Menus: Account for browsers that set a default margin for buttons.
...
Fixes #32733 .
Built from https://develop.svn.wordpress.org/trunk@33410
git-svn-id: http://core.svn.wordpress.org/trunk@33378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-24 17:24:24 +00:00
Konstantin Obenland
d512633588
Comments: Normalize button color on hover in alt color schemes.
...
Props iseulde.
Fixes #33086 .
Built from https://develop.svn.wordpress.org/trunk@33409
git-svn-id: http://core.svn.wordpress.org/trunk@33377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-24 17:11:24 +00:00
Konstantin Obenland
7c5989379e
Comments: Align author form label with its field labels below.
...
Props liljimmi.
Fixes #33069 .
Built from https://develop.svn.wordpress.org/trunk@33408
git-svn-id: http://core.svn.wordpress.org/trunk@33376 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-24 16:51:27 +00:00
Weston Ruter
3a97d2a7de
Customizer: Update JS variable to reference renamed data attribute for available nav menu object.
...
Fixes regression for a change that was missed in [33366].
Props valendesigns.
Fixes #32708 .
Built from https://develop.svn.wordpress.org/trunk@33392
git-svn-id: http://core.svn.wordpress.org/trunk@33360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 06:02:24 +00:00
Dion Hulse
765714ac0b
Switch to a more performant query in meta_form().
...
Props lumaraf, swissspidy, rarylson, pento
Fixes #24498
Built from https://develop.svn.wordpress.org/trunk@33390
git-svn-id: http://core.svn.wordpress.org/trunk@33358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 05:17:25 +00:00
Mark Jaquith
d2893c5a5e
Prevent 1Password from thinking the text "log in" should trigger a password save prompt
...
fixes #33091
Built from https://develop.svn.wordpress.org/trunk@33387
git-svn-id: http://core.svn.wordpress.org/trunk@33355 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 05:05:25 +00:00
Mark Jaquith
9682eb0108
Do not propagate empty passwords from the hidden form field.
...
fixes #32886
Built from https://develop.svn.wordpress.org/trunk@33384
git-svn-id: http://core.svn.wordpress.org/trunk@33353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 05:00:25 +00:00
Mark Jaquith
7aa41d1e37
Improve the "sessions" section strings.
...
fixes #33082
props johnjamesjacoby
Built from https://develop.svn.wordpress.org/trunk@33368
git-svn-id: http://core.svn.wordpress.org/trunk@33340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 20:50:25 +00:00
Mark Jaquith
8ce90dada0
Move password and session items into "Account Management" profile section.
...
fixes #33080
props johnjamesjacoby
Built from https://develop.svn.wordpress.org/trunk@33367
git-svn-id: http://core.svn.wordpress.org/trunk@33339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 20:45:27 +00:00
Weston Ruter
d5ce83c94c
Customizer: Introduce customize_nav_menu_available_item_types
and customize_nav_menu_available_items
filters.
...
Allows for new available menu item types/objects to be registered in addition to filtering the available items that are returned for each menu item type/object.
Props valendesigns, imath, westonruter.
See #32832 .
Fixes #32708 .
Built from https://develop.svn.wordpress.org/trunk@33366
git-svn-id: http://core.svn.wordpress.org/trunk@33338 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 20:29:25 +00:00
Mark Jaquith
31ca0cd939
Soothe JSHint's rankled spirits
...
Built from https://develop.svn.wordpress.org/trunk@33365
git-svn-id: http://core.svn.wordpress.org/trunk@33337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 18:56:26 +00:00
Mark Jaquith
1ef40251b9
Introduce a Cancel button and onUnload warning for password changes.
...
fixes #33079
props johnjamesjacoby
Built from https://develop.svn.wordpress.org/trunk@33364
git-svn-id: http://core.svn.wordpress.org/trunk@33336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 18:36:24 +00:00
Mark Jaquith
f08f12f7cc
Fix up and normalize pw_weak/pw-weak IDs and labels.
...
props johnjamesjacoby
fixes #33077
Built from https://develop.svn.wordpress.org/trunk@33363
git-svn-id: http://core.svn.wordpress.org/trunk@33335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 17:24:24 +00:00
Mark Jaquith
ae03a8a0a2
Make password field toggling work in IE8, and clean up a bunch of password CSS issues.
...
fixes #32886
props peterwilsoncc, adamsilverstein
Built from https://develop.svn.wordpress.org/trunk@33362
git-svn-id: http://core.svn.wordpress.org/trunk@33334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 16:56:27 +00:00
Gary Pendergast
fe5a844be5
Capabilities: When creating an auto-draft, ensure that the current user still has permission to do so.
...
Built from https://develop.svn.wordpress.org/trunk@33357
git-svn-id: http://core.svn.wordpress.org/trunk@33329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 04:02:25 +00:00
Konstantin Obenland
0f61e187b6
Site Icon: Create custom sizes for images that don't need cropping.
...
This will duplicate an image that doesn't need cropping once and will skip
creating new images and custom sizes if the selected image has the `site-icon`
context.
Fixes #33011 .
Built from https://develop.svn.wordpress.org/trunk@33356
git-svn-id: http://core.svn.wordpress.org/trunk@33328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 02:30:25 +00:00
Jeremy Felt
a0e830d9af
Nav Menus: Add a Menus title with Manage in Customizer button to nav-menus.php
...
This aligns the `<h1>` on `wp-admin/nav-menus.php` with that of other admin screens and aligns the "Manage in Customizer" button with that on `wp-admin/widgets.php`.
Fixes #32808 .
Built from https://develop.svn.wordpress.org/trunk@33355
git-svn-id: http://core.svn.wordpress.org/trunk@33327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 01:26:25 +00:00
Andrew Ozz
e5340ea63f
Widgets screen: while dragging a widget over a closed sidebar refresh only the widgets in the current sidebar instead of all widgets in all sidebars.
...
Props chriscct7. Fixes #33015 .
Built from https://develop.svn.wordpress.org/trunk@33354
git-svn-id: http://core.svn.wordpress.org/trunk@33326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 01:25:26 +00:00
Konstantin Obenland
45bfab3aa8
Passwords: Add password strength meter feedback for screen readers.
...
Also gives context to the show/hide button.
Props rianrietveld, afercia.
Fixes #33032 .
Built from https://develop.svn.wordpress.org/trunk@33353
git-svn-id: http://core.svn.wordpress.org/trunk@33325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 00:15:25 +00:00
Ella Iseulde Van Dorpe
482f174f2e
Publish box: move focus when the animation is done
...
Also move the focus back to 'edit' when saving changes.
Props afercia.
Fixes #33060 .
Built from https://develop.svn.wordpress.org/trunk@33352
git-svn-id: http://core.svn.wordpress.org/trunk@33324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 22:46:24 +00:00
Ella Iseulde Van Dorpe
253d9db831
Publish box: focus first date field on edit
...
The order of the fields may change depending on the translation.
Props afercia.
Fixes #33059 .
Built from https://develop.svn.wordpress.org/trunk@33349
git-svn-id: http://core.svn.wordpress.org/trunk@33321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 22:23:24 +00:00
Ella Iseulde Van Dorpe
d827a71c7f
Publish box: apply changes post.js to comment.js
...
See [22250], [27035], [24046], [33340] and [33341].
Fixes #33063 .
Built from https://develop.svn.wordpress.org/trunk@33348
git-svn-id: http://core.svn.wordpress.org/trunk@33320 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 22:09:25 +00:00
Konstantin Obenland
146befe7bf
Customizer: Add label for menu names when editing a menu.
...
Props celloexpressions.
Fixes #32726 .
Built from https://develop.svn.wordpress.org/trunk@33346
git-svn-id: http://core.svn.wordpress.org/trunk@33318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 17:02:24 +00:00
Ella Iseulde Van Dorpe
50159974c9
Editor: word count: exclude HTML comments and entities
...
Also make sure `type` is one of the three allowed types and remove unnecessary regex flags.
See #30966 .
Built from https://develop.svn.wordpress.org/trunk@33344
git-svn-id: http://core.svn.wordpress.org/trunk@33316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 15:24:24 +00:00
Ella Iseulde Van Dorpe
52f6aebdaa
Publish box: fix leading zeros in date format
...
See #30716 .
Built from https://develop.svn.wordpress.org/trunk@33341
git-svn-id: http://core.svn.wordpress.org/trunk@33313 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 14:55:24 +00:00
Ella Iseulde Van Dorpe
262c1a7e54
Publish box: fix strange date format after change
...
Part props tyxla.
Fixes #30716 .
Built from https://develop.svn.wordpress.org/trunk@33340
git-svn-id: http://core.svn.wordpress.org/trunk@33312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 11:40:25 +00:00
Dominik Schilling
4dcfd3ec83
Customizer: Avoid duplicate IDs and remove role presentation from menu items reorder button. Follow-up to [33074].
...
props afercia.
fixes #32725 .
Built from https://develop.svn.wordpress.org/trunk@33339
git-svn-id: http://core.svn.wordpress.org/trunk@33311 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 11:37:26 +00:00
Ella Iseulde Van Dorpe
1d92ed1c79
JSHint: don't redeclare globals listed in .jshintrc
...
See #33021 .
Built from https://develop.svn.wordpress.org/trunk@33337
git-svn-id: http://core.svn.wordpress.org/trunk@33309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 23:39:24 +00:00
Konstantin Obenland
f1e604e6e2
Customize: Align screen options toggle with info icon.
...
Fixes #32733 .
Built from https://develop.svn.wordpress.org/trunk@33336
git-svn-id: http://core.svn.wordpress.org/trunk@33308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 21:21:25 +00:00
Konstantin Obenland
0ccb9c47cb
Site Icon: Center initial crop position.
...
Starting out at the center of the image makes for a better user experience.
Props iseulde.
Fixes #33050 .
Built from https://develop.svn.wordpress.org/trunk@33333
git-svn-id: http://core.svn.wordpress.org/trunk@33305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 19:02:24 +00:00
Konstantin Obenland
f535f2889b
Site Icon: Improve vertical spacing in preview.
...
Props eliorivero.
Fixes #33038 .
Built from https://develop.svn.wordpress.org/trunk@33332
git-svn-id: http://core.svn.wordpress.org/trunk@33304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 19:01:50 +00:00
Konstantin Obenland
7c75a6d00a
Passwords: Use small screen styles for all small screens.
...
H/t johnjamesjacoby.
Introduced in [33206].
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33331
git-svn-id: http://core.svn.wordpress.org/trunk@33303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 19:01:26 +00:00
Konstantin Obenland
3248497cf3
Site Icon: Add crop preview to the media modal.
...
* Monkey patches imgAreaSelect library to support touch events.
* Removes Settings version of Site Icon since it would have been the same flow.
* Removes default value for Customizer setting - there is no default favicon.
Fixes #16434 .
Built from https://develop.svn.wordpress.org/trunk@33329
git-svn-id: http://core.svn.wordpress.org/trunk@33301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 15:57:25 +00:00
Dion Hulse
412013a158
Allow HTML/entities in the Active Theme Name in the themes.php & Customizer templates.
...
Props iCaleb
Fixes #33036
Built from https://develop.svn.wordpress.org/trunk@33327
git-svn-id: http://core.svn.wordpress.org/trunk@33299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 01:46:24 +00:00
Scott Taylor
432f9891f7
Ensure that private posts cannot be made sticky via Quick Edit.
...
DRY the logic for stickies in `wp_xmlrpc_server` by introducing `->_toggle_sticky()`.
Props wonderboymusic, obenland, chriscct7.
Fixes #20662 .
Built from https://develop.svn.wordpress.org/trunk@33325
git-svn-id: http://core.svn.wordpress.org/trunk@33297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-19 18:09:25 +00:00
Andrew Nacin
2166b4a6c1
JSHint: Use 'global' rather than 'globals' for inline configuration.
...
Don't declare a global already listed in .jshintrc.
props johnjamesjacoby.
fixes #33021 .
Built from https://develop.svn.wordpress.org/trunk@33324
git-svn-id: http://core.svn.wordpress.org/trunk@33296 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-19 17:09:26 +00:00
Weston Ruter
910092531b
Customizer: Indicate when there are no nav menu items available for a given type.
...
Props celloexpressions, valendesigns, rittesh.patel.
Fixes #32810 .
Built from https://develop.svn.wordpress.org/trunk@33323
git-svn-id: http://core.svn.wordpress.org/trunk@33295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-19 00:06:24 +00:00
Ella Iseulde Van Dorpe
e9b6d25bcd
Editor: word count: count astrals as one character
...
This makes sure an emoji, for example, is counted as one character.
See #30966 .
Built from https://develop.svn.wordpress.org/trunk@33320
git-svn-id: http://core.svn.wordpress.org/trunk@33292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-18 11:42:25 +00:00
Ella Iseulde Van Dorpe
f00d1e63f1
Editor: word count: exclude shortcodes
...
Props desaiuditd, adamsilverstein, azaozz and iseulde.
Fixes #27386 . See #30966 .
Built from https://develop.svn.wordpress.org/trunk@33299
git-svn-id: http://core.svn.wordpress.org/trunk@33271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-16 21:09:26 +00:00
Ella Iseulde Van Dorpe
dac985cdc4
Editor: Add Media should be a button
...
Props afercia.
Fixes #32969 .
Built from https://develop.svn.wordpress.org/trunk@33298
git-svn-id: http://core.svn.wordpress.org/trunk@33270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-16 19:38:23 +00:00
Helen Hou-Sandí
e9f33a90b3
Customizer: Ensure consistent margins in sections.
...
Since the customizer dynamically changes, `nth-child` selectors are not always a great idea.
props afercia.
fixes #32902 .
Built from https://develop.svn.wordpress.org/trunk@33297
git-svn-id: http://core.svn.wordpress.org/trunk@33269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-16 19:15:27 +00:00
Ella Iseulde Van Dorpe
54b5b3c808
Editor: DFW: hide udate message
...
Props miqrogroove.
Fixes #32674 .
Built from https://develop.svn.wordpress.org/trunk@33293
git-svn-id: http://core.svn.wordpress.org/trunk@33265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-16 10:38:25 +00:00
Ella Iseulde Van Dorpe
e098c0e9ee
Editor: word count: exclude more characters
...
Also only exclude these characters for the `words` type. They should be counted for other types.
Add the ASCIIOnly option to the uglify config to preserve escaped unicode characters.
See #30966 . Fixes #27391 .
Built from https://develop.svn.wordpress.org/trunk@33292
git-svn-id: http://core.svn.wordpress.org/trunk@33264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-16 09:45:26 +00:00
Ella Iseulde Van Dorpe
bbccb9ca6b
Editor: word count: add all
type
...
This type will count all characters including spaces.
See #30966 .
Built from https://develop.svn.wordpress.org/trunk@33290
git-svn-id: http://core.svn.wordpress.org/trunk@33262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 23:48:24 +00:00
Ella Iseulde Van Dorpe
25a9a1873c
TinyMCE: fix visual regressions (2)
...
See #32801 .
Built from https://develop.svn.wordpress.org/trunk@33289
git-svn-id: http://core.svn.wordpress.org/trunk@33261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 23:35:24 +00:00
Ella Iseulde Van Dorpe
952564e84b
TinyMCE: fix visual regressions
...
See #32801 .
Built from https://develop.svn.wordpress.org/trunk@33285
git-svn-id: http://core.svn.wordpress.org/trunk@33257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 21:31:24 +00:00
Helen Hou-Sandí
59ad07be48
Toolbar: Ensure icons are colored correctly in alternate schemes.
...
props ryelle.
fixes #32931 . see #29906 .
Built from https://develop.svn.wordpress.org/trunk@33284
git-svn-id: http://core.svn.wordpress.org/trunk@33256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 20:14:25 +00:00
Weston Ruter
0f37c66077
Customizer: Defer updating nav menu item tabIndex
attributes until pane is reflowed.
...
Introduces `pane-contents-reflowed` Customizer event.
Props valendesigns, westonruter.
Fixes #32943 .
Built from https://develop.svn.wordpress.org/trunk@33283
git-svn-id: http://core.svn.wordpress.org/trunk@33255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 20:05:25 +00:00
Weston Ruter
8c9eb43d47
Customizer: Hide the transport list when it's empty, especially for screen readers.
...
Also prevent invalid markup for `.customize-section-description`.
Props valendesigns.
Fixes #32843 .
Built from https://develop.svn.wordpress.org/trunk@33282
git-svn-id: http://core.svn.wordpress.org/trunk@33254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 19:59:25 +00:00
Konstantin Obenland
2883bbbb68
Customize: Provide a default way to save cropped images.
...
Allows plugins and themes to use `WP_Customize_Cropped_Image_Control` without
having to define their own way of saving the cropped image.
Props celloexpressions for initial patch.
Fixes #29211 .
Built from https://develop.svn.wordpress.org/trunk@33280
git-svn-id: http://core.svn.wordpress.org/trunk@33252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 19:54:25 +00:00
Weston Ruter
4cb73cf347
Customizer: Fix element focus after menu item is deleted for keyboard accessibility.
...
Also restores box shadow on focus.
Props valendesigns.
Fixes #32740 .
Built from https://develop.svn.wordpress.org/trunk@33279
git-svn-id: http://core.svn.wordpress.org/trunk@33251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 18:44:25 +00:00
Konstantin Obenland
f75fe6980e
Update password meter to match new color guidelines.
...
See: https://make.wordpress.org/design/handbook/foundations/colors/
Props melchoyce.
Fixes #32986 .
Built from https://develop.svn.wordpress.org/trunk@33275
git-svn-id: http://core.svn.wordpress.org/trunk@33247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-15 00:12:24 +00:00
Scott Taylor
7c218ab59a
After [33148]:
...
Don't nest `esc_attr()` and `htmlspecialchars()` when escaping the post title on the edit post screen.
Unrevert parts of [32851] and [32850].
Adds/alters unit tests.
Props miqrogroove.
Fixes #17780 .
Built from https://develop.svn.wordpress.org/trunk@33271
git-svn-id: http://core.svn.wordpress.org/trunk@33243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:56:26 +00:00
Scott Taylor
4d34e37311
List Tables:
...
* In `->handle_row_actions()`, bail immediately if `$primary` and `$column_name` do not match. Saves us a nesting level and avoids declaring code that is unusable.
* In `WP_List_Table::single_row_columns()`, allow `_column_{$name}` to be called dynamically by core to avoid having to override the entirety of `->single_row_columns()` in `WP_MS_Users_List_Table` and `WP_Posts_List_Table`
* In `WP_MS_Sites_List_Table`, `id` is not a column.
Props wonderboymusic, paulwilde.
Fixes #29881 .
Built from https://develop.svn.wordpress.org/trunk@33270
git-svn-id: http://core.svn.wordpress.org/trunk@33242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:47:24 +00:00
Konstantin Obenland
4f94d3a969
Media: Don't indent action links if there is no media icon.
...
See #32254 .
Built from https://develop.svn.wordpress.org/trunk@33269
git-svn-id: http://core.svn.wordpress.org/trunk@33241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:46:24 +00:00
Konstantin Obenland
2a0ddf8523
Media: Reduce link noise between icons and titles in list view.
...
Props afercia.
Fixes #32254 .
Built from https://develop.svn.wordpress.org/trunk@33268
git-svn-id: http://core.svn.wordpress.org/trunk@33240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:24:26 +00:00
Helen Hou-Sandí
4182df24f8
List tables: Even more robust fallback for the primary column.
...
Since `WP_List_Table::get_default_primary_column()` can be overridden in a subclass and columns can be further filtered, it is possible to end up with a primary column that no longer exists. This is particularly evident in list tables for custom post types that have been altered via filter.
props ocean90.
fixes #32996 .
Built from https://develop.svn.wordpress.org/trunk@33266
git-svn-id: http://core.svn.wordpress.org/trunk@33238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 16:18:25 +00:00
Konstantin Obenland
88e669b6db
Use default parameter when getting the default avatar type.
...
Props johnjamesjacoby.
Fixes #32997 .
Built from https://develop.svn.wordpress.org/trunk@33264
git-svn-id: http://core.svn.wordpress.org/trunk@33236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 15:39:25 +00:00
Konstantin Obenland
542e01162f
Media: Remove post_type
variable, unused since [32676].
...
Fixes #32948 .
Built from https://develop.svn.wordpress.org/trunk@33263
git-svn-id: http://core.svn.wordpress.org/trunk@33235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 15:06:25 +00:00
Dion Hulse
43077a6ef8
Updates: When performing an ajax plugin update, rely upon wp_update_plugins()
to check the contents of the transient and return early if no request needs to be made.
...
This works around a bug where custom update handlers are injecting an update into an empty transient, malforming the transient and causing update failures.
Fixes #32198 for trunk
Built from https://develop.svn.wordpress.org/trunk@33257
git-svn-id: http://core.svn.wordpress.org/trunk@33229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 08:01:25 +00:00
Konstantin Obenland
62c6bd8849
Editor: Center-align Publish/Update spinner on small-screen devices.
...
Props tywayne for initial patch.
Fixes #32947 .
Built from https://develop.svn.wordpress.org/trunk@33252
git-svn-id: http://core.svn.wordpress.org/trunk@33224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 04:02:24 +00:00
Konstantin Obenland
f020fab7ef
Password: Improve display of password meter on login screen.
...
Fixes #32925 .
Built from https://develop.svn.wordpress.org/trunk@33251
git-svn-id: http://core.svn.wordpress.org/trunk@33223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 03:32:24 +00:00
Konstantin Obenland
e4305c7b28
Passwords: Make show/hide toggle translatable.
...
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33249
git-svn-id: http://core.svn.wordpress.org/trunk@33221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:35:24 +00:00
Konstantin Obenland
7e3f0cf45e
Passwords: New UI for install screen.
...
Also synchronises the use of `pw_weak` as an input name and removes trailing
periods from checkbox labels.
Props MikeHansenMe, adamsilverstein, obenland.
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33246
git-svn-id: http://core.svn.wordpress.org/trunk@33218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:22:24 +00:00
Drew Jaynes
e4ecc7e5c4
Fix summaries and add missing @global
descriptions to the upgrade_430_fix_comments()
and split_all_shared_terms()
functions added in 4.3.
...
See [33020], [32643]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33212
git-svn-id: http://core.svn.wordpress.org/trunk@33184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:56:24 +00:00
Drew Jaynes
f9194e361c
Add a description for the dynamic portion of the nav_menu_items_{$post_type_name}_recent
filter added in 4.3.
...
See [32833]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33211
git-svn-id: http://core.svn.wordpress.org/trunk@33183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:51:24 +00:00
Drew Jaynes
2d0721aab9
Fix the summary for the WP_Users_List_Table->get_default_primary_column_name()
method added in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33210
git-svn-id: http://core.svn.wordpress.org/trunk@33182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:48:25 +00:00
Drew Jaynes
0322d0e89b
Fix inline documentation syntax in the WP_Upgrader->clear_destination()
method added in 4.3.
...
See [32854]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33209
git-svn-id: http://core.svn.wordpress.org/trunk@33181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:46:25 +00:00
Konstantin Obenland
d932607416
Passwords: Add trailing periods in new strings.
...
Props akibjorklund.
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33208
git-svn-id: http://core.svn.wordpress.org/trunk@33180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:30:24 +00:00
Drew Jaynes
f9070e11b4
Fix summaries for two methods added to WP_Terms_List_Table
in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33207
git-svn-id: http://core.svn.wordpress.org/trunk@33179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:22:25 +00:00
Konstantin Obenland
281d2ed535
Passwords: Improve display of show/hide toggle for touch and small-screen devices.
...
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33206
git-svn-id: http://core.svn.wordpress.org/trunk@33178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:21:24 +00:00
Drew Jaynes
d1a3d2e6ea
Add missing summaries, @access
tags, and some parameter descriptions for methods added to WP_Links_List_Table
in 4.3.
...
See [32753]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33204
git-svn-id: http://core.svn.wordpress.org/trunk@33176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:03:24 +00:00
Konstantin Obenland
2829827c1c
Site Icon: Add Android-specific app icon.
...
Falling back to Apple app icons is deprecated behavior and will not work
forever. 192px is the recommended size for that icon.
Props kraftbj.
Fixes #32964 .
Built from https://develop.svn.wordpress.org/trunk@33202
git-svn-id: http://core.svn.wordpress.org/trunk@33174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:58:47 +00:00
Drew Jaynes
5ebb6855b6
Add missing summaries, @access
tags, and some parameter descriptions for methods added to WP_MS_Sites_List_Table
in 4.3.
...
See [32755]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33199
git-svn-id: http://core.svn.wordpress.org/trunk@33171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:53:24 +00:00
Drew Jaynes
88229587c0
Improving formatting for various pieces of inline documentation in the new WP_Site_Icon
class added in 4.3.
...
See [32994]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33198
git-svn-id: http://core.svn.wordpress.org/trunk@33170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:51:24 +00:00
Drew Jaynes
b2cc4de9b2
Add missing summaries, @access
tags, and some parameter descriptions to methods added to WP_Posts_List_Table
in 4.3.
...
See [32740]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33197
git-svn-id: http://core.svn.wordpress.org/trunk@33169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:49:25 +00:00
Drew Jaynes
9a2261d3bf
Fix the DocBlock summary for WP_Plugins_List_Table->get_primary_column_name()
, added in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33196
git-svn-id: http://core.svn.wordpress.org/trunk@33168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:46:26 +00:00
Drew Jaynes
3361f39479
Add missing summaries and parameter descriptions to new methods added to WP_MS_Users_List_Table
in 4.3.
...
See [32757]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33195
git-svn-id: http://core.svn.wordpress.org/trunk@33167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:43:25 +00:00
Jeremy Felt
1d95cf1886
Handle MS Sites bulk action verification separately from individual actions.
...
After [33173], bulk actions would not process due to broken verification of the `bulk-sites` action. This reintroduces the proper action and treats bulk actions differently than individual site actions.
See #32963 .
Built from https://develop.svn.wordpress.org/trunk@33194
git-svn-id: http://core.svn.wordpress.org/trunk@33166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:24:24 +00:00
Drew Jaynes
5961dbb65b
Add missing summaries to new methods added to WP_MS_Themes_List_Table
in 4.3.
...
See [32756]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33193
git-svn-id: http://core.svn.wordpress.org/trunk@33165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 16:13:26 +00:00
John Blackbourn
f3eba1581c
Place the locale inside the md5 hash in the dashboard RSS feed widget transient key to prevent the transient timeout option name becoming longer than the allowed field size.
...
Props andg
Fixes #32804
Built from https://develop.svn.wordpress.org/trunk@33192
git-svn-id: http://core.svn.wordpress.org/trunk@33164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 15:32:25 +00:00
John Blackbourn
396cc7b2e4
Correct a parameter name in the docs for wp_insert_category()
.
...
Built from https://develop.svn.wordpress.org/trunk@33190
git-svn-id: http://core.svn.wordpress.org/trunk@33162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 12:59:25 +00:00
Weston Ruter
ae50d09585
Customizer: Disambiguate a menu's auto-add pages option from preceding menu location checkboxes.
...
Creates a separate `nav_menu_auto_add` control type following the pattern of the `nav_menu_name` control type.
Props valendesigns.
Fixes #32820 .
Built from https://develop.svn.wordpress.org/trunk@33189
git-svn-id: http://core.svn.wordpress.org/trunk@33161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 08:40:26 +00:00
Jeremy Felt
a5f6dd3ea1
Network Admin: Improved header information in Edit Site tabs.
...
* Use the site's name rather than URL in the Edit Site header.
* Provide "Visit" and "Dashboard" links for the site on all tabs.
Props @Fab1en, @jeremyfelt.
Fixes #32525 .
Built from https://develop.svn.wordpress.org/trunk@33186
git-svn-id: http://core.svn.wordpress.org/trunk@33158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 00:27:24 +00:00
John Blackbourn
1f7a3bc58d
Append the current locale to dashboard RSS widget cache keys so they refresh accordingly when the locale is changed.
...
Fixes #32804
Props andg
Built from https://develop.svn.wordpress.org/trunk@33183
git-svn-id: http://core.svn.wordpress.org/trunk@33155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 22:07:25 +00:00
Konstantin Obenland
13ab10fff7
Site Icon: Improve a11y in Settings.
...
Props afercia.
Fixes #32970 .
Built from https://develop.svn.wordpress.org/trunk@33180
git-svn-id: http://core.svn.wordpress.org/trunk@33152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 19:43:24 +00:00
Drew Jaynes
967b04a7f8
Add missing summaries and @access
tags to methods added to WP_Media_List_Table
in 4.3.
...
See [32754]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33179
git-svn-id: http://core.svn.wordpress.org/trunk@33151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:34:24 +00:00
Drew Jaynes
d7c887fe5d
Fix the summaries for a few methods and hooks added to WP_List_Table
in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33178
git-svn-id: http://core.svn.wordpress.org/trunk@33150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:32:24 +00:00
Drew Jaynes
c333809c0e
Fix the summary and add a missing variable in the hook docs for the edit_comment_misc_actions
filter.
...
See [32929]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33177
git-svn-id: http://core.svn.wordpress.org/trunk@33149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:29:23 +00:00
Drew Jaynes
703d4c259c
Fix filter doc vernacular for the new wp_ajax_cropped_attachment_id
hook added in 4.3.
...
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33176
git-svn-id: http://core.svn.wordpress.org/trunk@33148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:26:24 +00:00
Dominik Schilling
cfa6e60bcb
Nav menus: Add an ID attribute to the menu select box to link it with the label.
...
see #31816 .
fixes #32699 .
Built from https://develop.svn.wordpress.org/trunk@33174
git-svn-id: http://core.svn.wordpress.org/trunk@33146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 12:08:24 +00:00
Jeremy Felt
9f0506e3b2
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 .
Built from https://develop.svn.wordpress.org/trunk@33173
git-svn-id: http://core.svn.wordpress.org/trunk@33145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 02:36:26 +00:00
Jeremy Felt
72e83d6aec
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 .
Built from https://develop.svn.wordpress.org/trunk@33172
git-svn-id: http://core.svn.wordpress.org/trunk@33144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 23:17:24 +00:00
Jeremy Felt
b8ffa8ecb9
Restrict textarea fields in network setup to a max width of 100%.
...
This avoids the content overrunning the screen on mobile devices.
See #32846 .
Built from https://develop.svn.wordpress.org/trunk@33171
git-svn-id: http://core.svn.wordpress.org/trunk@33143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 22:53:25 +00:00
Jeremy Felt
5a59c292e3
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 .
Built from https://develop.svn.wordpress.org/trunk@33169
git-svn-id: http://core.svn.wordpress.org/trunk@33141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 21:44:25 +00:00
Jeremy Felt
1cd06052ea
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 .
Built from https://develop.svn.wordpress.org/trunk@33168
git-svn-id: http://core.svn.wordpress.org/trunk@33140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 21:38:24 +00:00
Dominik Schilling
153511f78f
Password UI: The non-breaking space doesn't need to be translatable. Add some context to password strength strings.
...
see #32589 .
Built from https://develop.svn.wordpress.org/trunk@33166
git-svn-id: http://core.svn.wordpress.org/trunk@33138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 20:48:24 +00:00
Jeremy Felt
4f32f8e00e
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 .
Built from https://develop.svn.wordpress.org/trunk@33165
git-svn-id: http://core.svn.wordpress.org/trunk@33137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 20:07:25 +00:00
Jeremy Felt
8b31074880
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 .
Built from https://develop.svn.wordpress.org/trunk@33162
git-svn-id: http://core.svn.wordpress.org/trunk@33134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 19:28:25 +00:00
Konstantin Obenland
0a64d94562
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 .
Built from https://develop.svn.wordpress.org/trunk@33161
git-svn-id: http://core.svn.wordpress.org/trunk@33133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 06:11:24 +00:00
Jeremy Felt
0dbe4d6c95
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 .
Built from https://develop.svn.wordpress.org/trunk@33160
git-svn-id: http://core.svn.wordpress.org/trunk@33132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 02:35:24 +00:00
Andrew Ozz
b99d7d909c
Press This: make the font size in the Text editor similar to the Visual editor. Fix buttons padding.
...
Fixes #32706 .
Built from https://develop.svn.wordpress.org/trunk@33159
git-svn-id: http://core.svn.wordpress.org/trunk@33131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 22:37:24 +00:00
Dominik Schilling
0ca06cd643
Customizer: Force top margin to be zero for a new created nav menu to avoid extra spacing.
...
props valendesigns.
fixes #32662 .
Built from https://develop.svn.wordpress.org/trunk@33157
git-svn-id: http://core.svn.wordpress.org/trunk@33129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 22:18:24 +00:00
Andrew Ozz
9868325217
Press THis: do not change the split button box-shadow on hover.
...
Fixes #32757 .
Built from https://develop.svn.wordpress.org/trunk@33156
git-svn-id: http://core.svn.wordpress.org/trunk@33128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 22:10:25 +00:00
Helen Hou-Sandí
6e73f1282e
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 .
Built from https://develop.svn.wordpress.org/trunk@33155
git-svn-id: http://core.svn.wordpress.org/trunk@33127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 21:44:25 +00:00
Konstantin Obenland
f29e5044cd
Site Icon: Add Customizer UI.
...
Second part of the Site Icon feature after [32994] introduced it for Settings.
Props celloexpressions.
See #16434 .
Built from https://develop.svn.wordpress.org/trunk@33154
git-svn-id: http://core.svn.wordpress.org/trunk@33126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 21:33:24 +00:00
Dominik Schilling
75d6c10b01
Customizer: Use a <button>
for the collapse sidebar … button.
...
props afercia.
fixes #32819 .
Built from https://develop.svn.wordpress.org/trunk@33153
git-svn-id: http://core.svn.wordpress.org/trunk@33125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-10 21:22:26 +00:00
Dominik Schilling
f0db1e0bb7
Customizer: Replace the plus icon for #available-menu-items .item-add
with a thinner one, see [33126].
...
fixes #32734 .
Built from https://develop.svn.wordpress.org/trunk@33152
git-svn-id: http://core.svn.wordpress.org/trunk@33124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 22:09:25 +00:00
Dominik Schilling
bff15bf681
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 .
Built from https://develop.svn.wordpress.org/trunk@33151
git-svn-id: http://core.svn.wordpress.org/trunk@33123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 22:00:25 +00:00
Dominik Schilling
106b0675b9
Customizer: Use the new dashicon for the Preview/Customize toggle in narrow screens.
...
see #30902 , #28784 .
Built from https://develop.svn.wordpress.org/trunk@33150
git-svn-id: http://core.svn.wordpress.org/trunk@33122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 21:05:25 +00:00
Dominik Schilling
41a8b24a8f
List tables: Remove a black colored separator in Quick Edit for pages.
...
fixes #32842 .
Built from https://develop.svn.wordpress.org/trunk@33149
git-svn-id: http://core.svn.wordpress.org/trunk@33121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 20:57:24 +00:00
Helen Hou-Sandí
70a8c3e83d
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 .
Built from https://develop.svn.wordpress.org/trunk@33146
git-svn-id: http://core.svn.wordpress.org/trunk@33118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 19:12:25 +00:00
Jeremy Felt
8431399e2e
Fix missing period in missing site error.
...
Props @ocean90.
See #32934 .
Built from https://develop.svn.wordpress.org/trunk@33145
git-svn-id: http://core.svn.wordpress.org/trunk@33116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 16:33:25 +00:00
Jeremy Felt
eb26a74073
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 .
Built from https://develop.svn.wordpress.org/trunk@33144
git-svn-id: http://core.svn.wordpress.org/trunk@33115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 16:29:24 +00:00
Jeremy Felt
0bc0b0c917
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 .
Built from https://develop.svn.wordpress.org/trunk@33143
git-svn-id: http://core.svn.wordpress.org/trunk@33114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-09 16:16:25 +00:00
Dominik Schilling
73d57e6c86
Add/Edit User: Move weak password label to the checkbox.
...
props paulwilde.
fixes #32908 .
Built from https://develop.svn.wordpress.org/trunk@33137
git-svn-id: http://core.svn.wordpress.org/trunk@33108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 21:28:25 +00:00
Dominik Schilling
5fff9d1ef7
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 .
Built from https://develop.svn.wordpress.org/trunk@33136
git-svn-id: http://core.svn.wordpress.org/trunk@33107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 21:21:25 +00:00
Boone Gorges
e8c6340f67
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 .
Built from https://develop.svn.wordpress.org/trunk@33135
git-svn-id: http://core.svn.wordpress.org/trunk@33106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 21:02:24 +00:00
Dominik Schilling
28ecfd83c6
Updates: Select All should not be a column header.
...
See #31654 .
props tywayne.
fixes #32905 .
Built from https://develop.svn.wordpress.org/trunk@33133
git-svn-id: http://core.svn.wordpress.org/trunk@33104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 20:38:25 +00:00
Helen Hou-Sandí
54428b546e
Spinners: Ensure one appears in the lost connection notice.
...
fixes #32914 .
Built from https://develop.svn.wordpress.org/trunk@33132
git-svn-id: http://core.svn.wordpress.org/trunk@33103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 20:20:24 +00:00
Andrew Ozz
4cd790906f
TinyMCE, Press This: add the wptextpattern
plugin to the Press This editor.
...
See #31441 .
Built from https://develop.svn.wordpress.org/trunk@33128
git-svn-id: http://core.svn.wordpress.org/trunk@33099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 19:53:25 +00:00
Sergey Biryukov
1276096e3a
Menus: Restore visibility of up/down arrows for reordering menu items with JS disabled.
...
props afercia.
fixes #32916 .
Built from https://develop.svn.wordpress.org/trunk@33121
git-svn-id: http://core.svn.wordpress.org/trunk@33092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-08 06:48:24 +00:00
Helen Hou-Sandí
9c3bc85649
Ensure error messages look like, well, errors.
...
props obenland, rachelbaker.
fixes #32475 .
Built from https://develop.svn.wordpress.org/trunk@33117
git-svn-id: http://core.svn.wordpress.org/trunk@33088 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 23:11:24 +00:00
Scott Taylor
0deed4b842
In install_dashboard()
(plugin-install
, FWIW), make sure slug
is populated and degrease the unfortunate whitespace that was present.
...
Props tyxla.
Fixes #32889 .
Built from https://develop.svn.wordpress.org/trunk@33114
git-svn-id: http://core.svn.wordpress.org/trunk@33085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 19:19:24 +00:00
Konstantin Obenland
2cc8269741
Hide notices introduced in [30505] on about page.
...
See #19237 .
Props jadpm.
Fixes #32625 .
Built from https://develop.svn.wordpress.org/trunk@33113
git-svn-id: http://core.svn.wordpress.org/trunk@33084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 18:47:25 +00:00
Konstantin Obenland
52c2567424
Menus: Respect context when linking to the Customizer.
...
`Manage in Customizer` will now link to menu locations or the menus panel in
the customizer, depending on whether the user is editing menus or managing
locations.
Props rabmalin for initial patch.
Fixes #32852 .
Built from https://develop.svn.wordpress.org/trunk@33112
git-svn-id: http://core.svn.wordpress.org/trunk@33083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 17:49:24 +00:00
Konstantin Obenland
ee9cb55e1a
Respect the special case of having only one theme.
...
If there is only one theme, the Pointer won't show and the overlay is active by
default. In that case the overlay covered submenu flyouts, after [33068].
Without the Pointer active, there is no need to bump the `z-index`, so it can
remain at 10.
Fixes #31544 .
Built from https://develop.svn.wordpress.org/trunk@33111
git-svn-id: http://core.svn.wordpress.org/trunk@33082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 17:14:25 +00:00
Helen Hou-Sandí
acad0e2008
Better styling for .form-invalid
inputs.
...
props liljimmi.
fixes #32490 .
Built from https://develop.svn.wordpress.org/trunk@33109
git-svn-id: http://core.svn.wordpress.org/trunk@33080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 16:41:25 +00:00
Helen Hou-Sandí
e5c6186dd4
Menu customizer: Ensure item type doesn't collide with the handle focus glow.
...
props andg, metodiew.
fixes #32813 .
Built from https://develop.svn.wordpress.org/trunk@33107
git-svn-id: http://core.svn.wordpress.org/trunk@33078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 15:52:25 +00:00
Helen Hou-Sandí
0b046085ae
Show row actions on focus for the dashboard comment list.
...
see #25408 .
Built from https://develop.svn.wordpress.org/trunk@33106
git-svn-id: http://core.svn.wordpress.org/trunk@33077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 15:26:24 +00:00
Helen Hou-Sandí
958cde5134
List tables: Ensure special CSS for the title column gets applied.
...
This could have some side effects if a custom list table has a title column with a strong element inside that is not the post title, but that is fairly edge and we can address that if it comes up. Also moves the rules into `list-tables.css`.
see #25408 .
Built from https://develop.svn.wordpress.org/trunk@33105
git-svn-id: http://core.svn.wordpress.org/trunk@33076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 15:21:25 +00:00
Helen Hou-Sandí
81c2f541b0
List tables: Add a fallback for the primary column.
...
Without a primary column defined, nothing shows in the responsive view at all, which is bad.
props mordauk.
see #25408 .
Built from https://develop.svn.wordpress.org/trunk@33104
git-svn-id: http://core.svn.wordpress.org/trunk@33075 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 15:12:27 +00:00
Helen Hou-Sandí
df220685a0
List tables: Account for comments being reused on the post edit screen.
...
Adding the `.wp-list-table` class gets us a few responsive goodies for free. And now it won't show a strange button outline.
see #32395 .
Built from https://develop.svn.wordpress.org/trunk@33101
git-svn-id: http://core.svn.wordpress.org/trunk@33072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 00:09:24 +00:00
Jeremy Felt
c9027b00ba
Assign proper active class when showing plugin updates in network admin
...
Previously, a plugin would trigger an active class if it was active on the network's main site.
Fixes #32901 .
Built from https://develop.svn.wordpress.org/trunk@33100
git-svn-id: http://core.svn.wordpress.org/trunk@33071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-07 00:02:24 +00:00
Helen Hou-Sandí
2d6edf0fe8
List tables: Get rid of double borders for plugins and themes on narrow screens.
...
see #32395 .
Built from https://develop.svn.wordpress.org/trunk@33099
git-svn-id: http://core.svn.wordpress.org/trunk@33070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 23:49:24 +00:00
Helen Hou-Sandí
6fff730706
List tables: Ensure the no items message appears on narrow screens.
...
fixes #32900 . see #32395 .
Built from https://develop.svn.wordpress.org/trunk@33098
git-svn-id: http://core.svn.wordpress.org/trunk@33069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 23:30:24 +00:00
Jeremy Felt
3faebf40a6
Remove unused $current_site
global in MS Sites list table
...
Found itself unused after [32719].
See #32434 .
Built from https://develop.svn.wordpress.org/trunk@33097
git-svn-id: http://core.svn.wordpress.org/trunk@33068 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 22:51:25 +00:00
Konstantin Obenland
c9a29b0123
Check for all required caps before (un)sticking a post.
...
In cases where a user has the `edit_others_posts` capability but not
`publish_posts`, it was possible for that user to unstick a post after editing,
since the input field was never made available in that context.
Props ericmann, chriscct7.
Fixes #24153 .
Built from https://develop.svn.wordpress.org/trunk@33096
git-svn-id: http://core.svn.wordpress.org/trunk@33067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 22:41:25 +00:00
Weston Ruter
a62cc940ea
Customizer: Register controls and settings for nav_menu_locations
even when there are no menus yet.
...
This change ensures that the first menu created can be assigned to a location without first saving and reloading the Customizer.
Props markoheijnen.
Fixes #32858 .
Built from https://develop.svn.wordpress.org/trunk@33094
git-svn-id: http://core.svn.wordpress.org/trunk@33065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-06 19:13:25 +00:00
Andrew Ozz
b2e725eb27
Fix opening closed widget areas when dragging a widget over them.
...
Props polevaultweb. Fixes #13524 .
Built from https://develop.svn.wordpress.org/trunk@33088
git-svn-id: http://core.svn.wordpress.org/trunk@33059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-05 18:20:24 +00:00
Sergey Biryukov
c543f98ee6
Plugins list table: Add an aria-label
attribute with the plugin name to plugin action links to provide context for screen reader users.
...
props bramd, rianrietveld, afercia.
fixes #26167 .
Built from https://develop.svn.wordpress.org/trunk@33087
git-svn-id: http://core.svn.wordpress.org/trunk@33058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-05 15:03:25 +00:00
Konstantin Obenland
664b0373dc
Site Icon: Switch to using H1 headings.
...
See #31650 .
Props afercia.
Fixes #32885 .
Built from https://develop.svn.wordpress.org/trunk@33084
git-svn-id: http://core.svn.wordpress.org/trunk@33055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-04 18:49:27 +00:00
Jeremy Felt
67142f5a2f
Don't autocapitalize or autocorrect domain or path when adding a new site in iOS.
...
Props @ohryan.
Fixes #32646 .
Built from https://develop.svn.wordpress.org/trunk@33082
git-svn-id: http://core.svn.wordpress.org/trunk@33053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-04 04:40:25 +00:00