Commit Graph

30671 Commits

Author SHA1 Message Date
Aaron Jorbin
b5f505d3dd Add Initial JS Unit Tests for Menu Customizer
While these two tests will help ensure we don't repeat our mistakes, they mostly help lay the foundation for more tests that still need to be written.

See #32688
Props adamsilverstein, jorbin



git-svn-id: https://develop.svn.wordpress.org/trunk@33451 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 22:07:27 +00:00
Scott Taylor
68ff8b1a80 Passwords UI: clean up the new JS in wp-admin/js/user-profile.js.
Instead of wrapping `#pass1` in a `<span>` dynamically, add the `<span>` to the HTML in PHP. It currently has no styling.

Fixes #33145.


git-svn-id: https://develop.svn.wordpress.org/trunk@33450 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 21:24:36 +00:00
Dominik Schilling (ocean90)
99cd8b540b Bundled Themes: Bump version numbers and update POT files.
see #32978.

git-svn-id: https://develop.svn.wordpress.org/trunk@33449 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 19:49:14 +00:00
Dominik Schilling (ocean90)
4e00e36e0f i18n tools: Use https for msgid-bugs-address URLs.
git-svn-id: https://develop.svn.wordpress.org/trunk@33448 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 19:37:13 +00:00
Mark Jaquith
3f2b0779f5 Don't blindly trust the output of glob() to be an array.
props kitchin
fixes #33093

git-svn-id: https://develop.svn.wordpress.org/trunk@33447 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 18:04:19 +00:00
Konstantin Obenland
cd4811bf66 Site Icon: Minor cleanup for WP_Site_Icon after [33329].
git-svn-id: https://develop.svn.wordpress.org/trunk@33446 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 16:08:47 +00:00
Konstantin Obenland
6bca6cb0b2 Customizer: Use correct spelling when instantiating CustomizeImageCropper.
Introduced in [33329].


git-svn-id: https://develop.svn.wordpress.org/trunk@33445 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:54:51 +00:00
Konstantin Obenland
8f588b345b Menus: Readjust screen options toggle icon.
Third revision. This will let the icon appear slightly bigger than the help
icon on Macs and just slightly smaller on Windows machines. It's a compromise
in every way.

Fixes #32733. Again.



git-svn-id: https://develop.svn.wordpress.org/trunk@33444 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:42:44 +00:00
Mark Jaquith
ba194364de Switch explicitly from nightly to 7.0 for Travis, for clarity.
props netweb
fixes #33136

git-svn-id: https://develop.svn.wordpress.org/trunk@33443 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 15:15:34 +00:00
Sergey Biryukov
c8f1bf5a94 Merge two similar strings about insufficient permissions.
props pavelevap.
fixes #33140.

git-svn-id: https://develop.svn.wordpress.org/trunk@33442 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 13:24:39 +00:00
Sergey Biryukov
faecac7803 Move the translator note added in [33437] directly before the string it applies to.
fixes #33091.

git-svn-id: https://develop.svn.wordpress.org/trunk@33441 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 12:42:14 +00:00
Ella Iseulde Van Dorpe
aed9a8c5bc Editor: word count: better names for types.
Also fix it in wp_trim_words().

Fixes #30966.


git-svn-id: https://develop.svn.wordpress.org/trunk@33440 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 11:18:55 +00:00
Mark Jaquith
70dd339fa3 Fix the padding for the feature filter box on the Add Themes screen.
fixes #33132
props SergeyBiryukov

git-svn-id: https://develop.svn.wordpress.org/trunk@33439 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 03:33:24 +00:00
Mark Jaquith
80c9c8cfca Toggle between dashicons-hidden and dashicons-visibility in the password hide/show button.
fixes #33135

git-svn-id: https://develop.svn.wordpress.org/trunk@33438 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 03:12:55 +00:00
Mark Jaquith
3ad35be856 Add a translator note for the fix in r33387
props SergeyBiryukov
fixes 33091

git-svn-id: https://develop.svn.wordpress.org/trunk@33437 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-27 01:53:04 +00:00
Sergey Biryukov
0fe4782373 Comment string tweaks:
* Merge two strings about an invalid comment ID.
* Add missing context to 'Mark as Spam' string.
* Merge two 'In Response To' strings, replace redundant context with a translator comment.

props pavelevap.
fixes #32334.

git-svn-id: https://develop.svn.wordpress.org/trunk@33436 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 23:35:47 +00:00
Sergey Biryukov
71b9b522e2 Merge some similar media-related strings.
props pavelevap.
fixes #32390.

git-svn-id: https://develop.svn.wordpress.org/trunk@33435 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 23:23:48 +00:00
Sergey Biryukov
be54cc64a9 Multisite: Introduce a singular string for user removal (we already have one for deletion).
props pavelevap.
fixes #32387.

git-svn-id: https://develop.svn.wordpress.org/trunk@33434 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 23:18:19 +00:00
Sergey Biryukov
8e7c0148dc Merge two duplicate strings.
props pavelevap.
fixes #31730.

git-svn-id: https://develop.svn.wordpress.org/trunk@33433 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 23:03:52 +00:00
Sergey Biryukov
b8a5123dc9 Merge similar strings for plugin update permissions.
props pavelevap.
fixes #32388.

git-svn-id: https://develop.svn.wordpress.org/trunk@33432 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 23:00:11 +00:00
Sergey Biryukov
5a23543cc8 Merge duplicate strings related to Trash.
props pavelevap.
fixes #33133.

git-svn-id: https://develop.svn.wordpress.org/trunk@33431 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 22:47:05 +00:00
Andrew Ozz
a5d922f427 TinyMCE: remove role=tab from the keyboard shortcuts help dialog.
See #33031.

git-svn-id: https://develop.svn.wordpress.org/trunk@33430 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 21:36:06 +00:00
Andrew Ozz
4ca5459784 TinyMCE: fix accessibility for the keyboard shortcuts help dialog.
Props afercia, azaozz. Fixes #33031.

git-svn-id: https://develop.svn.wordpress.org/trunk@33429 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 19:13:28 +00:00
Ella Iseulde Van Dorpe
7cff5c8794 JSHint for [33426]
Oops. :|

See #33096.


git-svn-id: https://develop.svn.wordpress.org/trunk@33428 602fd350-edb4-49c9-b593-d223f7449a82
2015-07-26 18:17:37 +00:00
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