Gary Pendergast
8d4a693b13
Tests: Add a new test file missed in [33359].
...
Built from https://develop.svn.wordpress.org/trunk@33391
git-svn-id: http://core.svn.wordpress.org/trunk@33359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 05:18:25 +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
8d72575b00
Fix vertical alignment of the eye in the "hidden" dashicon to match "visibility".
...
fixes #33084
props empireoflight, liljimmi
Built from https://develop.svn.wordpress.org/trunk@33373
git-svn-id: http://core.svn.wordpress.org/trunk@33345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-23 03:02:24 +00:00
Andrew Ozz
333957fcbd
TinyMCE, inline link toolbar: add a bit more specificity to the selectors in editor.css to fix overriding in IE < 10.
...
See #32604 .
Built from https://develop.svn.wordpress.org/trunk@33372
git-svn-id: http://core.svn.wordpress.org/trunk@33344 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 23:05:25 +00:00
Konstantin Obenland
a3f7fdffff
4.3-beta4-33371
...
Built from https://develop.svn.wordpress.org/trunk@33371
git-svn-id: http://core.svn.wordpress.org/trunk@33343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 21:57:25 +00:00
Konstantin Obenland
514124b70c
4.3-beta4
...
Built from https://develop.svn.wordpress.org/trunk@33370
git-svn-id: http://core.svn.wordpress.org/trunk@33342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 21:51:25 +00:00
Andrew Ozz
92395fdd8d
TinyMCE: update to 4.2.2. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt .
...
Fixes #33033 , #33042 . See #33083 .
Built from https://develop.svn.wordpress.org/trunk@33369
git-svn-id: http://core.svn.wordpress.org/trunk@33341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 21:12:24 +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
c3e0ed7e03
Shortcodes: Improve the reliablity of shortcodes inside HTML tags.
...
Props miqrogroove.
See #15694 .
Built from https://develop.svn.wordpress.org/trunk@33359
git-svn-id: http://core.svn.wordpress.org/trunk@33331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-22 05:15:25 +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
Andrew Ozz
d8980f96da
TinyMCE: add min-width to the placeholder images for the more and nextpage tags to fix them in themes that force width = auto.
...
Fixes #33022 .
Built from https://develop.svn.wordpress.org/trunk@33351
git-svn-id: http://core.svn.wordpress.org/trunk@33323 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 22:36:24 +00:00
Andrew Ozz
8a090123ce
TinyMCE, inline link toolbar: tweak styling on small screens to fix wrapping in iOS.
...
Fixes #32604 .
Built from https://develop.svn.wordpress.org/trunk@33350
git-svn-id: http://core.svn.wordpress.org/trunk@33322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 22:25: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
Scott Taylor
23712a822f
Customizer: Nav Menus JS cleanup, second round
...
* Follow the same pattern of namespace instantiation that `WidgetCustomizerPreview` uses
* Remove use of `self` for global delegation
* Use `api` for `wp.customize` and import only top-level globals
* Bind `this` where appropriate and disambiguate scope
See #32911 .
Built from https://develop.svn.wordpress.org/trunk@33347
git-svn-id: http://core.svn.wordpress.org/trunk@33319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 17:40: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
Scott Taylor
4e8fc7b69c
Customizer: Nav Menus JS cleanup, first round
...
* In `init`, settings should be fresh and set to default values before extending
* When looping via `_.each`, pass `this` as 3rd arg to bind context
* Settings should be encapsulated in the module, instead of being exposed as static class props
* `currentRefreshMenuInstanceDebouncedCalls` should be encapsulated and renamed, instead of being the longest symbol in the entire codebase
See #32911 .
Built from https://develop.svn.wordpress.org/trunk@33345
git-svn-id: http://core.svn.wordpress.org/trunk@33317 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 16:14: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
Scott Taylor
bf481ed496
After [33325], add a doc summary.
...
Fixes #20662 .
Built from https://develop.svn.wordpress.org/trunk@33343
git-svn-id: http://core.svn.wordpress.org/trunk@33315 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 15:18:25 +00:00
Scott Taylor
d349e9c290
Revert [32466], I will pick this up in 4.4.
...
See #32466 .
Built from https://develop.svn.wordpress.org/trunk@33342
git-svn-id: http://core.svn.wordpress.org/trunk@33314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-21 15:10:27 +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
1ab119798c
TinyMCE: views: make sure gallery captions update
...
Part props dmsnell.
Fixes #32779 .
Built from https://develop.svn.wordpress.org/trunk@33338
git-svn-id: http://core.svn.wordpress.org/trunk@33310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 23:56:25 +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
8dad70c190
Tests: Remove test for `delete_site_icon()`.
...
Removed in [33329].
H/t wonderboymusic.
See #16434 .
Built from https://develop.svn.wordpress.org/trunk@33335
git-svn-id: http://core.svn.wordpress.org/trunk@33307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 20:53:24 +00:00
Konstantin Obenland
f9c88fcb5c
Toolbar: Restore scroll-to-top functionality.
...
H/t Ipstenu.
Introduced in [33056].
See #29906 .
Built from https://develop.svn.wordpress.org/trunk@33334
git-svn-id: http://core.svn.wordpress.org/trunk@33306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 20:02:24 +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
7725d25cb7
Use WP's version number after monkey-patch in [33329].
...
Built from https://develop.svn.wordpress.org/trunk@33330
git-svn-id: http://core.svn.wordpress.org/trunk@33302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 17:27:24 +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
Weston Ruter
8041554b30
Customizer: Fix previewing certain changes to nav menus.
...
Addresses regression introduced in [33138], where deleted menu items would not be removed from the preview, and changes to a location's assigned menu would likewise not preview. Also makes the binding of the setting change events more robust.
Fixes #33010 .
Built from https://develop.svn.wordpress.org/trunk@33328
git-svn-id: http://core.svn.wordpress.org/trunk@33300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-20 07:44:26 +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