Boone Gorges
ea58c985bd
Fix test related to cap check in get_edit_term_link()
.
...
The test was introduced in [36646] was intended to demonstrate that the cap
check in `get_edit_term_link()` uses the custom capability from the correct
taxonomy when `$taxonomy` is not specified but must be inferred from the
provided term. However, the test was wrongly written in pretty much every way.
Antiprops boonebgorges.
Props swissspidy.
See #35922 .
Built from https://develop.svn.wordpress.org/trunk@36986
git-svn-id: http://core.svn.wordpress.org/trunk@36953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 01:52:26 +00:00
Andrew Ozz
13c885bdce
TinyMCE, inline link:
...
- Remove unused user setting for wpLink.
- Remove redundant text and variable from wp_link_dialog().
Props afercia, azaozz.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36985
git-svn-id: http://core.svn.wordpress.org/trunk@36952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 01:39:26 +00:00
Andrew Ozz
cd38787ee7
TinyMCE, inline link:
...
- Add audible confirmation when a link has been selected or inserted in the editor for both the inline dialog and the modal.
- Do not auto-search when the URL field is empty or already contains an URL.
- Remove a few redundant `tabindex`.
Props afercia, azaozz.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36984
git-svn-id: http://core.svn.wordpress.org/trunk@36951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 00:53:26 +00:00
Andrew Ozz
8fda4ca0b2
TinyMCE: when dragging, prevent error when a range cannot be created at the drop location.
...
Fixes #36229 .
Built from https://develop.svn.wordpress.org/trunk@36983
git-svn-id: http://core.svn.wordpress.org/trunk@36950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 22:55:25 +00:00
Andrew Ozz
c495d3b2b3
TinyMCE, inline link: when doing undo/redo with keyboard shortcut, do not focus the inline dialog. Cannot do consecutive undo/redo if the focus is moved away from the editor.
...
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36982
git-svn-id: http://core.svn.wordpress.org/trunk@36949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 22:44:25 +00:00
Andrew Ozz
dee2f6ccb7
Fix typo in wp-emoji.js.
...
See #35977 .
Built from https://develop.svn.wordpress.org/trunk@36981
git-svn-id: http://core.svn.wordpress.org/trunk@36948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 20:30:27 +00:00
Aaron Jorbin
838d93499e
Revert r36978
...
grunt-postcss Dropped nodejs 0.10 support and this is causing builds to fail. Revert until we bump minimum node version.
See #35104
Built from https://develop.svn.wordpress.org/trunk@36980
git-svn-id: http://core.svn.wordpress.org/trunk@36947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 19:56:57 +00:00
Aaron Jorbin
2d7d1ed81c
Update grunt-browserify ~4.0.1 → ~5.0.0
...
Updates underlying broweserify library to 13.0.0
See #35104
Built from https://develop.svn.wordpress.org/trunk@36979
git-svn-id: http://core.svn.wordpress.org/trunk@36946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 19:56:32 +00:00
Andrew Ozz
b97b5a797b
TinyMCE, inline link: ensure the inline dialog is in preview mode after updating a link from the (advanced) modal.
...
Props afercia.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36977
git-svn-id: http://core.svn.wordpress.org/trunk@36945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 17:47:26 +00:00
Andrew Ozz
c481c4449b
TinyMCE: tweak the small animation shown while waiting for wpView data to make it sell CPU intensive.
...
Props programmin.
Fixes #33525 .
Built from https://develop.svn.wordpress.org/trunk@36976
git-svn-id: http://core.svn.wordpress.org/trunk@36944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 17:02:26 +00:00
Sergey Biryukov
1a5694fc0f
Docs: Update default $size
value for get_custom_logo
filter after [36950].
...
Props wido.
See #33755 .
Built from https://develop.svn.wordpress.org/trunk@36975
git-svn-id: http://core.svn.wordpress.org/trunk@36943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-13 09:14:28 +00:00
Andrew Ozz
2448d106a2
TinyMCE, inline link: when searching, do not empty the URL input field when using the arrow keys to highlight items.
...
Props afercia.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36974
git-svn-id: http://core.svn.wordpress.org/trunk@36942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-12 19:41:26 +00:00
Eric Lewis
8592072857
Editor: Fix Mac keyboard shortcut for distraction free writing.
...
Fixes #36214 .
Built from https://develop.svn.wordpress.org/trunk@36973
git-svn-id: http://core.svn.wordpress.org/trunk@36941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-12 17:44:26 +00:00
Andrew Ozz
70ac7ab943
Editor: hide the Move to Trash link for auto-drafts until they are auto-saved.
...
Props iseulde.
Fixes #16116 .
Built from https://develop.svn.wordpress.org/trunk@36972
git-svn-id: http://core.svn.wordpress.org/trunk@36940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-12 17:22:26 +00:00
Andrew Ozz
91d2354e7c
Editor: correct and update the Visual and Text editors description in the screen help.
...
Props arush, adamsilverstein, azaozz.
Fixes #35479 .
Built from https://develop.svn.wordpress.org/trunk@36971
git-svn-id: http://core.svn.wordpress.org/trunk@36939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-12 16:43:26 +00:00
Dominik Schilling
d8f3325c14
Docs: Correct grammar when referring to "a URL" vs "an URL" in several places.
...
Fixes #36218 .
Built from https://develop.svn.wordpress.org/trunk@36970
git-svn-id: http://core.svn.wordpress.org/trunk@36938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-12 12:39:27 +00:00
Pascal Birchler
9462ab0576
Taxonomy: After [36874], rename $term_id
to $tag_ID
in wp-admin/edit-tag-form.php
.
...
This ensures that no variables changed in the process of introducing `wp-admin/term.php`, improving overall backward compatibility.
Props Chouby for initial patch.
Fixes #34988 .
Built from https://develop.svn.wordpress.org/trunk@36969
git-svn-id: http://core.svn.wordpress.org/trunk@36937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-11 08:52:29 +00:00
Dominik Schilling
4497ddfcb2
Media: Merge two error messages and use sprintf()
for the method names.
...
See #33642 .
Built from https://develop.svn.wordpress.org/trunk@36968
git-svn-id: http://core.svn.wordpress.org/trunk@36936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 23:36:26 +00:00
Andrea Fercia
0020bcd796
Coding standards after [36510].
...
Built from https://develop.svn.wordpress.org/trunk@36967
git-svn-id: http://core.svn.wordpress.org/trunk@36935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 23:18:26 +00:00
Drew Jaynes
4ecad983b3
Docs: Improve two 4.5.0 changelog entries added for the plugins_update_check_locales
and themes_update_check_locales
filters, introduced in [36630].
...
See #34937 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36966
git-svn-id: http://core.svn.wordpress.org/trunk@36934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 23:01:26 +00:00
Drew Jaynes
2e0866bcbc
Docs: Correct a typo in the DocBlock summary for get_embed_template()
, introduced in [36963].
...
Props swissspidy.
See #34561 , #34278 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36965
git-svn-id: http://core.svn.wordpress.org/trunk@36933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:45:26 +00:00
Andrea Fercia
fd1f45a7cf
Accessibility: Improve accessibility for the Plugin details modal.
...
The plugin details modal can be invoked from several screens. There's now a new
`.open-plugin-details-modal` CSS class to be used in combination with the
`.thickbox` CSS class that adds everything needed for accessibility.
- Adds an ARIA role `dialog` and an `aria-label` attribute to the modal
- Adds a `title` attribute to the iframe inside the modal
- Constrains tabbing within the modal
- Restores focus back in a proper place when closing the modal
Also, improves a bit the native Thickbox implementation: it should probably be
replaced with some more modern tool but at least keyboard focus should be moved
inside the modal.
Fixes #33305 .
Built from https://develop.svn.wordpress.org/trunk@36964
git-svn-id: http://core.svn.wordpress.org/trunk@36932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:37:26 +00:00
Drew Jaynes
b533878fa2
Docs: Use a third-person singular verb in the summary for get_embed_template()
, introduced in [36876].
...
See #34561 , #34278 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36963
git-svn-id: http://core.svn.wordpress.org/trunk@36931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:09:26 +00:00
Drew Jaynes
c29baeb9b8
Docs: Improve changelog entries added for the delete_term
and delete_{$taxonomy}
actions in [36080] and a third entry added for the clean_term_cache
action in [36399]
...
See #35213 , #35611 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36962
git-svn-id: http://core.svn.wordpress.org/trunk@36930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:07:27 +00:00
Drew Jaynes
f83488a058
Docs: Improve the summary and return description in the DocBlock for unregister_taxonomy()
, introduced in [36243].
...
See #35227 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36961
git-svn-id: http://core.svn.wordpress.org/trunk@36929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:02:26 +00:00
Drew Jaynes
7f77d5074c
Docs: Use a third-person singular verb for the DocBlock summary for remove_permastruct()
, introduced in [36181].
...
See #35235 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36960
git-svn-id: http://core.svn.wordpress.org/trunk@36928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 22:00:27 +00:00
Andrea Fercia
899edd87da
Accessibility: Improve the color contrast ratio of the expandable panel "handles".
...
Fixes #35923 .
Built from https://develop.svn.wordpress.org/trunk@36959
git-svn-id: http://core.svn.wordpress.org/trunk@36927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 21:44:26 +00:00
Rachel Baker
a6e66c0cfc
Comments: On the Edit Comment screen do not show the permalink for unapproved comments.
...
Fixes #36161 .
Built from https://develop.svn.wordpress.org/trunk@36958
git-svn-id: http://core.svn.wordpress.org/trunk@36926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 21:18:27 +00:00
Tammie Lister
74e13b1149
Twenty Elevent: Captioned image fix for editor
...
Fixes #33153
Props: @iseulde
Built from https://develop.svn.wordpress.org/trunk@36957
git-svn-id: http://core.svn.wordpress.org/trunk@36925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 21:13:26 +00:00
Tammie Lister
d8636e70d7
Twenty Thirteen: Removes title attribute from footer
...
Fixes #35843
Props: @davidakennedy
Built from https://develop.svn.wordpress.org/trunk@36956
git-svn-id: http://core.svn.wordpress.org/trunk@36924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 21:07:26 +00:00
Dominik Schilling
703d5bdc8d
Build Tools: Rename the precommit:core
task to precommit:base
for clarification.
...
`precommit:base` runs only the `imagemin:core` task.
Fixes #35557 .
Built from https://develop.svn.wordpress.org/trunk@36955
git-svn-id: http://core.svn.wordpress.org/trunk@36923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 20:14:27 +00:00
Dominik Schilling
337488e684
oEmbed: Extend the provider list to support moments and timelines from Twitter.
...
Fixes #36197 .
Built from https://develop.svn.wordpress.org/trunk@36954
git-svn-id: http://core.svn.wordpress.org/trunk@36922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 20:04:26 +00:00
John Blackbourn
53851c612c
Rewrite Rules: Allow rewrite rules to work in nested WordPress installations on IIS.
...
Props WiZZarD_
Fixes #35558
Built from https://develop.svn.wordpress.org/trunk@36953
git-svn-id: http://core.svn.wordpress.org/trunk@36921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 20:01:28 +00:00
John Blackbourn
adfc09f1b5
Correct a unit test for custom icon functionality.
...
See #36086
Built from https://develop.svn.wordpress.org/trunk@36952
git-svn-id: http://core.svn.wordpress.org/trunk@36920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 19:59:28 +00:00
John Blackbourn
ead41790aa
Embeds: Add support for dai.ly
embeds over HTTPS.
...
Fixes #36189
Built from https://develop.svn.wordpress.org/trunk@36951
git-svn-id: http://core.svn.wordpress.org/trunk@36919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 19:49:27 +00:00
Konstantin Obenland
ff3babeb53
Template: Explicitly set full
as the default custom logo size.
...
See #33755 .
Built from https://develop.svn.wordpress.org/trunk@36950
git-svn-id: http://core.svn.wordpress.org/trunk@36918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 19:03:26 +00:00
Konstantin Obenland
3e82e111e1
Tests: Introduce multisite unit tests.
...
Makes sure custom logo functions work for other sites within a network.
Fixes a bug in `get_custom_logo()` where the correct logo was returned, but
linked to the wrong site.
H/t ocean90.
See #33755 , #36086 .
Built from https://develop.svn.wordpress.org/trunk@36949
git-svn-id: http://core.svn.wordpress.org/trunk@36917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:57:26 +00:00
Konstantin Obenland
d21d537280
Customize: Use full URL to image to prevent breakage if moved.
...
See https://core.trac.wordpress.org/ticket/33755#comment:103
See #33755 .
Built from https://develop.svn.wordpress.org/trunk@36948
git-svn-id: http://core.svn.wordpress.org/trunk@36916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:53:25 +00:00
Drew Jaynes
9c52d28c37
Docs: Improve syntax in the DocBlock for rest_get_server()
, introduced in [36529].
...
See #35329 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36947
git-svn-id: http://core.svn.wordpress.org/trunk@36915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:49:26 +00:00
Aaron Jorbin
04071eedea
Update Twitter oEmbed URL.
...
Twitter moved its preferred oEmbed URL for single Tweets from api.twitter.com to publish.twitter.com. They also are deprecating XML responses.
Props niallkennedy.
Fixes #36197 .
Built from https://develop.svn.wordpress.org/trunk@36946
git-svn-id: http://core.svn.wordpress.org/trunk@36914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:40:29 +00:00
Drew Jaynes
f9919442e2
Docs: Improve the DocBlock summary for wp_queue_posts_for_term_meta_lazyload()
, introduced in [36566].
...
See #35816 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36945
git-svn-id: http://core.svn.wordpress.org/trunk@36913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:29:26 +00:00
Drew Jaynes
49803ffabe
Docs: Improve the accuracy of the return description for unregister_post_type()
, introduced in [36316].
...
See #14761 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36944
git-svn-id: http://core.svn.wordpress.org/trunk@36912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:25:25 +00:00
Konstantin Obenland
91460e2af1
Twenty Fifteen: Simplify twentyfifteen_the_custom_logo()
.
...
See b72e3d8059
See #35944 .
Built from https://develop.svn.wordpress.org/trunk@36943
git-svn-id: http://core.svn.wordpress.org/trunk@36911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 18:21:27 +00:00
Drew Jaynes
49ecfd6ae0
Docs: Use a third-person singular verb for the get_the_excerpt()
DocBlock summary.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36942
git-svn-id: http://core.svn.wordpress.org/trunk@36910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:52:26 +00:00
Drew Jaynes
a89fee749a
Docs: Improve the DocBlock summary for wp_metadata_lazyloader()
, introduced in [36566].
...
See #35816 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36941
git-svn-id: http://core.svn.wordpress.org/trunk@36909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:50:27 +00:00
Drew Jaynes
d5e084a5b7
Docs: Improve the usefulness of the DocBlock summary for get_edit_term_link()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36940
git-svn-id: http://core.svn.wordpress.org/trunk@36908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:48:26 +00:00
Drew Jaynes
d94b2fb3ef
Docs: Improve the 4.5.0 changelog entry in the hook doc for the get_archives_link
filter, introduced in [36418].
...
See #35573 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36939
git-svn-id: http://core.svn.wordpress.org/trunk@36907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:47:26 +00:00
Drew Jaynes
643df239b1
Docs: Improve the $blog_id
parameter description in the DocBlock for the_custom_logo()
, introduced in [36698].
...
See #33755 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36938
git-svn-id: http://core.svn.wordpress.org/trunk@36906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:46:27 +00:00
Drew Jaynes
965985dd23
Docs: Improve the $blog_id
parameter description in the DocBlock for get_custom_logo()
, introduced in [36698].
...
See #33755 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36937
git-svn-id: http://core.svn.wordpress.org/trunk@36905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:45:25 +00:00
Drew Jaynes
b04826bfe0
Docs: Improve inline documentation for has_custom_logo()
, introduced in [36698].
...
See #33755 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36936
git-svn-id: http://core.svn.wordpress.org/trunk@36904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 17:44:25 +00:00
Dominik Schilling
d483093e0b
Build Tools: Update grunt-rtlcss ~1.6.0 → ~2.0.1.
...
This updates the underlying RTLCSS framework to 2.0 which provides new options and config settings, see https://github.com/MohammadYounes/rtlcss/blob/master/CHANGELOG.md#200---18-feb-2016 .
See #35104 .
Build: https://build.trac.wordpress.org/changeset/36903
Built from https://develop.svn.wordpress.org/trunk@36935
git-svn-id: http://core.svn.wordpress.org/trunk@36903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 16:01:32 +00:00
Dominik Schilling
f37eca2259
Editor: Fix size of the resize handle on RTL sites for HiDPI screens.
...
Also, add the `/*rtl:ignore*/` control directive so rtlcss doesn't process them again.
Fixes #36193 .
Built from https://develop.svn.wordpress.org/trunk@36934
git-svn-id: http://core.svn.wordpress.org/trunk@36902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 14:06:29 +00:00
Mike Schroder
879bcc3c45
Post 4.5-beta3 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@36933
git-svn-id: http://core.svn.wordpress.org/trunk@36901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 07:01:27 +00:00
Mike Schroder
20df3fc1eb
4.5-beta3
...
Built from https://develop.svn.wordpress.org/trunk@36932
git-svn-id: http://core.svn.wordpress.org/trunk@36900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 06:49:26 +00:00
Gary Pendergast
c1a1987d95
Customize: Update cropper.js
to match changes in [36866].
...
`media-views.js` was updated, but the changes weren't added to `cropper.js`, which caused the `grunt precommit:js` job to incorrectly remove the changes from `media-views.js`.
Fixes #32783 .
Built from https://develop.svn.wordpress.org/trunk@36931
git-svn-id: http://core.svn.wordpress.org/trunk@36899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 05:42:27 +00:00
Aaron Jorbin
1972aa2a2a
Add grunt prerelease task
...
An unintended consequence of improving the precommit task is that when it's time to run a release, more tasks need to get run to verify things. This adds a prerelease task to help fix that situation. grunt prerelease should include tasks that verify the code base is ready to be released to the wild and find all the tears on the mausoleum floor and help Blood stain the Colosseum doors.
See #35557
Built from https://develop.svn.wordpress.org/trunk@36930
git-svn-id: http://core.svn.wordpress.org/trunk@36898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-10 05:37:27 +00:00
Konstantin Obenland
9dda05f857
Customize: Bump down the priority custom logo's control.
...
Keeps the control in the same place but allows for plugins and themes to place
other controls above it.
Props celloexpressions.
Fixes #35942 .
Built from https://develop.svn.wordpress.org/trunk@36912
git-svn-id: http://core.svn.wordpress.org/trunk@36880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 22:03:27 +00:00
Konstantin Obenland
e677a80a26
Tests: Account for expected attachemnt size in custom logo output.
...
Fixes #36086 .
Built from https://develop.svn.wordpress.org/trunk@36911
git-svn-id: http://core.svn.wordpress.org/trunk@36879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:57:27 +00:00
Mel Choyce
3773f9be8b
About: Improve color contrast of WP Badge text, and update the logo to use the latest version.
...
Fixes #35661 .
Props @hugobaeta.
Built from https://develop.svn.wordpress.org/trunk@36910
git-svn-id: http://core.svn.wordpress.org/trunk@36878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:53:26 +00:00
Konstantin Obenland
dabfefcee2
Themes: Support second argument in theme support for custom logo.
...
See #33755 .
Built from https://develop.svn.wordpress.org/trunk@36909
git-svn-id: http://core.svn.wordpress.org/trunk@36877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:51:27 +00:00
Weston Ruter
7441acafaf
Customize: Fix persistence of toggles for displayed nav menu item properties.
...
* Eliminates need to click more than one checkbox to have preferences saved.
* Adds debouncing to saving user-selected menu item properties.
* Also removes discrepancies between available nav menu item properties on admin page vs Customizer.
Fixes #35273 .
Props afercia, westonruter.
Built from https://develop.svn.wordpress.org/trunk@36908
git-svn-id: http://core.svn.wordpress.org/trunk@36876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:41:28 +00:00
Konstantin Obenland
f39d1e4fcc
Customize: Reduce vertical space of site icon control.
...
Makes the control easier to find, reduces visual clutter, and is more
consistent with Customizer UI conventions.
Props celloexpressions.
Fixes #35943 .
Built from https://develop.svn.wordpress.org/trunk@36907
git-svn-id: http://core.svn.wordpress.org/trunk@36875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 21:19:27 +00:00
Aaron Jorbin
e505f0ac9c
Improve grunt precommit task
...
Instead of running all tasks, all the time, let's run tasks based on the files changed. PHPUNIT is now a precommit task for all php file changes.
This adds a new dependency. Please run `npm install`.
Fixes #35557
Props ericlewis, netweb, jorbin
Built from https://develop.svn.wordpress.org/trunk@36906
git-svn-id: http://core.svn.wordpress.org/trunk@36874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 20:55:30 +00:00
Aaron Jorbin
d33514870a
Add Automated Tests for custom logo support
...
[36698] introduced custom logos, this tests the API.
Fixes #36086 . See #33755 .
Props obenland.
Built from https://develop.svn.wordpress.org/trunk@36905
git-svn-id: http://core.svn.wordpress.org/trunk@36873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 20:44:26 +00:00
Andrea Fercia
a71f14b8d9
Accessibility: Reduce the WordPress shades of grey, Episode 3.
...
Also, removes some no more used CSS.
See #35783 .
Built from https://develop.svn.wordpress.org/trunk@36904
git-svn-id: http://core.svn.wordpress.org/trunk@36872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:51:26 +00:00
Weston Ruter
055154cb65
Customize: Restore body class removed in [36837] for when custom logo is present.
...
The class name is `wp-custom-logo` and it will be toggled by JS in the Customizer preview when the custom logo is added or removed.
See #33755 .
Fixes #35945 .
Built from https://develop.svn.wordpress.org/trunk@36903
git-svn-id: http://core.svn.wordpress.org/trunk@36871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:33:27 +00:00
Sergey Biryukov
90c7ce63d9
Use admin_url()
for "Add New" links in wp-admin/users.php
.
...
Props johnjamesjacoby.
Fixes #36186 .
Built from https://develop.svn.wordpress.org/trunk@36902
git-svn-id: http://core.svn.wordpress.org/trunk@36870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:09:50 +00:00
Sergey Biryukov
729ddb899c
Use admin_url()
for "Add New" links in wp-admin/upload.php
.
...
Props johnjamesjacoby.
See #36186 .
Built from https://develop.svn.wordpress.org/trunk@36901
git-svn-id: http://core.svn.wordpress.org/trunk@36869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 19:09:25 +00:00
Drew Jaynes
745ae9915f
Docs: Improve the DocBlock summary for WP::remove_query_var()
, introduced in [36177].
...
See #35234 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36900
git-svn-id: http://core.svn.wordpress.org/trunk@36868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 17:05:29 +00:00
Drew Jaynes
feb3c20d12
Docs: Standardize file header summary for wp-includes/class-wp-metadata-lazyloader.php.
...
See [36897]. See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36899
git-svn-id: http://core.svn.wordpress.org/trunk@36867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 16:59:27 +00:00
Drew Jaynes
e7bea9ba6e
Docs: Improve inline documentation syntax throughout WP_Metadata_Lazyloader
, introduced in [36566].
...
See #35816 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36898
git-svn-id: http://core.svn.wordpress.org/trunk@36866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 16:55:26 +00:00
Drew Jaynes
a1b18a3ae6
Docs: Add a missing file header to wp-includes/class-wp-metadata-lazyloader.php, introduced in [36566].
...
See #35816 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36897
git-svn-id: http://core.svn.wordpress.org/trunk@36865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 16:52:27 +00:00
Boone Gorges
e032560e6b
Correct @return
annotation for wp_set_object_terms()
and related functions.
...
The return value is an array of term taxonomy IDs, not term IDs.
Fixes #36182 .
Built from https://develop.svn.wordpress.org/trunk@36896
git-svn-id: http://core.svn.wordpress.org/trunk@36864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 16:17:28 +00:00
Jeremy Felt
f917022d6f
Docs: Update the return type for get_active_blog_for_user()
...
This is now a `WP_Site` object.
See #32450 .
Built from https://develop.svn.wordpress.org/trunk@36895
git-svn-id: http://core.svn.wordpress.org/trunk@36862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 07:50:26 +00:00
Jeremy Felt
ba65ad94f2
Docs: Update param/return types for WP_Site
in ms-blogs.php
...
* `get_blog_details()` now returns a `WP_Site` object.
* `clean_blog_cache()` is now called with a `WP_Site` object.
See #32450 .
Built from https://develop.svn.wordpress.org/trunk@36894
git-svn-id: http://core.svn.wordpress.org/trunk@36861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 07:42:26 +00:00
Jeremy Felt
80dd53519d
Docs: Update the return type for get_current_site()
...
This is now a `WP_Network` object.
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36893
git-svn-id: http://core.svn.wordpress.org/trunk@36860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 07:28:26 +00:00
Weston Ruter
8c9c4b2698
Customize: Remove unused JS variable to fix jshint error introduced in [36890].
...
See #36164 .
Built from https://develop.svn.wordpress.org/trunk@36892
git-svn-id: http://core.svn.wordpress.org/trunk@36859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 05:05:27 +00:00
Mike Schroder
1e120a01ec
Media: Progressive enhancement for Imagick; add profiles to whitelist.
...
- Progressive enhancement for optional compression improvements and stripping meta.
- Whitelist IPTC and XMP profiles to maintain Copyright and Rights Usage Terms.
- Whitelist EXIF profile to maintain orientation information. If handled on upload in the future, it can be stripped as well.
Fixes #33642 . See #28634 .
Props joemcgill, juliobox, ahockley, markoheijnen, adamsilverstein, wonderboymusic, mikeschroder.
Built from https://develop.svn.wordpress.org/trunk@36891
git-svn-id: http://core.svn.wordpress.org/trunk@36858 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 04:44:26 +00:00
Weston Ruter
d27ae61355
Customize: Remove selective refresh error message from appearing inline within the preview.
...
The error message will still be available in the developer console.
Removes part of [36586].
See #27355 .
Fixes #36164 .
Built from https://develop.svn.wordpress.org/trunk@36890
git-svn-id: http://core.svn.wordpress.org/trunk@36857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 04:37:28 +00:00
Weston Ruter
e11fd98ec6
Customize: Fix regressions and harden implementation of selective refresh for nav menus.
...
* Request full refresh if there are nav menu instances that lack partials for a changed setting.
* Restore `WP_Customize_Nav_Menus::$preview_nav_menu_instance_args` and `WP_Customize_Nav_Menus::export_preview_data()` from 4.3, and keeping a tally of all `wp_nav_menu()` calls regardless of whether they can use selective refresh.
* Ensure that all instances of `wp_nav_menu()` are tallied, regardless of whether they are made during the initial preview call or during subsequent partial renderings. Export `nav_menu_instance_args` with each partial rendering response just as they are returned when rendering the preview as a whole.
* Fix issues with Custom Menu widget where nav menu items would fail to render when switching between menus when a menu lacked items to begin with.
* Make sure the fallback behavior is invoked when the partial is no longer associated with a menu.
* Do fallback behavior to refresh preview when all menu items are removed from a menu.
Follows [36586].
See #27355 .
Fixes #35362 .
Built from https://develop.svn.wordpress.org/trunk@36889
git-svn-id: http://core.svn.wordpress.org/trunk@36856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-09 00:09:26 +00:00
Drew Jaynes
f64b97c597
Menus: Avoid a notice when outputting a description for an existing archive menu item for a post type that doesn't.
...
Props bradyvercher.
See [36859]. Fixes #35324 .
Built from https://develop.svn.wordpress.org/trunk@36888
git-svn-id: http://core.svn.wordpress.org/trunk@36855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 18:25:26 +00:00
Dominik Schilling
7e8e3429e1
Media: Change wording for media files which aren't attached.
...
The media library can contain files which aren't attached yet. When attaching a file you currently get "Media attachment reattached.", or the opposite "Media attachment detached.". That's redundant and can be inaccurate. It's also not easy to translate in some languages.
This change generalizes the strings to refer to a "media file" instead.
Props SergeyBiryukov, ocean90, netweb.
Fixes #36089 .
Built from https://develop.svn.wordpress.org/trunk@36887
git-svn-id: http://core.svn.wordpress.org/trunk@36854 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 17:43:25 +00:00
Dominik Schilling
67475a943f
Update Random_Compat from 1.1.6 to 1.2.1.
...
Changes: https://github.com/paragonie/random_compat/compare/1.1.6...v1.2.1
See #35665 .
Built from https://develop.svn.wordpress.org/trunk@36886
git-svn-id: http://core.svn.wordpress.org/trunk@36853 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 17:15:27 +00:00
Dominik Schilling
75c2005a49
Tests: Remove test_new_files_are_not_in_old_files_array()
from [36843].
...
The test assumes that if a CSS file was added to `$_old_files` all three files (.css, .min.css, -rtl.min.css; it's actually missing the fourth case, -rtl.css) don't exist anymore. But this isn't always the case. The test is also incredible slow because it does three `file_exists()` checks for each file — the global contains 646 files currently.
It's important what we have in the /build directory and that's covered by `test_new_files_are_not_in_old_files_array_compiled()`.
Fixes #36083 .
Built from https://develop.svn.wordpress.org/trunk@36885
git-svn-id: http://core.svn.wordpress.org/trunk@36852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 16:45:27 +00:00
Dominik Schilling
d3f222e3b9
Script Loader: Enqueue the minified version of farbtastic if SCRIPT_DEBUG
is false.
...
The files are available since [36341].
See #36083 , #35229 .
Built from https://develop.svn.wordpress.org/trunk@36884
git-svn-id: http://core.svn.wordpress.org/trunk@36851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 16:04:29 +00:00
Dion Hulse
0d60e585e6
Tests: Remove debug from [36882].
...
Built from https://develop.svn.wordpress.org/trunk@36883
git-svn-id: http://core.svn.wordpress.org/trunk@36850 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 07:08:26 +00:00
Dion Hulse
227254aa74
Tests: Merge the two different wp_normalize_path()
tests.
...
See #35996 , [36881].
Built from https://develop.svn.wordpress.org/trunk@36882
git-svn-id: http://core.svn.wordpress.org/trunk@36849 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 07:07:28 +00:00
Dion Hulse
6a23a0ddd5
Filesystem: Support Windows shares/DFS roots in wp_normalize_path()
.
...
Props rilwis for initial patch.
Fixes #35996 .
Built from https://develop.svn.wordpress.org/trunk@36881
git-svn-id: http://core.svn.wordpress.org/trunk@36848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 06:00:26 +00:00
Dion Hulse
68eb6c1593
oEmbed: During discovery, only request the first 150kb of linked content to avoid timouts requesting larger documents.
...
Fixes #35979 .
Built from https://develop.svn.wordpress.org/trunk@36880
git-svn-id: http://core.svn.wordpress.org/trunk@36847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-08 05:58:26 +00:00
Andrea Fercia
34ab7ae5ac
Accessibility: Remove the title attributes from the old Media UI.
...
Also, adds better indication and attributes for the required form fields.
Moves some styles to `deprecated-media.css`.
Props andg, afercia.
Fixes #34944 .
Built from https://develop.svn.wordpress.org/trunk@36879
git-svn-id: http://core.svn.wordpress.org/trunk@36846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 22:29:26 +00:00
Drew Jaynes
d59fdfd951
Docs: Add a missing @since
version to the DocBlock for wp_add_dashboard_widget()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36878
git-svn-id: http://core.svn.wordpress.org/trunk@36845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 22:17:26 +00:00
Andrea Fercia
5bd8219816
Customizer: Improve the collapsed view when switching to the responsive view.
...
Props rittesh.patel, afercia.
Fixes #35220 .
Built from https://develop.svn.wordpress.org/trunk@36877
git-svn-id: http://core.svn.wordpress.org/trunk@36844 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 22:05:27 +00:00
Pascal Birchler
dc2f39b7f0
Embeds: Add support for embeds in the theme template hierarchy.
...
This allows themes to directly override the default template. The order in which the template is retrieved is as follows: `embed-$post_type-$post_format.php` -> `embed-$post_type.php` -> `embed.php`.
The `embed_template` filter gets replaced by the dynamic `{$type}_template` filter in `get_query_template()`.
Props ChriCo, swissspidy.
See #34561 . Fixes #34278 .
Built from https://develop.svn.wordpress.org/trunk@36876
git-svn-id: http://core.svn.wordpress.org/trunk@36843 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 19:33:26 +00:00
Konstantin Obenland
c13130918a
Bundled Themes: Prevent elements within fieldsets from overflowing in Webkit.
...
Fixes #35421 .
Built from https://develop.svn.wordpress.org/trunk@36875
git-svn-id: http://core.svn.wordpress.org/trunk@36842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 19:15:30 +00:00
Pascal Birchler
033044a872
Taxonomy: Improve backward compatibility on the wp-admin/term.php
page.
...
Specifically, run `do_action( 'edit-tags.php' );` on this new term edit page introduced in [36308]. Changes the GET param back to `tag_ID` and properly sets the screen base in `WP_Screen`.
See #34988 .
Built from https://develop.svn.wordpress.org/trunk@36874
git-svn-id: http://core.svn.wordpress.org/trunk@36841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 12:56:28 +00:00
Pascal Birchler
5d6513f0bc
Embeds: Adjust the iframe title attribute for improved accessibility.
...
Changes the title attribute from `Embedded WordPress Post` to `"Post name" — site title`.
Props ramiy.
Fixes #35804 .
Built from https://develop.svn.wordpress.org/trunk@36873
git-svn-id: http://core.svn.wordpress.org/trunk@36840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 10:00:29 +00:00
Dion Hulse
cbda43788b
Setup config: Generate the default secret keys & salts from the local CSPRNG if available, falling back to the WordPress.org API and a backup psuedo random source.
...
Props diddledan.
Fixes #35290
Built from https://develop.svn.wordpress.org/trunk@36872
git-svn-id: http://core.svn.wordpress.org/trunk@36839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-07 06:32:29 +00:00
Dominik Schilling
f4ef187c2c
Dependencies: Improve group processing of script dependencies.
...
This is a follow-up to [36604].
When processing dependencies `$this->group` will be the minimum of the script's registered group and all preceding siblings. This is wrong because only a scripts ancestors in the dependency chain should affect where it is loaded. Effectively `$this->group` introduced a form of global state which potentially corrupted the group of dependencies. Sorting covers up this problem.
The issue in #35873 was that script were not moving their dependencies to a lower group when necessary.
The fix:
* In `WP_Dependencies::all_deps()` pass the new `$group` value to `WP_Dependencies::all_deps()`. Previously the wrong value was passed because the parent script could have moved with `WP_Scripts::set_group()`.
* In `WP_Scripts::all_deps()` pass the `$group` parameter to `WP_Dependencies::all_deps()` so it doesn't always use `false` for `$group`. Same for `WP_Styles::all_deps()`.
Props stephenharris, gitlost.
Fixes #35956 .
Built from https://develop.svn.wordpress.org/trunk@36871
git-svn-id: http://core.svn.wordpress.org/trunk@36838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 19:50:27 +00:00
Pascal Birchler
c73a812109
HTTP: Avoid an undefined index notice in wp_http_validate_url()
.
...
Props perezlabs.
Fixes #34164 .
Built from https://develop.svn.wordpress.org/trunk@36870
git-svn-id: http://core.svn.wordpress.org/trunk@36837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 15:55:26 +00:00
Andrea Fercia
aaa040eee9
CSS: Rename the handle for deprecated-media.css
after [36341].
...
The `media` handle is now used for `media.css` thus the stylesheet
for the old media UI needs a different handle name.
See #35229 .
Built from https://develop.svn.wordpress.org/trunk@36869
git-svn-id: http://core.svn.wordpress.org/trunk@36836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 15:38:28 +00:00
Sergey Biryukov
b80a516549
Docs: Add wp_add_dashboard_widget()
parameter descriptions.
...
Props meitar for initial patch.
Fixes #36092 .
Built from https://develop.svn.wordpress.org/trunk@36868
git-svn-id: http://core.svn.wordpress.org/trunk@36835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 12:08:28 +00:00
Jeremy Felt
27e29666a8
Multisite: Handle redirect to a user's subdomain properly during login
...
`wp-login.php` uses `wp_safe_redirect()` for all redirects, even those that do not involve unsafe data from the request or referer.
When a user of a subdomain site attempts to login to a network site they do not have access to, the host in the redirect URL is treated as unsafe by `wp_safe_redirect()` as it has no immediate awareness as to which hosts are valid on the network. On a subdirectoy network, everything works as expected because the host is the same.
In this specific block of `wp-login.php`, all URLs are generated by WordPress and we can use `wp_redirect()` to handle the redirects. Users authenticating via other network sites will now be redirected properly. Hosts passed via the `redirect_to` query var will continue to be handled by `wp_safe_redirect()`.
Fixes #30598 .
Built from https://develop.svn.wordpress.org/trunk@36867
git-svn-id: http://core.svn.wordpress.org/trunk@36834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 03:06:29 +00:00
Weston Ruter
40f6779665
Customize: Fix image cropping when doing live preview of theme switches.
...
Ensure that the Customizer gets bootstrapped with the pre-activated `theme` supplied in the `custom-header-crop` admin ajax requests.
Props faishal, rittesh.patel.
Fixes #32783 .
Built from https://develop.svn.wordpress.org/trunk@36866
git-svn-id: http://core.svn.wordpress.org/trunk@36833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-06 01:45:27 +00:00
Aaron Jorbin
fe4a3452c3
Update grunt-contrib-cssmin ~0.14.0 → ~1.0.0
...
See #35104 .
Built from https://develop.svn.wordpress.org/trunk@36865
git-svn-id: http://core.svn.wordpress.org/trunk@36832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 23:37:27 +00:00
Aaron Jorbin
796f7cd97d
Update grunt-contrib-copy ~0.8.2 → ~1.0.0
...
See #35104 .
Built from https://develop.svn.wordpress.org/trunk@36864
git-svn-id: http://core.svn.wordpress.org/trunk@36831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 23:35:27 +00:00
Aaron Jorbin
ac2d660906
Update grunt-contrib-concat ~0.5.1 → ~1.0.0
...
see #35104
Built from https://develop.svn.wordpress.org/trunk@36863
git-svn-id: http://core.svn.wordpress.org/trunk@36830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 23:32:27 +00:00
Aaron Jorbin
c6b12480a1
Update grunt-contrib-compress ~0.14.0 → ~1.1.0
...
See #35104
Built from https://develop.svn.wordpress.org/trunk@36862
git-svn-id: http://core.svn.wordpress.org/trunk@36829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 23:25:29 +00:00
Aaron Jorbin
06d9654602
Update grunt-contrib-clean from 0.6.0 → 1.0.0
...
see #35104
Built from https://develop.svn.wordpress.org/trunk@36861
git-svn-id: http://core.svn.wordpress.org/trunk@36828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 23:19:27 +00:00
Aaron Jorbin
241dfd09e8
Update Autoprefixer to 6.3.3
...
See #35104
Built from https://develop.svn.wordpress.org/trunk@36860
git-svn-id: http://core.svn.wordpress.org/trunk@36827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 23:16:32 +00:00
Aaron Jorbin
d71a0600a6
Ensure Description is respected in post type archive menu items.
...
Tested scenarios include: using the default (which is the post type description), Setting a custom description for that individual menu item, and setting a custom description that is blank. Introduced in r35382.
Props Toro_Unit, mayukojpn, extendwings, jorbin.
Fixes #35324 . See #16075 .
Built from https://develop.svn.wordpress.org/trunk@36859
git-svn-id: http://core.svn.wordpress.org/trunk@36826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 22:57:26 +00:00
Dominik Schilling
30f8c75047
Themes: Bring the device preview from [31195] to the theme install previewer.
...
Props celloexpressions.
Fixes #36017 .
Built from https://develop.svn.wordpress.org/trunk@36858
git-svn-id: http://core.svn.wordpress.org/trunk@36825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 22:07:25 +00:00
Andrew Ozz
b5cc1c7dfa
TinyMCE:
...
- Fix the icon for the native dialogs close button.
- Highlight the button on :focus.
See #36035 .
Built from https://develop.svn.wordpress.org/trunk@36857
git-svn-id: http://core.svn.wordpress.org/trunk@36824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 22:01:27 +00:00
Aaron Jorbin
265011b9b6
Fix License test
...
Broken in r36855
Fixes #35278
Built from https://develop.svn.wordpress.org/trunk@36856
git-svn-id: http://core.svn.wordpress.org/trunk@36823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 20:22:26 +00:00
Aaron Jorbin
5e7262847f
Clarify Copyright year
...
Based on http://copyright.gov/title17/92chap4.html#401 and being more consistent with the rest of the document.
See also https://make.wordpress.org/themes/2014/07/08/proper-copyrightlicense-attribution-for-themes/
Fixes #35278
Built from https://develop.svn.wordpress.org/trunk@36855
git-svn-id: http://core.svn.wordpress.org/trunk@36822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 20:14:25 +00:00
Eric Lewis
a749f90e73
Build/Test Tools: Document PHP unit test classes.
...
Props boonebgorges.
Fixes #35494 .
Built from https://develop.svn.wordpress.org/trunk@36854
git-svn-id: http://core.svn.wordpress.org/trunk@36821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 19:48:28 +00:00
John Blackbourn
3184328ecb
Posts, Post Types: Ensure that non-ASCII characters in attachment slugs aren't shown in urlencoded form in the sample permalink UI.
...
Fixes #35980
Built from https://develop.svn.wordpress.org/trunk@36853
git-svn-id: http://core.svn.wordpress.org/trunk@36820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 03:56:27 +00:00
Eric Lewis
0c1cca9961
Menus: Ensure theme location setting data is saved with a large menu.
...
[36510] introduced a fix to allow users to save large menus on the Edit Menu screen (70+ menu items). The form data is stored as JSON which is used to inject the `$_POST` variable in the form submission handler. This injection was not setting form items with named array elements properly (e.g. `menu-locations[primary]`), which did not save theme location data in a large form.
Props keraweb.
See #14134 .
Built from https://develop.svn.wordpress.org/trunk@36852
git-svn-id: http://core.svn.wordpress.org/trunk@36819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-05 00:47:26 +00:00
Weston Ruter
a8ca958d43
Customize: Eliminate unnecessary WP_Customize_Site_Logo_Control
in favor of re-using WP_Customize_Image_Control
.
...
* Removes double `margin-bottom` from all the media controls.
* All media controls now send `{settingId}-attachment-data` messages to the preview when a media setting is updated so that the preview has access to the attachment data.
* Fixes receiving of `attachment-data` message for `custom_logo` which resulted in instant JS-applied preview not working. See #36096 .
See #33755 .
Fixes #35941 .
Built from https://develop.svn.wordpress.org/trunk@36851
git-svn-id: http://core.svn.wordpress.org/trunk@36818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 23:47:26 +00:00
Dominik Schilling
f11d47d9ba
I18N: Fix an invalid placeholder added in [36844].
...
See #36048 .
Built from https://develop.svn.wordpress.org/trunk@36850
git-svn-id: http://core.svn.wordpress.org/trunk@36817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 21:10:26 +00:00
Andrew Ozz
3bb9185496
TinyMCE, inline link: add styling for the dialog and UI Autocomplete to Press This.
...
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36849
git-svn-id: http://core.svn.wordpress.org/trunk@36816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 20:31:26 +00:00
Andrew Ozz
9b2d44e5a1
Pres This:
...
- Change the newly added `press_this_save_post_content` filter to `press_this_save_post` and pass the $post_data array to it.
- Remove the newly added `press_this_useful_html_elements`. It only runs in compatibility mode when a URL is typed by the user.
- Remove the `press_this_suggested_content` filter. It is redundant as the suggested HTML for the editor is already filtered by `press_this_suggested_html`.
- Add some more inline docs and rename couple of vars to make the code more readable.
Fixes #34455 .
Built from https://develop.svn.wordpress.org/trunk@36848
git-svn-id: http://core.svn.wordpress.org/trunk@36815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 18:56:26 +00:00
Drew Jaynes
bbc3cde9b0
Docs: Improve DocBlock syntax and add a missing @return
notation for WP_Image_Editor_Imagick::strip_meta()
, introduced in [36700].
...
See: #33642 , #30402 , #28634 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36847
git-svn-id: http://core.svn.wordpress.org/trunk@36814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 17:37:27 +00:00
Drew Jaynes
d8f8f68d42
Docs: Improve the hook doc summary for the image_strip_meta
filter, introduced in [36700].
...
See: #33642 , #30402 , #28634 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36846
git-svn-id: http://core.svn.wordpress.org/trunk@36813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 17:33:26 +00:00
Sergey Biryukov
ac2aab5b82
I18N: Move the aria-label
text in get_theme_update_available()
to a separate string for easier translation.
...
Add translator comments.
Props ramiy.
Fixes #36048 .
Built from https://develop.svn.wordpress.org/trunk@36845
git-svn-id: http://core.svn.wordpress.org/trunk@36812 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 11:12:26 +00:00
Sergey Biryukov
0ab23c217f
I18N: Move the aria-label
text in wp_plugin_update_row()
and wp_theme_update_row()
to a separate string for easier translation.
...
Add translator comments.
Props ramiy.
See #36048 .
Built from https://develop.svn.wordpress.org/trunk@36844
git-svn-id: http://core.svn.wordpress.org/trunk@36811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 11:08:27 +00:00
Sergey Biryukov
7ef42ed781
Comment out some CSS files in $_old_files
that were added back as a result of [36341].
...
Add a unit test to make sure the `$_old_files` array does not contain any current project files.
Props joemcgill, swissspidy.
Fixes #36083 .
Built from https://develop.svn.wordpress.org/trunk@36843
git-svn-id: http://core.svn.wordpress.org/trunk@36810 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 07:56:27 +00:00
Drew Jaynes
7696b79d0c
Docs: Improve syntax and correct documentation throughout a variety of methods in WP_Customize_Widgets
.
...
See #32246 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36842
git-svn-id: http://core.svn.wordpress.org/trunk@36809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 02:02:26 +00:00
Drew Jaynes
66ec5425ea
Docs: Improve documentation for WP_Customize_Widgets::customize_dynamic_partial_args()
, introduced in [36586].
...
See #27355 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36841
git-svn-id: http://core.svn.wordpress.org/trunk@36808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 01:45:26 +00:00
Drew Jaynes
e842a7b2e0
Docs: Remove an errant period following the @access
tag in the DocBlock for wpdb::close()
, mistakenly introduced in [36493].
...
Props markoheijnen.
See #34903 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36840
git-svn-id: http://core.svn.wordpress.org/trunk@36807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-04 00:03:27 +00:00
Konstantin Obenland
0f9f8418f8
Customize: Don't show custom image sizes in the media modal.
...
Custom image sizes for logos should only be used for their intended purpose.
See #33755 .
Built from https://develop.svn.wordpress.org/trunk@36839
git-svn-id: http://core.svn.wordpress.org/trunk@36806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 21:45:26 +00:00
Konstantin Obenland
1ef0d464d7
Customize: Rename custom logo classes after [36837].
...
Fixes #35945 .
Built from https://develop.svn.wordpress.org/trunk@36838
git-svn-id: http://core.svn.wordpress.org/trunk@36805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 19:59:27 +00:00
Konstantin Obenland
147d6d7d6c
Customize: Site logos are custom logos.
...
Brings the nomenclature closer to custom headers and backgrounds.
See https://wordpress.slack.com/archives/core/p1456955151003150
See #35945 .
Built from https://develop.svn.wordpress.org/trunk@36837
git-svn-id: http://core.svn.wordpress.org/trunk@36804 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 19:56:26 +00:00
Drew Jaynes
a9e4d9c7f4
Docs: Improve DocBlock syntax for WP_Customize_Nav_Menus::customize_dynamic_partial_args()
, introduced in [36586].
...
See #27355 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36836
git-svn-id: http://core.svn.wordpress.org/trunk@36803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 16:07:26 +00:00
Drew Jaynes
ee2e632774
Docs: Improve documentation for WP_Customize_Nav_Menus::filter_nonces()
, introduced in [36414].
...
See #27355 , #35617 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36835
git-svn-id: http://core.svn.wordpress.org/trunk@36802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 16:05:27 +00:00
Drew Jaynes
4a171993ed
Docs: Standardize the changelog entry for the new $author_url
argument, introduced in [36224].
...
See #35377 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36834
git-svn-id: http://core.svn.wordpress.org/trunk@36801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 16:02:27 +00:00
Drew Jaynes
2802e067a1
Docs: Improve the DocBlock summary and add a missing initial @since
version for WP_Admin_Bar::add_node()
.
...
See #32246 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36833
git-svn-id: http://core.svn.wordpress.org/trunk@36800 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 15:58:27 +00:00
Sergey Biryukov
dd82fc5ae5
Date/Time: Add a unit test for mysql_to_rfc3339()
.
...
Props borgesbruno.
Fixes #36054 .
Built from https://develop.svn.wordpress.org/trunk@36832
git-svn-id: http://core.svn.wordpress.org/trunk@36799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 13:17:28 +00:00
Joe Hoyle
73de4499fc
REST API: Unit test for OPTIONS request should call rest_send_allow_header
...
In [36829] we moved this logic to rest_send_allow_header()
See #36829 .
Built from https://develop.svn.wordpress.org/trunk@36831
git-svn-id: http://core.svn.wordpress.org/trunk@36798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 11:38:28 +00:00
Sergey Biryukov
9e8b3817fd
Docs: Correct $plugins
global type in WP_Plugins_List_Table::prepare_items()
.
...
Props mt8.biz.
Fixes #36080 .
Built from https://develop.svn.wordpress.org/trunk@36830
git-svn-id: http://core.svn.wordpress.org/trunk@36797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 10:01:25 +00:00
Joe Hoyle
09024dae88
OPTIONS requests to REST API should return Allow header.
...
An OPTIONS request was incorrectly returning an "Accept" header which
was a typo of "Allow". This meant Accept was showing "GET, POST" for example,
however it was also not running the permission checks on the endpoints.
Instead, the correct route needs to be set on the request object, which means
the normal handling for the Allow header will kick in. This technically
breaks backwards compatibility, however given the value of Accept was also wrong
then this should not be an issue.
Fixes #35975 .
Built from https://develop.svn.wordpress.org/trunk@36829
git-svn-id: http://core.svn.wordpress.org/trunk@36796 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:55:26 +00:00
Pascal Birchler
05c069272f
Docs: Move the hook doc for the all_plugins
filter in WP_Plugins_List_Table::prepare_items()
to directly precede the apply_filters()
line.
...
See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36828
git-svn-id: http://core.svn.wordpress.org/trunk@36795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:51:25 +00:00
Pascal Birchler
52c901d983
Docs: Improve documentation for the update_welcome_user_email()
filter, introduced in [26538].
...
See #25598 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36827
git-svn-id: http://core.svn.wordpress.org/trunk@36794 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:12:27 +00:00
Drew Jaynes
fc57bb7a04
Docs: Minorly improve the hook doc summary for the pre_network_site_new_created_user
action, introduced in [35786].
...
See #33631 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36826
git-svn-id: http://core.svn.wordpress.org/trunk@36793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:03:25 +00:00
Drew Jaynes
56fb3cc08d
Docs: Improve documentation for upgrade_450()
, introduced in [36180].
...
See #27772 , #35323 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36825
git-svn-id: http://core.svn.wordpress.org/trunk@36792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 09:01:26 +00:00
Drew Jaynes
9b531bb473
Docs: Minorly improve the hook doc summary for the pre_uninstall_plugin
action, introduced in [36124].
...
See #34569 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36824
git-svn-id: http://core.svn.wordpress.org/trunk@36791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 08:58:26 +00:00
Drew Jaynes
5c8a9e68b6
Docs: Add a more descriptive changelog entry to the hook doc for the privacy_on_link_title
filter.
...
See #35049 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36823
git-svn-id: http://core.svn.wordpress.org/trunk@36790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 08:56:26 +00:00
Drew Jaynes
08e7c845cc
Docs: Improve documentation for WP_Upgrader::release_lock()
, introduced in [36349].
...
See #34878 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36822
git-svn-id: http://core.svn.wordpress.org/trunk@36789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 07:11:25 +00:00
Drew Jaynes
1dc0a9a5f7
Docs: Improve documentation for WP_Upgrader::create_lock()
, introduced in [36349].
...
See #34878 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36821
git-svn-id: http://core.svn.wordpress.org/trunk@36788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 07:08:25 +00:00
Drew Jaynes
e230095225
Docs: Use third-person singular verbs in DocBlock summaries for the WP_Site_Logo
class, introduced in [36698].
...
Also minorly improves various inline docs.
See #33755 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36820
git-svn-id: http://core.svn.wordpress.org/trunk@36787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 07:04:25 +00:00
Drew Jaynes
4fda7ca277
Docs: Match the parameter name in the hook docs for the press_this_useful_html_elements
filter, introduced in [36672].
...
See #34455 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@36819
git-svn-id: http://core.svn.wordpress.org/trunk@36786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 06:58:26 +00:00
Gary Pendergast
5285483e6f
Emoji: Fix some jshint warnings introduced in [36816].
...
See #35300 .
Built from https://develop.svn.wordpress.org/trunk@36818
git-svn-id: http://core.svn.wordpress.org/trunk@36785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 05:48:25 +00:00
Gary Pendergast
7803ae4cea
Emoji: Add some extra IE11 compatibility.
...
IE 11's implementation of MutationObserver is buggy. It unnecessarily splits text nodes when it encounters a HTML template interpolation symbol ( "{{", for example ). So, we join the text nodes back together as a work-around.
Fixes #35977 for trunk.
Built from https://develop.svn.wordpress.org/trunk@36817
git-svn-id: http://core.svn.wordpress.org/trunk@36784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 05:21:26 +00:00
Gary Pendergast
2c277e3952
Emoji: Clean up the emoji browser support tests.
...
As new sets of emoji are added to Unicode, and browsers add support for them at random intervals, we'll inevitably need to add new tests to the emoji loader. This change makes it much easier to add new tests as they're needed.
Fixes #35300 .
Built from https://develop.svn.wordpress.org/trunk@36816
git-svn-id: http://core.svn.wordpress.org/trunk@36783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 05:17:26 +00:00
Mike Schroder
f1f2c682d6
Post 4.5-beta2 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@36815
git-svn-id: http://core.svn.wordpress.org/trunk@36782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 04:59:25 +00:00
Mike Schroder
b055c83c01
4.5-beta2
...
Built from https://develop.svn.wordpress.org/trunk@36814
git-svn-id: http://core.svn.wordpress.org/trunk@36781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 03:58:26 +00:00
John Blackbourn
c69dfc5de4
Uploads: Remove an unnecessary static var from wp_is_mobile()
to allow its direct and indirect use within unit tests. The static `$is_m
...
obile` var was only used to avoid a handful of calls to `strpos()`, which are exceptionally fast and result in no measurable increase in
processing time on each call to `wp_is_mobile()`.
See #35976 , #20014
Built from https://develop.svn.wordpress.org/trunk@36813
git-svn-id: http://core.svn.wordpress.org/trunk@36780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 03:25:26 +00:00
John Blackbourn
7150ec43c9
Revert r36811.
...
Built from https://develop.svn.wordpress.org/trunk@36812
git-svn-id: http://core.svn.wordpress.org/trunk@36779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 03:23:26 +00:00
John Blackbourn
0cd76839f1
Built from https://develop.svn.wordpress.org/trunk@36811
...
git-svn-id: http://core.svn.wordpress.org/trunk@36778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 03:17:26 +00:00
John Blackbourn
79dba2c6cc
Uploads: Add tests for device upload capabilities based on user agent.
...
Fixes #35976
Props borgesbruno
Built from https://develop.svn.wordpress.org/trunk@36810
git-svn-id: http://core.svn.wordpress.org/trunk@36777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-03 02:01:26 +00:00
Dominik Schilling
447b284107
Customizer: Merge two translator comments.
...
Built from https://develop.svn.wordpress.org/trunk@36809
git-svn-id: http://core.svn.wordpress.org/trunk@36776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 23:10:26 +00:00
Sergey Biryukov
1dc98b2e49
Taxonomy: Remove unnecessary 'All categories' string on Edit Posts and Edit Links screens and use taxonomy's all_items
label instead.
...
Props johnbillion.
Fixes #36049 .
Built from https://develop.svn.wordpress.org/trunk@36808
git-svn-id: http://core.svn.wordpress.org/trunk@36775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 22:14:25 +00:00
Andrew Ozz
a0978ec8b4
TinyMCE: then toggling the paste in plain text mode disable the warning message after the second time.
...
Fixes #28612 .
Built from https://develop.svn.wordpress.org/trunk@36807
git-svn-id: http://core.svn.wordpress.org/trunk@36774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 22:10:27 +00:00
Andrew Ozz
40b3bb7988
TinyMCE, inline link:
...
- Add `uiAutocompleteL10n` with translatable strings for use in UI Autocomplete live region.
- Use the above strings in both the editor plugin and wplink.js.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36806
git-svn-id: http://core.svn.wordpress.org/trunk@36773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 20:06:26 +00:00
Weston Ruter
ee85740365
Customize: Remove gap above section contained in panel when initially focusing on control.
...
Props mattwiebe.
Fixes #36050 .
Built from https://develop.svn.wordpress.org/trunk@36805
git-svn-id: http://core.svn.wordpress.org/trunk@36772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 18:37:26 +00:00
Weston Ruter
2caafbe1a0
Customize: Fix visibility of preview in iOS.
...
Removes CSS rule added in [21014] that is now obsolete.
Props adamsilverstein.
See #20805 .
Fixes #35875 .
Built from https://develop.svn.wordpress.org/trunk@36804
git-svn-id: http://core.svn.wordpress.org/trunk@36771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 18:22:26 +00:00
Andrew Ozz
ef83c4e3c2
TinyMCE: update to 4.3.7. Has few bug/regression fixes. Changelog: https://github.com/tinymce/tinymce-dist/blob/4.3.7/changelog.txt .
...
Fixes #36035 .
Built from https://develop.svn.wordpress.org/trunk@36803
git-svn-id: http://core.svn.wordpress.org/trunk@36770 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 18:13:26 +00:00
Dominik Schilling
56d28131dc
I18N: Don't use the locale for the HTML language attribute.
...
Locales are codes to identify a language in WordPress which can be different from the specification for language tags, see https://www.w3.org/International/articles/language-tags/ .
An example is `de_DE_formal` or `nl_NL_formal` where the subtag `formal` isn't officially supported.
To give translators the possibility to specify the language tag of their language introduce a string `html_lang_attribute` which can be translated into the language tag which conforms to the specification.
Props SergeyBiryukov.
Fixes #33511 .
Built from https://develop.svn.wordpress.org/trunk@36802
git-svn-id: http://core.svn.wordpress.org/trunk@36769 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 16:10:28 +00:00
Weston Ruter
b757de7da9
Customize: Define params on WP_Customize_Partial::render_callback()
for the sake of subclasses overriding this method.
...
Fixes a strict standards notice regarding the method signature needing to be compatible.
See #27355 .
Built from https://develop.svn.wordpress.org/trunk@36801
git-svn-id: http://core.svn.wordpress.org/trunk@36768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 06:09:26 +00:00
Sergey Biryukov
ef7a559e2e
Docs: Correct filter reference in pre_get_avatar
filter description.
...
Props henry.wright.
Fixes #36031 .
Built from https://develop.svn.wordpress.org/trunk@36800
git-svn-id: http://core.svn.wordpress.org/trunk@36767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 03:41:28 +00:00
Andrew Ozz
bd161f342d
TinyMCE: fix the close button position in the paste in text mode warning.
...
See #36035 .
Built from https://develop.svn.wordpress.org/trunk@36799
git-svn-id: http://core.svn.wordpress.org/trunk@36766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-02 01:15:27 +00:00
Andrew Ozz
4c59ced046
TinyMCE: update to 4.3.6. Changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt .
...
Fixes #36035 .
Built from https://develop.svn.wordpress.org/trunk@36798
git-svn-id: http://core.svn.wordpress.org/trunk@36765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 23:13:31 +00:00
Weston Ruter
f78775a6db
Customize: Use selective refresh to preview changes to site title and tagline in core themes.
...
Fixes issue where `wptexturize` and other filters fail to apply when previewing changes via `postMessage` transport.
See #27355 .
Fixes #33738 .
Built from https://develop.svn.wordpress.org/trunk@36797
git-svn-id: http://core.svn.wordpress.org/trunk@36764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 22:18:26 +00:00
Weston Ruter
94b59e7f0d
Customize: Ensure autofocus deep-linking applies for dynamically-created panels, sections, and controls.
...
Removes overly-zealous filtering of autofocus panels, sections, and controls which are unrecognized or for which the user doesn't have the capability to focus (in which case it would no-op anyway). Also defers autofocus logic until instances are created, even after initial `ready` event. This ensures that autofocus can apply for any panels, sections, or controls that get created via the loaded preview.
See #28650 .
Fixes #36018 .
Built from https://develop.svn.wordpress.org/trunk@36796
git-svn-id: http://core.svn.wordpress.org/trunk@36763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 22:04:27 +00:00
Pascal Birchler
dfadc557b6
Tests: Add unit tests for number_format_i18n()
.
...
Props pbearne for initial patch.
Fixes #36029 .
Built from https://develop.svn.wordpress.org/trunk@36795
git-svn-id: http://core.svn.wordpress.org/trunk@36762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 21:20:29 +00:00
Sergey Biryukov
5a7a3bb924
I18N: Move the aria-label
text in comment_form()
to a separate string for easier translation.
...
Add translator comments.
Props ramiy.
Fixes #36014 .
Built from https://develop.svn.wordpress.org/trunk@36794
git-svn-id: http://core.svn.wordpress.org/trunk@36761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 02:14:25 +00:00
Sergey Biryukov
5ed4b4ed7b
I18N: Remove HTML tags from translatable string in wp-admin/includes/dashboard.php
.
...
Props ramiy, SergeyBiryukov.
Fixes #36013 .
Built from https://develop.svn.wordpress.org/trunk@36793
git-svn-id: http://core.svn.wordpress.org/trunk@36760 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-01 01:39:27 +00:00
Andrea Fercia
cc58c4a940
Link Manager: Fix usage of translation functions after [35998].
...
Uses `printf()` instead, adds translator comment.
Fixes #35135 .
Built from https://develop.svn.wordpress.org/trunk@36792
git-svn-id: http://core.svn.wordpress.org/trunk@36759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 23:26:26 +00:00
Boone Gorges
cb9ee7e993
Use markTestSkipped()
to skip a multisite-only test.
...
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36791
git-svn-id: http://core.svn.wordpress.org/trunk@36758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 22:56:27 +00:00
Boone Gorges
7daae5937c
Ensure that user __unset()
tests make assertions.
...
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36790
git-svn-id: http://core.svn.wordpress.org/trunk@36757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 22:50:25 +00:00
Boone Gorges
e93ff3f036
Remove erroneous return
in date_query
test.
...
Introduced in [34989].
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36789
git-svn-id: http://core.svn.wordpress.org/trunk@36756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 22:41:25 +00:00
Boone Gorges
a4881a9c2c
mbstring.func_overload test should be skipped properly.
...
This avoids PHPUnit notices related to "risky" tests.
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36788
git-svn-id: http://core.svn.wordpress.org/trunk@36755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 22:38:26 +00:00
Boone Gorges
dd07c927da
Remove tests related to wp_*_post_meta()
functions.
...
These tests functions were introduced as part of the attempt to straighten out
metadata slashing. See [23416]. The functions were later pulled out [23554],
but the tests were not removed at the same time. Since that point, they've
done nothing, so they can safely be removed.
See #21767 . See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36787
git-svn-id: http://core.svn.wordpress.org/trunk@36754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 22:14:26 +00:00
Boone Gorges
32ee9cc085
Tests: Make sure that test_wp_mail_break_it()
makes an assertion.
...
Let's make what is possibly the oddest test in WordPress even a bit odder.
See https://core.trac.wordpress.org/ticket/28909#comment:47 for backstory on
the test.
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36786
git-svn-id: http://core.svn.wordpress.org/trunk@36753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 22:05:26 +00:00
Boone Gorges
dadda0794e
Tests: setExpectedDeprecated
and setExpectedIncorrectUsage
tests should make assertions.
...
Introduced in [31306].
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36785
git-svn-id: http://core.svn.wordpress.org/trunk@36752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 21:56:26 +00:00
Boone Gorges
7136d00cc5
More specific test for a bad callback in WP_Customize_Partial
test.
...
The 'render_callback' passed to `WP_Customize_Partial` must either echo or
return a result - not both. When it's detected that the callback echoes and
returns a value, the return value takes precedence. This is now reflected in
the corresponding unit test.
Introduced in [36586].
See #27355 . See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36784
git-svn-id: http://core.svn.wordpress.org/trunk@36751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 21:54:25 +00:00
Dominik Schilling
dc6a3284e8
Media: JSHint for wp-playlist.js
.
...
File was added to the watchlist in [36780].
See #35984 .
Built from https://develop.svn.wordpress.org/trunk@36783
git-svn-id: http://core.svn.wordpress.org/trunk@36750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 21:50:27 +00:00
Boone Gorges
41f15f3c2c
Remove test related to deprecated Customizer export_preview_data()
method.
...
The method was gutted and deprecated in [36586], so there's no reason to keep
the test.
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36782
git-svn-id: http://core.svn.wordpress.org/trunk@36749 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 21:07:27 +00:00
Dominik Schilling
f4d773424a
i18n tools: In StringExtractor
don't strip slashes from URLs.
...
Props SergeyBiryukov, ocean90.
Fixes #36015 .
Built from https://develop.svn.wordpress.org/trunk@36781
git-svn-id: http://core.svn.wordpress.org/trunk@36748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 20:45:26 +00:00
Dominik Schilling
7bd910b30d
Media: Add support for minified versions of wp-playlist.js, wp-mediaelement.js and wp-mediaelement.css.
...
Fixes #35984 .
Built from https://develop.svn.wordpress.org/trunk@36780
git-svn-id: http://core.svn.wordpress.org/trunk@36747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 20:43:26 +00:00
Boone Gorges
340b8ff6b8
Put an assertion in test_nonexistent_array()
test.
...
The point of the test is to demonstrate that PHP doesn't throw a notice when
calling `unset()` on an undefined array key. To placate PHPUnit's useless test
detection, we add a redundant assertion.
Introduced in [25240].
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36779
git-svn-id: http://core.svn.wordpress.org/trunk@36746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 20:35:27 +00:00
Boone Gorges
1c2b81f493
Make sure an assertion takes place in 'visited' test for get_category_parents()
.
...
See #36016 .
Built from https://develop.svn.wordpress.org/trunk@36778
git-svn-id: http://core.svn.wordpress.org/trunk@36745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 20:31:25 +00:00
Andrew Ozz
b8d5769726
TinyMCE, inline link:
...
- Fix running wpLink without tinymce.js and the TinyMCE plugin without wplink.js.
- Do not show the Advanced button in the inline link dialog when wpLink is not loaded.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@36777
git-svn-id: http://core.svn.wordpress.org/trunk@36744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 19:38:27 +00:00
Weston Ruter
53493af312
Customize: Fix PHP notice when calling WP_Customize_Control::json()
inside content_template()
method.
...
A `temp` control is instantiated when `WP_Customize_Manager:: render_control_templates()` is called. This control needs to explicitly specify an empty settings array to avoid trying to use a `temp` setting which won't exist.
See #35926 .
See #29572 .
Built from https://develop.svn.wordpress.org/trunk@36776
git-svn-id: http://core.svn.wordpress.org/trunk@36743 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 07:03:27 +00:00
Sergey Biryukov
d115144857
Formatting: In sanitize_title_with_dashes()
, convert  
, &ndash
, and &mdash
HTML entities to hyphens on save.
...
Props polevaultweb for initial patch.
Fixes #31790 .
Built from https://develop.svn.wordpress.org/trunk@36775
git-svn-id: http://core.svn.wordpress.org/trunk@36742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 04:42:27 +00:00
Sergey Biryukov
2099e388bb
Comments: Avoid extra AJAX requests when undoing Spam or Trash actions.
...
Props afercia.
Fixes #35904 .
Built from https://develop.svn.wordpress.org/trunk@36774
git-svn-id: http://core.svn.wordpress.org/trunk@36741 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 03:20:26 +00:00
Sergey Biryukov
3cd78105dd
I18N: Remove <code>
tags from translatable string in wp-admin/network/site-new.php
.
...
Props ramiy.
Fixes #35994 .
Built from https://develop.svn.wordpress.org/trunk@36773
git-svn-id: http://core.svn.wordpress.org/trunk@36740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 03:17:26 +00:00
Sergey Biryukov
376f723485
I18N: Remove <a>
tag from translatable string in wp-includes/class-wp-customize-manager.php
.
...
Props ramiy.
Fixes #35992 .
Built from https://develop.svn.wordpress.org/trunk@36772
git-svn-id: http://core.svn.wordpress.org/trunk@36739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 03:14:26 +00:00
Sergey Biryukov
d986a84152
I18N: Remove <code>
tag from translatable string in wp-admin/network/site-new.php
.
...
Props ramiy.
Fixes #35989 .
Built from https://develop.svn.wordpress.org/trunk@36771
git-svn-id: http://core.svn.wordpress.org/trunk@36738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 02:44:26 +00:00
Sergey Biryukov
6cf7973221
I18N: Remove HTML tags from translatable strings in wp-admin/network/themes.php
.
...
Props ramiy.
Fixes #35988 .
Built from https://develop.svn.wordpress.org/trunk@36770
git-svn-id: http://core.svn.wordpress.org/trunk@36737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 02:38:26 +00:00
Weston Ruter
0e5bb06cb8
Customize: Allow button_labels
to be overridden in $args
passed to WP_Customize_Media_Control
and WP_Customize_Image_Control
.
...
Props chetanchauhan, celloexpressions.
See #33755 .
Fixes #35542 .
Built from https://develop.svn.wordpress.org/trunk@36769
git-svn-id: http://core.svn.wordpress.org/trunk@36736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-02-29 00:40:26 +00:00