Aaron Jorbin
385b98d828
Use explicit variable variable syntax
...
PHP7 introduces a backwards compatable change to variable varibale syntax that requires us to use curly brackets to maintain the syntax between php5 and php7. For more info, see https://wiki.php.net/rfc/uniform_variable_syntax#semantic_differences_in_existing_syntax for the semantic differences.
Props ocean90
Fixes #31982
git-svn-id: https://develop.svn.wordpress.org/trunk@33427 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 18:03:58 +00:00
Ella Iseulde Van Dorpe
079d7eb56e
TinyMCE: views: use media setting to get post ID
...
Also fix dependency declarations and confusing variable names.
Props rhurling.
Fixes #33096 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33426 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 10:10:31 +00:00
Sergey Biryukov
16cc16da9e
Remove svn:executable
from test files.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33425 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 09:40:58 +00:00
Sergey Biryukov
4ed7d2d05e
Update Test_WP_Customize_Nav_Menus::test_available_items_template()
after [33413].
...
fixes #32715 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33424 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 09:14:06 +00:00
Sergey Biryukov
67f74ea9c1
Comment status box: Move focus back to Edit link when changing the date.
...
props afercia.
fixes #33062 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33422 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 02:25:43 +00:00
Sergey Biryukov
d279b43d2d
Customizer: Set a correct default for nav_menu_locations
setting.
...
props westonruter.
fixes #33088 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33421 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 02:00:14 +00:00
Sergey Biryukov
a3f2503ddc
Update help text after [33368].
...
fixes #33082 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33420 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 01:51:18 +00:00
Sergey Biryukov
7214dc6fb4
Remove unused pw-weak
ID attributes.
...
see #33077 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33419 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 00:57:21 +00:00
Ella Iseulde Van Dorpe
1a18cb3b00
Revert [31849] and [33351]
...
Also set the max-width of images in themes to 100%, not in pixels.
See #33022 and #31250 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33418 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-25 22:59:23 +00:00
Ella Iseulde Van Dorpe
eef42f591f
Editor: fit images
...
Fixes #31253 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33417 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-25 22:43:46 +00:00
Ella Iseulde Van Dorpe
b8bc5ed95d
TinyMCE: inline toolbar: reduce size arrow
...
The size of the arrow box was too big. It prevented the user from moving the cursor to a place right above the arrow.
See #32604 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33416 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-25 16:45:29 +00:00
Ella Iseulde Van Dorpe
4f9d20fe5a
Editor: add space around aligned images
...
Also increase the font size of captions.
Part props jmichaelward.
Fixes #32176 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33415 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-25 13:11:32 +00:00
Andrew Ozz
45e535b23d
TinyMCE: restore support for <script>
tags.
...
See #33083 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33414 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 22:03:25 +00:00
Dominik Schilling (ocean90)
cac1d55621
Customizer: Add missing text or labels to some nav menu UI controls.
...
props afercia, celloexpressions, westonruter.
fixes #32715 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33413 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 20:27:04 +00:00
Dominik Schilling (ocean90)
c412fd0398
Customizer: Hide inactive reorder buttons for menu items from assistive technologies.
...
props afercia.
fixes #33114 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33412 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 17:56:50 +00:00
Scott Taylor
f4f1b48213
Pinking shears.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33411 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 17:26:09 +00:00
Konstantin Obenland
2971d7d3ed
Menus: Account for browsers that set a default margin for buttons.
...
Fixes #32733 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33410 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 17:23:05 +00:00
Konstantin Obenland
a652f54b0f
Comments: Normalize button color on hover in alt color schemes.
...
Props iseulde.
Fixes #33086 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33409 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 17:10:11 +00:00
Konstantin Obenland
3b128efe27
Comments: Align author form label with its field labels below.
...
Props liljimmi.
Fixes #33069 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33408 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-24 16:50:34 +00:00
Drew Jaynes
31b4c0c6a5
Docs: Fix incorrect indentation for the wp_xmlrpc_server->wp_getPostFormats()
DocBlock.
...
Also adds a missing return description.
Props TomHarrigan.
Fixes #33078 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33407 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 13:18:07 +00:00
Dominik Schilling (ocean90)
91c3561350
Dashicons: Fix font ID in SVG file.
...
see #33084 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33394 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 10:02:54 +00:00
Drew Jaynes
eb7070c7f8
Docs: Correct the possible return types and corresponding descriptions for wp_get_post_terms()
.
...
Props adamkheckler for the initial patch.
Fixes #32950 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33393 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 07:44:49 +00:00
Weston Ruter
3ceb11bea4
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33392 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 06:01:30 +00:00
Gary Pendergast
2e74ecfc1c
Tests: Add a new test file missed in [33359].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33391 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 05:17:19 +00:00
Dion Hulse
f9ec35ddab
Switch to a more performant query in meta_form().
...
Props lumaraf, swissspidy, rarylson, pento
Fixes #24498
git-svn-id: https://develop.svn.wordpress.org/trunk@33390 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 05:16:04 +00:00
Mark Jaquith
e42e418450
Prevent 1Password from thinking the text "log in" should trigger a password save prompt
...
fixes #33091
git-svn-id: https://develop.svn.wordpress.org/trunk@33387 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 05:04:55 +00:00
Mark Jaquith
b77d19aa8b
Do not propagate empty passwords from the hidden form field.
...
fixes #32886
git-svn-id: https://develop.svn.wordpress.org/trunk@33384 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 04:59:04 +00:00
Mark Jaquith
63dc5e491f
Fix vertical alignment of the eye in the "hidden" dashicon to match "visibility".
...
fixes #33084
props empireoflight, liljimmi
git-svn-id: https://develop.svn.wordpress.org/trunk@33373 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-23 03:01:05 +00:00
Andrew Ozz
ae6460d730
TinyMCE, inline link toolbar: add a bit more specificity to the selectors in editor.css to fix overriding in IE < 10.
...
See #32604 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33372 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 23:04:10 +00:00
Konstantin Obenland
652abe51cc
4.3-beta4-33371
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33371 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 21:56:39 +00:00
Konstantin Obenland
b850d9d9f1
4.3-beta4
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33370 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 21:50:50 +00:00
Andrew Ozz
eee2fa493b
TinyMCE: update to 4.2.2. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt .
...
Fixes #33033 , #33042 . See #33083 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33369 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 21:11:44 +00:00
Mark Jaquith
bc7ad4b965
Improve the "sessions" section strings.
...
fixes #33082
props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@33368 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 20:49:55 +00:00
Mark Jaquith
1a8b292ab6
Move password and session items into "Account Management" profile section.
...
fixes #33080
props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@33367 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 20:44:30 +00:00
Weston Ruter
9e383a560a
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33366 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 20:28:03 +00:00
Mark Jaquith
2d85378c52
Soothe JSHint's rankled spirits
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33365 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 18:55:27 +00:00
Mark Jaquith
9ca3978a3e
Introduce a Cancel button and onUnload warning for password changes.
...
fixes #33079
props johnjamesjacoby
git-svn-id: https://develop.svn.wordpress.org/trunk@33364 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 18:35:51 +00:00
Mark Jaquith
fece657158
Fix up and normalize pw_weak/pw-weak IDs and labels.
...
props johnjamesjacoby
fixes #33077
git-svn-id: https://develop.svn.wordpress.org/trunk@33363 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 17:23:27 +00:00
Mark Jaquith
d1a1e77e40
Make password field toggling work in IE8, and clean up a bunch of password CSS issues.
...
fixes #32886
props peterwilsoncc, adamsilverstein
git-svn-id: https://develop.svn.wordpress.org/trunk@33362 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 16:55:17 +00:00
Gary Pendergast
7b41adf712
Shortcodes: Improve the reliablity of shortcodes inside HTML tags.
...
Props miqrogroove.
See #15694 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33359 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 05:14:50 +00:00
Gary Pendergast
7439dd7354
Capabilities: When creating an auto-draft, ensure that the current user still has permission to do so.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@33357 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 04:01:53 +00:00
Konstantin Obenland
2533d76203
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33356 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 02:29:57 +00:00
Jeremy Felt
7845150324
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33355 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 01:25:13 +00:00
Andrew Ozz
4e7b5dca5b
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33354 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 01:24:47 +00:00
Konstantin Obenland
2ab769b1b9
Passwords: Add password strength meter feedback for screen readers.
...
Also gives context to the show/hide button.
Props rianrietveld, afercia.
Fixes #33032 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33353 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-22 00:14:37 +00:00
Ella Iseulde Van Dorpe
7527a5c65e
Publish box: move focus when the animation is done
...
Also move the focus back to 'edit' when saving changes.
Props afercia.
Fixes #33060 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33352 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:45:48 +00:00
Andrew Ozz
fd0c1665f8
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33351 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:35:04 +00:00
Andrew Ozz
002406ec2c
TinyMCE, inline link toolbar: tweak styling on small screens to fix wrapping in iOS.
...
Fixes #32604 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33350 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:24:48 +00:00
Ella Iseulde Van Dorpe
6009504095
Publish box: focus first date field on edit
...
The order of the fields may change depending on the translation.
Props afercia.
Fixes #33059 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33349 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:22:31 +00:00
Ella Iseulde Van Dorpe
228465854e
Publish box: apply changes post.js to comment.js
...
See [22250], [27035], [24046], [33340] and [33341].
Fixes #33063 .
git-svn-id: https://develop.svn.wordpress.org/trunk@33348 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-21 22:08:38 +00:00