Mike Schroder
388cf29da4
4.5-RC2
...
Built from https://develop.svn.wordpress.org/trunk@37172
git-svn-id: http://core.svn.wordpress.org/trunk@37139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 04:21:27 +00:00
Jeremy Felt
4d9c9b9433
Ensure consistent dependency order when using wp_add_inline_script()
...
This disables the concatenation of remaining enqueued scripts once `wp_add_inline_script()` is invoked, which allows us to reliably print these scripts and their before/after inline scripts in the desired order.
Props gitlost, azaozz, swisspidy, ocean90.
Fixes #36392 .
Built from https://develop.svn.wordpress.org/trunk@37171
git-svn-id: http://core.svn.wordpress.org/trunk@37138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 03:33:26 +00:00
Jeremy Felt
a70a6c4bae
4.5 About Page, second round.
...
* Adjust text.
* Improve headings hierarchy.
* Add translation functions and translator comments throughout.
Props ocean90, afercia, ramiy, mikeschroder, mattfelten, helen.
See #36173 .
Built from https://develop.svn.wordpress.org/trunk@37170
git-svn-id: http://core.svn.wordpress.org/trunk@37137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-10 02:03:29 +00:00
Andrew Ozz
4e6b257fa3
4.5 About screen.
...
Props mikeschroder, melchoyce, ocean90, ryelle, jeremyfelt, Ipstenu, celloexpressions, DrewAPicture.
See #36173 .
Built from https://develop.svn.wordpress.org/trunk@37169
git-svn-id: http://core.svn.wordpress.org/trunk@37136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-09 06:23:26 +00:00
Helen Hou-Sandí
5d8b9805eb
Default theme bumps for 4.5.
...
* Twenty Eleven 2.4
* Twenty Twelve 2.0
* Twenty Thirteen 1.9
* Twenty Fourteen 1.7
* Twenty Fifteen 1.5
props davidakennedy, ocean90.
fixes #36354 .
Built from https://develop.svn.wordpress.org/trunk@37168
git-svn-id: http://core.svn.wordpress.org/trunk@37135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-08 21:22:28 +00:00
Andrew Ozz
c353544c47
Customizer: fix cropping of small images when setting header image, site icon or logo.
...
Props obenland.
Fixes #36412 .
Built from https://develop.svn.wordpress.org/trunk@37167
git-svn-id: http://core.svn.wordpress.org/trunk@37134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-08 01:23:29 +00:00
Dominik Schilling
9363b592e3
Customize: Harden assignment of Customizer settings transports for selective refreshable widgets
...
Theme support for `customize-selective-refresh-widgets` can be added _after_ the logic for registering the settings for incoming widgets that have been changed. This is due to themes adding the theme support in `after_setup_theme` which is also the action where `WP_Customize_Widgets::register_settings()` is called. If these both happen at priority 10, which one is called first depends on which one was added first. The other issue is that at the time that `WP_Customize_Widgets::register_settings()` is called at `after_setup_theme`, it is called before `widgets_init` and thus no widgets are yet registered. This means that any settings registered at this point will always have a `refresh` transport even if the theme supports `customize-selective-refresh-widgets`, since the `WP_Widget` instance is not visible yet to see if it supports selective refresh.
The fix: Defer `WP_Customize_Widgets::register_settings()` from `after_setup_theme` to `widgets_init` at priority 95 when the widget objects have all been registered. Also, ensure that the preview filter for `sidebars_widgets` is added before the sidebars are iterated for adding the controls.
Props westonruter.
Fixes #36389 .
Built from https://develop.svn.wordpress.org/trunk@37166
git-svn-id: http://core.svn.wordpress.org/trunk@37133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-07 20:59:29 +00:00
Boone Gorges
cfab9716e3
Use __trashed
suffix rather than -%trashed%
for trashed post slugs.
...
Percent signs are reserved characters in URIs. As such, it was impossible for
plugins to route requests to trashed posts, as happens in bbPress. The new
`__trashed` suffix should be sufficiently unique.
Also adds a test that demonstrates that the `__trashed` suffix can be
appended to slugs that contain the suffix somewhere other than the end of
the string.
Props netweb, ericlewis.
Fixes #11863 .
Built from https://develop.svn.wordpress.org/trunk@37165
git-svn-id: http://core.svn.wordpress.org/trunk@37132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-07 19:22:28 +00:00
Aaron Jorbin
1c1daa7ba4
External Libraries: Update jQuery to 1.12.3.
...
Sing it with me: jQuery fixed two issues, now you can get them with WP 4.5.
Release Post: http://blog.jquery.com/2016/04/05/jquery-1-12-3-and-2-2-3-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.2...1.12.3
Fixes #35380 .
Props ocean90.
Built from https://develop.svn.wordpress.org/trunk@37164
git-svn-id: http://core.svn.wordpress.org/trunk@37131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-06 22:45:27 +00:00
Mark Jaquith
31152de134
REST API: Deliver parameters unadulterated instead of slashed.
...
We goofed, and parameters accessed through the REST API's methods
were slashed (inconsistently, even). This unslashes the data, so
you get the un-messed-with data that was sent.
Props joehoyle.
Fixes #36419 .
Built from https://develop.svn.wordpress.org/trunk@37163
git-svn-id: http://core.svn.wordpress.org/trunk@37130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-06 21:02:28 +00:00
Dominik Schilling
b3b22fa1c6
I18N: On the Updates screen simplify plugin's version details link.
...
Replace the use of a `.screen-reader-text` element with an `aria-label` attribute to make the text easier to translate.
Props dimadin, ocean90.
See #35001 .
Fixes #36410 .
Built from https://develop.svn.wordpress.org/trunk@37162
git-svn-id: http://core.svn.wordpress.org/trunk@37129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-06 12:52:30 +00:00
Aaron Jorbin
6c24223def
Make Moderate Comment Screen Great Again by showing links
...
You know what's wrong with the Moderate Comment Screen? It doesn't win anymore. Well, I'm going make the Moderate Comment screen win. It's going to win by showing the urls that are linked to from every anchor. It's going to win by having those urls be a lighter shade of gray than the surrounding text. Spammy links aren't going to be able to hide in commas. Spammy links aren't going to win. The Moderate Comment Screen is going to win and we are going to make the Moderate Comment Screen Great Again.
Fixes #36380
Props rachelbaker, mikeschroder, adamsilverstein, boonebgorges, melchoyce, ocean90, jorbin, pento
Built from https://develop.svn.wordpress.org/trunk@37161
git-svn-id: http://core.svn.wordpress.org/trunk@37127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-06 00:35:27 +00:00
Andrea Fercia
1bb3dd0ee7
Accessibility: improvements for the Editor wpLink modal form fields.
...
Adds `aria-describedby` attributes to the modal form fields after it
was partly restored in [37154].
Fixes #33301 .
Built from https://develop.svn.wordpress.org/trunk@37160
git-svn-id: http://core.svn.wordpress.org/trunk@37126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-05 22:24:27 +00:00
Dominik Schilling
f5c3c658a4
Editor: Remove trailing space from a help text string.
...
Props dimadin.
Fixes #36407 .
Built from https://develop.svn.wordpress.org/trunk@37159
git-svn-id: http://core.svn.wordpress.org/trunk@37125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-05 10:54:29 +00:00
John Blackbourn
32b262fa1c
Comments: Wrap the formatted comment text on the comment moderation screen in comment_text()
so paragraphs and texturisation are applied.
...
Fixes #34133
Built from https://develop.svn.wordpress.org/trunk@37158
git-svn-id: http://core.svn.wordpress.org/trunk@37124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-04 23:33:27 +00:00
John Blackbourn
217b3b6487
Role/Capability: Add create_sites
and delete_sites
to the list of capabilities that are checked as part of the comporehensive roles and capabilities tests.
...
See #32394 , #36413
Built from https://develop.svn.wordpress.org/trunk@37157
git-svn-id: http://core.svn.wordpress.org/trunk@37123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-04 22:30:28 +00:00
Dominik Schilling
3067561bd7
Plugins: Use correct placeholder for the number of reviews.
...
`number_format_i18n()` returns a string, not an integer.
See #35111 .
Fixes #36395 .
Built from https://develop.svn.wordpress.org/trunk@37156
git-svn-id: http://core.svn.wordpress.org/trunk@37122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-02 11:17:26 +00:00
Dominik Schilling
72a544168a
I18N: Clarify translator comment for an a11y label added in [36618].
...
Props TacoVerdo.
See #35111 .
Fixes #36396 .
Built from https://develop.svn.wordpress.org/trunk@37155
git-svn-id: http://core.svn.wordpress.org/trunk@37121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-02 11:12:26 +00:00
Andrew Ozz
2618ccf64d
Editor, wpLink:
...
- Restore the bottom half of the modal.
- Make it always expanded and remove the toggle. It is used as advanced link options now, no need to have simple mode.
Props iseulde, adamsilverstein, azaozz.
Fixes #36359 .
Built from https://develop.svn.wordpress.org/trunk@37154
git-svn-id: http://core.svn.wordpress.org/trunk@37120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-04-01 21:13:29 +00:00
Weston Ruter
a311bea6d1
Customize: Fix toggle of title attribute field visibility on nav menus admin page.
...
Improves alignment with nav menus in the Customizer, fixing regression introduced in [36908].
See #35273 .
Props sidati, westonruter.
Fixes #36353 .
Built from https://develop.svn.wordpress.org/trunk@37153
git-svn-id: http://core.svn.wordpress.org/trunk@37119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 21:55:27 +00:00
Weston Ruter
1a9fda07a4
Customize: Put focus on change button instead of remove button in media control.
...
Allow controls to specify the primary element to receive focus by adding a `control-focus` class.
Props adamsilverstein, westonruter.
Fixes #36337 .
Built from https://develop.svn.wordpress.org/trunk@37152
git-svn-id: http://core.svn.wordpress.org/trunk@37118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 21:41:26 +00:00
Aaron Jorbin
328b4aff92
Adjust unit tests to account for change in [37144]
...
Built from https://develop.svn.wordpress.org/trunk@37150
git-svn-id: http://core.svn.wordpress.org/trunk@37117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 19:53:25 +00:00
Aaron Jorbin
4e3df608dc
Remove Debugging code introduced in [37145]
...
Built from https://develop.svn.wordpress.org/trunk@37148
git-svn-id: http://core.svn.wordpress.org/trunk@37115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 18:58:26 +00:00
Aaron Jorbin
bd7ffca854
Add Nonce to updating wporg_favorites user meta field
...
Built from https://develop.svn.wordpress.org/trunk@37145
git-svn-id: http://core.svn.wordpress.org/trunk@37112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 18:36:26 +00:00
Nikolay Bachiyski
9b7a775413
Add nonce to AJAX action for script compression setting
...
Built from https://develop.svn.wordpress.org/trunk@37143
git-svn-id: http://core.svn.wordpress.org/trunk@37110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 18:21:25 +00:00
Konstantin Obenland
db47a4913c
Template: Remove $size
reference from get_custom_logo()
.
...
Argument was removed in [37077] in favor of `with` and `height` arguments.
Props ocean90.
Fixes #36327 .
Built from https://develop.svn.wordpress.org/trunk@37135
git-svn-id: http://core.svn.wordpress.org/trunk@37102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 17:20:27 +00:00
Nikolay Bachiyski
b4d97cc8a7
Taxonomies: make sure taxonomy functions work correctly with taxonomy names with special characters
...
The codex says that taxonomy names "should only contain lowercase letters and the underscore character", but that's not enforced. It's too late to enforce it, since some plugins haven't been following it and the official phpdoc doesn't mention this restriction.
Built from https://develop.svn.wordpress.org/trunk@37133
git-svn-id: http://core.svn.wordpress.org/trunk@37100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 17:13:28 +00:00
Jeremy Felt
cb2b3ed3c7
Multisite: Improve escaping in network settings.
...
Built from https://develop.svn.wordpress.org/trunk@37124
git-svn-id: http://core.svn.wordpress.org/trunk@37091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 15:59:26 +00:00
Dominik Schilling
af9f052087
HTTP: Improve detection of valid IP addresses.
...
Built from https://develop.svn.wordpress.org/trunk@37115
git-svn-id: http://core.svn.wordpress.org/trunk@37082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 15:38:26 +00:00
Drew Jaynes
9e4415bc5f
Docs: Ignore _wp_upload_dir_baseurl()
from parsing for the Code Reference.
...
See #36371 .
Built from https://develop.svn.wordpress.org/trunk@37114
git-svn-id: http://core.svn.wordpress.org/trunk@37081 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 15:29:26 +00:00
Konstantin Obenland
1edaf1c357
Customize: Respect aspect ratio on cropped images.
...
Takes into account whether the control supports `flex_width` and/or
`flex_height` and adjusts destination measurements accordingly.
Fixes #36318 .
Built from https://develop.svn.wordpress.org/trunk@37113
git-svn-id: http://core.svn.wordpress.org/trunk@37080 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 15:14:27 +00:00
Andrew Ozz
bfd19e92f5
Add deprecated notice and removal warning to _wp_upload_dir_baseurl()
.
...
Props DrewAPicture, azaozz.
Fixes #36371 .
Built from https://develop.svn.wordpress.org/trunk@37112
git-svn-id: http://core.svn.wordpress.org/trunk@37079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 15:10:27 +00:00
Dominik Schilling
6a3acea8b5
Multisite: Validate new email address confirmations.
...
Built from https://develop.svn.wordpress.org/trunk@37103
git-svn-id: http://core.svn.wordpress.org/trunk@37070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 14:44:26 +00:00
Nikolay Bachiyski
b15e4d2775
Snoopy: use escapeshellarg instead of escapeshellcmd
...
We are escaping arguments, not commands, so we'd better use the semantically correct function, even though they are similar.
Built from https://develop.svn.wordpress.org/trunk@37094
git-svn-id: http://core.svn.wordpress.org/trunk@37061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 13:58:28 +00:00
Aaron Jorbin
c1d684383c
Prevent PHP Warnings when using Custom Logo with no params
...
The parsing of defaults assumes that $args will be an array. This solves it for Custom Logo the same way it is solved for custom-header and custom-background.
Props obenland.
Fixes #36332 .
Built from https://develop.svn.wordpress.org/trunk@37092
git-svn-id: http://core.svn.wordpress.org/trunk@37059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-30 02:22:26 +00:00
Dominik Schilling
9a16bfb5dc
Editor: Make the tooltip for the 'apply' button in the inline link dialog translatable.
...
Props SergeyBiryukov.
Fixes #36366 .
Built from https://develop.svn.wordpress.org/trunk@37091
git-svn-id: http://core.svn.wordpress.org/trunk@37058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-29 21:11:28 +00:00
Drew Jaynes
0e53ff6692
Docs: Standardize file headers for two embed templates introduced in [36693] for #34561 .
...
Props flixos90.
Also missed props for flixos90 on [37087].
See #35986 . See #36352 .
Built from https://develop.svn.wordpress.org/trunk@37088
git-svn-id: http://core.svn.wordpress.org/trunk@37055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-28 18:27:26 +00:00
Drew Jaynes
0405289c03
Docs: Reference the correct embed templates and template parts filenames in headers for embed files introduced or changed in 4.5.
...
See [36693], #34561 . See #35986 . Fixes #36352 .
Built from https://develop.svn.wordpress.org/trunk@37087
git-svn-id: http://core.svn.wordpress.org/trunk@37054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-28 18:24:27 +00:00
Drew Jaynes
b6d1626613
Docs: Following [37085], properly indent the markdown-formatted examples in the DocBlock for wpdb::esc_like()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@37086
git-svn-id: http://core.svn.wordpress.org/trunk@37053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-27 18:27:26 +00:00
Drew Jaynes
60b9a5a48f
Docs: Add missing quotes around a specifier in a query example in the DocBlock for wpdb::esc_like()
.
...
Props madvic.
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@37085
git-svn-id: http://core.svn.wordpress.org/trunk@37052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-27 18:25:26 +00:00
Pascal Birchler
b204d3ead2
Taxonomy: After [36874], run the correct load-edit-tags.php
hook on the new term edit page.
...
When not misspelled, this hook is useful (and needed) for backward compatibility.
Unprops swissspidy.
Fixes #34988 .
Built from https://develop.svn.wordpress.org/trunk@37084
git-svn-id: http://core.svn.wordpress.org/trunk@37051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-27 15:16:29 +00:00
Drew Jaynes
cb457da489
Docs: Improve the DocBlocks for get_header_textcolor()
and header_textcolor()
to mention that they both retrieve color values in the HEX format.
...
Props theMikeD.
Fixes #36336 .
Built from https://develop.svn.wordpress.org/trunk@37083
git-svn-id: http://core.svn.wordpress.org/trunk@37050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-25 23:06:27 +00:00
Ella Iseulde Van Dorpe
3a151191e4
Editor: wptextpattern: add back inline tests
...
See [37024].
See #33300 .
Built from https://develop.svn.wordpress.org/trunk@37080
git-svn-id: http://core.svn.wordpress.org/trunk@37047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-25 13:31:40 +00:00
Mike Schroder
40455626f0
Post 4.5-RC1 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@37079
git-svn-id: http://core.svn.wordpress.org/trunk@37046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-24 03:58:27 +00:00
Mike Schroder
cff715c6f6
4.5-RC1
...
Built from https://develop.svn.wordpress.org/trunk@37078
git-svn-id: http://core.svn.wordpress.org/trunk@37045 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-24 03:32:26 +00:00
Konstantin Obenland
cbbf361c03
Customize: Bring custom-logo args closer to custom-header.
...
Allows themes to specify the desired width and height of logos, and whether
that is flexible or not. Has the benefit of not having to generate a logo-sized
file for every image uploaded.
Props westonruter, celloexpressions.
Fixes #36255 .
Built from https://develop.svn.wordpress.org/trunk@37077
git-svn-id: http://core.svn.wordpress.org/trunk@37044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-24 02:02:27 +00:00
Ella Iseulde Van Dorpe
f8a66d7bf2
Update TinyMCE and jQuery UI button styles
...
Part props liljimmi.
Fixes #35571 .
Built from https://develop.svn.wordpress.org/trunk@37076
git-svn-id: http://core.svn.wordpress.org/trunk@37043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-24 00:57:28 +00:00
Sergey Biryukov
4a5dea0d62
Canonical / Query: Restore the is_404()
check in wp_old_slug_redirect()
which was removed in [34659].
...
This reverts part of [34659] due to excessive canonical problems it's caused in 4.4.x.
Remove the unit tests which are no longer supported.
This also removes the `is_feed()` code to avoid confusion - only pages & embeds will be redirected.
Merges [36280] and [36281] to trunk.
Props dd32.
See #21602 , #35344 .
Built from https://develop.svn.wordpress.org/trunk@37075
git-svn-id: http://core.svn.wordpress.org/trunk@37042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 21:54:26 +00:00
Andrew Ozz
a97d39785a
TinyMCE: include the upstream fix for inserting <hr>
while the caret is in an inline element: b1618d1adb
.
...
Fixes #36165 .
Built from https://develop.svn.wordpress.org/trunk@37074
git-svn-id: http://core.svn.wordpress.org/trunk@37041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 21:45:28 +00:00
Dominik Schilling
a2d62ccf32
Common CSS: Reset bottom padding for .nav-tab-wrapper
.
...
Props ericdaams.
Fixes #35960 .
Built from https://develop.svn.wordpress.org/trunk@37073
git-svn-id: http://core.svn.wordpress.org/trunk@37040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 20:14:26 +00:00
Dominik Schilling
7c42afee11
External Libraries: Update jQuery Migrate to 1.4.0.
...
Changes: https://github.com/jquery/jquery-migrate/compare/1.3.0...1.4.0
Fixes #35380 .
Built from https://develop.svn.wordpress.org/trunk@37072
git-svn-id: http://core.svn.wordpress.org/trunk@37039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 19:44:26 +00:00
Boone Gorges
a1d7934406
Tests: Ensure that the default wp_die()
handler can handle a WP_Error
object.
...
Props dd32, utkarshpatel.
Fixes #36166 .
Built from https://develop.svn.wordpress.org/trunk@37071
git-svn-id: http://core.svn.wordpress.org/trunk@37038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 19:01:26 +00:00
Dominik Schilling
51e6a98040
External Libraries: Update jQuery to 1.12.2.
...
Release post: http://blog.jquery.com/2016/03/17/jquery-1-12-2-and-2-2-2-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.1...1.12.2
See #35380 .
Built from https://develop.svn.wordpress.org/trunk@37070
git-svn-id: http://core.svn.wordpress.org/trunk@37037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 18:47:26 +00:00
Drew Jaynes
9f48d46be3
Docs: Properly mark $args
parameters in two WP_oEmbed
methods as optional.
...
Also clarify that the `$args` parameters can accept a string (the default) in addition to an array.
Props ramiy.
See #36296 .
Built from https://develop.svn.wordpress.org/trunk@37069
git-svn-id: http://core.svn.wordpress.org/trunk@37036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 17:08:27 +00:00
Drew Jaynes
d78762c1ef
Docs: Use third-person singular verbs for summary DocBlocks in WP_oEmbed
.
...
Also fixes inline `@see` formatting in appropriate places (summaries should not contain tags or markdown).
Props ramiy.
See #36296 .
Built from https://develop.svn.wordpress.org/trunk@37068
git-svn-id: http://core.svn.wordpress.org/trunk@37035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 16:58:26 +00:00
Drew Jaynes
d6a45b15f3
Docs: Improve and add missing DocBlocks for methods and properties in WP_oEmbed
.
...
Props ramiy.
See #36296 .
Built from https://develop.svn.wordpress.org/trunk@37067
git-svn-id: http://core.svn.wordpress.org/trunk@37034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 16:52:29 +00:00
Weston Ruter
44f38aae77
Customize: Replace site logo with custom logo terminology, fixing failure to preview logo changes.
...
Fixes regression introduced in [37040] which was from a patch that did not include the terminology change.
See #36255 .
Fixes #35855 .
Built from https://develop.svn.wordpress.org/trunk@37066
git-svn-id: http://core.svn.wordpress.org/trunk@37033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 06:26:26 +00:00
Drew Jaynes
c5a5c7c9d1
Docs: Improve inline documentation syntax throughout WP_Widget
.
...
Fixes #36298 .
Built from https://develop.svn.wordpress.org/trunk@37065
git-svn-id: http://core.svn.wordpress.org/trunk@37032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 05:32:27 +00:00
Drew Jaynes
893871a5d1
Docs: Add missing information to the WP_Widget
PHP4 constructor DocBlock.
...
Also add several missing at `@access` tags to other method DocBlocks and clarify parameter docs for `WP_Widget::form_callback()`.
Props raimy.
See #36298 .
Built from https://develop.svn.wordpress.org/trunk@37064
git-svn-id: http://core.svn.wordpress.org/trunk@37031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 05:10:26 +00:00
Drew Jaynes
e6d9d95f6d
Docs: Use third-person singular verbs for method summaries in WP_Widget_Factory
.
...
Fixes #36299 .
Built from https://develop.svn.wordpress.org/trunk@37063
git-svn-id: http://core.svn.wordpress.org/trunk@37030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 04:51:26 +00:00
Drew Jaynes
c5ff4f3b47
Docs: Add missing information to constructors DocBlocks for WP_Widget_Factory
.
...
See #36299 .
Built from https://develop.svn.wordpress.org/trunk@37062
git-svn-id: http://core.svn.wordpress.org/trunk@37029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 04:19:27 +00:00
Drew Jaynes
bbebd0f74d
Docs: Add a missing DocBlock for the WP_Widget_Factory::$widgets
property.
...
Props raimy.
See #36299 .
Built from https://develop.svn.wordpress.org/trunk@37061
git-svn-id: http://core.svn.wordpress.org/trunk@37028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 04:11:28 +00:00
Weston Ruter
41bbbfa5e7
Customize: Prevent preview iframe
from showing until fully loaded.
...
Fixes issue where the Customizer preview window can appear to momentarily bounce to the top when being refreshed. Regression from [36532].
See #31195 .
Fixes #36276 .
Built from https://develop.svn.wordpress.org/trunk@37060
git-svn-id: http://core.svn.wordpress.org/trunk@37027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-23 00:53:28 +00:00
Dominik Schilling
6c81a0cbf6
Users: In edit_user()
check for a blank password when adding a user.
...
Props wesleye, gitlost, adamsilverstein.
Fixes #35715 .
Built from https://develop.svn.wordpress.org/trunk@37059
git-svn-id: http://core.svn.wordpress.org/trunk@37026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 23:07:27 +00:00
Dominik Schilling
a5ade333e1
Travis CI: Allow to cache the node_modules directory.
...
This should speed up the installation of npm dependencies.
Props netweb.
Fixes #36291 .
Built from https://develop.svn.wordpress.org/trunk@37058
git-svn-id: http://core.svn.wordpress.org/trunk@37025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 21:50:26 +00:00
Drew Jaynes
c5053ef0be
Docs: Mark optional method parameters as such in Walker_Page
.
...
Also normalizes parameter spacing following [37056].
Fixes #36300 .
Built from https://develop.svn.wordpress.org/trunk@37057
git-svn-id: http://core.svn.wordpress.org/trunk@37024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 18:07:27 +00:00
Drew Jaynes
a336735c13
Docs: The page object type in use in Walker_Page
is WP_Post
.
...
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37056
git-svn-id: http://core.svn.wordpress.org/trunk@37023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 18:05:26 +00:00
Drew Jaynes
773cb00210
Docs: Improve inline documentation for properties and methods in Walker_Page
.
...
Props raimy.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37055
git-svn-id: http://core.svn.wordpress.org/trunk@37022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 18:04:26 +00:00
Drew Jaynes
3cdef41502
Docs: The page object type in use in Walker_PageDropdown
is WP_Post
.
...
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37054
git-svn-id: http://core.svn.wordpress.org/trunk@37021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:53:27 +00:00
Drew Jaynes
63582d4ecb
Docs: Improve inline documentation for properties and methods in Walker_PageDropdown
.
...
Props raimy for the initial patch.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37053
git-svn-id: http://core.svn.wordpress.org/trunk@37020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:51:27 +00:00
Drew Jaynes
0fb5b43307
Docs: Normalize Walker_Comment
method parameter docs spacing following [37051].
...
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37052
git-svn-id: http://core.svn.wordpress.org/trunk@37019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:46:27 +00:00
Drew Jaynes
69eeedabf9
Docs: Comment display element object types for Walker_Comment
are WP_Comment
since 4.4.0.
...
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37051
git-svn-id: http://core.svn.wordpress.org/trunk@37018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:44:25 +00:00
Drew Jaynes
7e65fe4f5b
Docs: Improve inline documentation syntax for Walker_Comment
.
...
* Marks optional parameters as such
* Improves existing parameter descriptions for clarity
* Syntax improvements
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37050
git-svn-id: http://core.svn.wordpress.org/trunk@37017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:41:27 +00:00
Drew Jaynes
c4c26e4766
Docs: Standardize the class DocBlock summary for Walker_Comment
.
...
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37049
git-svn-id: http://core.svn.wordpress.org/trunk@37016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:36:26 +00:00
Drew Jaynes
7b48765674
Docs: Improve inline documentation for properties and methods in Walker_Comment
.
...
Props raimy for the initial patch.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37048
git-svn-id: http://core.svn.wordpress.org/trunk@37015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:34:25 +00:00
Drew Jaynes
a2293256d4
Docs: Mark optional parameters in Walker_Category
methods as such.
...
Also cleans up some syntax.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37047
git-svn-id: http://core.svn.wordpress.org/trunk@37014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:30:26 +00:00
Drew Jaynes
9953858514
Docs: Improve inline documentation for property and methods in Walker_Category
.
...
Props raimy for the initial patch.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37046
git-svn-id: http://core.svn.wordpress.org/trunk@37013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:25:26 +00:00
Drew Jaynes
51e322e0ef
Docs: Improve inline documentation in property and method DocBlocks for Walker_CategoryDropdown
.
...
Props ramiy for the initial patch.
See #36300 .
Built from https://develop.svn.wordpress.org/trunk@37045
git-svn-id: http://core.svn.wordpress.org/trunk@37012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 17:22:29 +00:00
Rachel Baker
d6bf505595
XMLRPC: Unit tests left off [r37043]
...
See #35874 .
Props redsweater, rachelbaker
Built from https://develop.svn.wordpress.org/trunk@37044
git-svn-id: http://core.svn.wordpress.org/trunk@37011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 15:12:25 +00:00
Rachel Baker
470110ec3d
XMLRPC: Fix bug where draft posts couldn’t be published in the future, and would publish immediately.
...
Resolves bug introduced in [r34572], in which editing a Post via the XMLRPC API with a draft post_status, where the post_status changes from draft->publish with a future post_date set for the publish action, will have the future post_date disregarded and the Post will be published immediately. The expected behavior is that the post_date is used to schedule the Post to be published in the future.
Fixes #35874 .
Props redsweater, rachelbaker, DrewAPicture
Built from https://develop.svn.wordpress.org/trunk@37043
git-svn-id: http://core.svn.wordpress.org/trunk@37010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 15:10:28 +00:00
Weston Ruter
d1ae0642cf
Customize: Add support for flex sizes in CustomizeImageCropper
.
...
Ensures that `$flex_width` and `$flex_height` as specified on `WP_Customize_Cropped_Image_Control` will be honored when a crop is saved.
See #36255 .
Fixes #34851 .
Built from https://develop.svn.wordpress.org/trunk@37042
git-svn-id: http://core.svn.wordpress.org/trunk@37009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 03:55:29 +00:00
Joe Hoyle
a07988c1c5
REST API: Provide better method for generating CURIEs
...
In [36533] CURIEs were added to the API responses for the link relation URIs, this makes
it a lot easier for clients to look up links by relation. That patch was functional, but
broke on edge cases such as embedded responses and collection items with links in the items.
This patch instead takes a less obtrusive approach by creating a new `get_compact_response_links`
to compliment `get_response_links` making both old and new functionality available.
Also the regex for curie relations has been relaxed to `.+` as rel names can have any uri-valid charector in it.
Fixes #34729 .
Built from https://develop.svn.wordpress.org/trunk@37041
git-svn-id: http://core.svn.wordpress.org/trunk@37008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-22 00:16:27 +00:00
Weston Ruter
f3f84d2f21
Customize: Require opt-in for selective refresh of widgets.
...
* Introduces `customize-selective-refresh-widgets` theme support feature and adds to themes.
* Introduces `customize_selective_refresh` arg for `WP_Widget::$widget_options` and adds to all core widgets.
* Remove `selective_refresh` from being a component that can be removed via `customize_loaded_components` filter.
* Add `WP_Customize_Widgets::get_selective_refreshable_widgets()` and `WP_Customize_Widgets::is_widget_selective_refreshable()`.
* Fix default `selector` for `Partial` instances.
* Implement and improve Masronry sidebar refresh logic in Twenty Thirteen and Twenty Fourteen, including preservation of initial widget position after refresh.
* Re-initialize ME.js when refreshing `Twenty_Fourteen_Ephemera_Widget`.
See #27355 .
Fixes #35855 .
Built from https://develop.svn.wordpress.org/trunk@37040
git-svn-id: http://core.svn.wordpress.org/trunk@37007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-21 21:59:29 +00:00
Drew Jaynes
8e41746cb1
Docs: Change the 'HTTPS' column header to 'Supports HTTPS' in the markdown providers tables in the hook doc for the oembed_providers
filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@37039
git-svn-id: http://core.svn.wordpress.org/trunk@37006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-21 00:58:25 +00:00
Drew Jaynes
f4155d843b
Docs: Add Twitter timelines and moments to the table in the hook doc for the oembed_provders
filter, introduced in [36954].
...
See #36197 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37038
git-svn-id: http://core.svn.wordpress.org/trunk@37005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-21 00:40:29 +00:00
Mel Choyce
04c2d5d253
Dashicons: Fix incorrect ID in SVG version of font.
...
See #34221 .
Built from https://develop.svn.wordpress.org/trunk@37037
git-svn-id: http://core.svn.wordpress.org/trunk@37004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 20:43:26 +00:00
Mel Choyce
02523f91c2
Dashicons: Update to the latest files.
...
Updates .dashicons-googleplus (f462) and adds three new icons, .dashicons-move (f545), .dashicons-laptop (f547), and .dashicons-paperclip (f546).
Props liljimmi, melchoyce, empireoflight, aargh-a-knot.
See #34221 .
Built from https://develop.svn.wordpress.org/trunk@37036
git-svn-id: http://core.svn.wordpress.org/trunk@37003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 20:26:26 +00:00
Andrew Ozz
d47a15ed3c
Media: fix erroneously inserting a rel attribute in get_image_send_to_editor()
. Reverts most of [34259] and [34260] and adds a unit test.
...
Props joemcgill, azaozz.
Fixes #36084 .
Built from https://develop.svn.wordpress.org/trunk@37035
git-svn-id: http://core.svn.wordpress.org/trunk@37002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 20:05:26 +00:00
Andrew Ozz
d508fcdb51
Responsive Images: the src
of the image has to be first in the srcset
, because of a bug in iOS8. Update the unit tests to reflect the changes.
...
Props jaspermdegroot, joemcgill, azaozz.
Fixes #35030 .
Built from https://develop.svn.wordpress.org/trunk@37034
git-svn-id: http://core.svn.wordpress.org/trunk@37001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 19:45:26 +00:00
Tammie Lister
3be543d7af
Twenty Thirteen, Twenty Fourteen, Twenty Fifteen: Update screenshots to 1200 x 900
...
Fixes #34806
Props: iamtakashi
Built from https://develop.svn.wordpress.org/trunk@37033
git-svn-id: http://core.svn.wordpress.org/trunk@37000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 17:01:29 +00:00
Drew Jaynes
7be6a1c317
Docs: Document default WP_Ajax_Response::add()
arguments as a hash notation.
...
Adds example output to the DocBlock description based on default argument values.
Props ramiy for the initial patch.
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@37032
git-svn-id: http://core.svn.wordpress.org/trunk@36999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-18 11:59:27 +00:00
Rachel Baker
6edbcc88ff
REST API: Add home_url
to API index to avoid confusion with site_url
.
...
Confusion abound, the API index is the generic term `url` to display the `site_url`. New `home` key will display the `home_url` in the index as well.
Fixes #35647 .
Built from https://develop.svn.wordpress.org/trunk@37031
git-svn-id: http://core.svn.wordpress.org/trunk@36998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 19:16:29 +00:00
Drew Jaynes
11ab384086
Docs: Improve 4.5 changelog entries introduced in [36992] for wp_authenticate()
, and the authenticate
and wp_login_failed
hooks.
...
See #9568 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37030
git-svn-id: http://core.svn.wordpress.org/trunk@36997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 08:06:27 +00:00
Gary Pendergast
e899cc7ae5
Emoji: The everythingExceptFlag
browser support flag, introduced in [36816], wasn't being initialised correctly.
...
See #35300 .
Built from https://develop.svn.wordpress.org/trunk@37029
git-svn-id: http://core.svn.wordpress.org/trunk@36996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 05:00:28 +00:00
Gary Pendergast
261aa938cf
Emoji: Fix the diversity emoji check in Safari.
...
When the browser test for diversity emoji was added in [36160], it included a workaround for Chrome not being able to compare `Uint8ClampedArray` objects directly, by converting them to a string. Unfortunately, Safari doesn't support the `Uint8ClampedArray.toString()` method correctly, so the test was incorrectly failing in Safari.
Fixes #36266 for trunk.
Built from https://develop.svn.wordpress.org/trunk@37028
git-svn-id: http://core.svn.wordpress.org/trunk@36995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 04:54:26 +00:00
Mike Schroder
45eb3efc00
Post 4.5-beta4 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@37027
git-svn-id: http://core.svn.wordpress.org/trunk@36994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 04:34:26 +00:00
Mike Schroder
79856709a6
4.5-beta4
...
Built from https://develop.svn.wordpress.org/trunk@37026
git-svn-id: http://core.svn.wordpress.org/trunk@36993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 04:17:26 +00:00
Drew Jaynes
a41f27a7f9
Docs: Clarify documentation for the xmlrpc_enabled
filter to better explain that its scope only extends to methods requiring authentication.
...
When the `xmlrpc_enabled` filter was initially introduced in [21509], it was effectively intended to replace the `enable_xmlrpc' UI option, which only controlled whether authenticated XML-RPC methods were enabled, such as for publishing actions. This change clarifies the expected behavior and adds information about ways to more granularly control XML-RPC method and request behavior with related hooks.
Part props mensmaximus.
See #21509 . Fixes #36055 .
Built from https://develop.svn.wordpress.org/trunk@37025
git-svn-id: http://core.svn.wordpress.org/trunk@36992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 03:53:26 +00:00
Sergey Biryukov
2861fd7e97
TinyMCE: Adjust textpattern tests for the changes in [37023].
...
See #33300 .
Built from https://develop.svn.wordpress.org/trunk@37024
git-svn-id: http://core.svn.wordpress.org/trunk@36991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-17 00:47:27 +00:00
Andrew Ozz
cb0565b33a
TinyMCE: after discussion in Slack https://wordpress.slack.com/archives/core/p1458164584000700
...
- Remove `***` and `___` text pattern and support for spaces in `---`. The only `<hr>` text pattern is 3 or more dashes, no spaces.
- Remove the `*`, `**`, `_`, and `__` text patterns for bold and italic.
Fixes #33300 ;
Built from https://develop.svn.wordpress.org/trunk@37023
git-svn-id: http://core.svn.wordpress.org/trunk@36990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 23:00:28 +00:00
John Blackbourn
5330f669f2
Media: When generating the base URL to be used in the srcset
attribute, use an https
scheme when the image base URL's host matches that of the current host, and the request is being served over HTTPS. This prevents mixed content warnings caused by http
embedded media.
...
See #34945
Props joemcgill
Built from https://develop.svn.wordpress.org/trunk@37022
git-svn-id: http://core.svn.wordpress.org/trunk@36989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 22:49:26 +00:00
Rachel Baker
76d14c1d24
REST API: Remove unused variable $api_root
from WP_Rest_Server->embed_links() method.
...
After [r36674] the variable `$api_root` is no longer used in this method and should be removed.
See #35803 .
Built from https://develop.svn.wordpress.org/trunk@37021
git-svn-id: http://core.svn.wordpress.org/trunk@36988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 21:41:28 +00:00
Aaron Jorbin
52917621ce
Bump grunt-contrib-qunit ~0.7.0 → ~1.1.0
...
See #35104
Built from https://develop.svn.wordpress.org/trunk@37020
git-svn-id: http://core.svn.wordpress.org/trunk@36987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 17:54:39 +00:00
Aaron Jorbin
2d330ec6ee
Bump grunt-contrib-watch ~0.6.1 → ~1.0.0
...
See #35104
Built from https://develop.svn.wordpress.org/trunk@37019
git-svn-id: http://core.svn.wordpress.org/trunk@36986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 17:51:29 +00:00
Dominik Schilling
7f4b93e61e
Responsive images: Skip images with a missing $image_meta['file']
value.
...
Props joemcgill.
See [37002].
Fixes #35480 .
Built from https://develop.svn.wordpress.org/trunk@37018
git-svn-id: http://core.svn.wordpress.org/trunk@36985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 17:48:26 +00:00
Aaron Jorbin
819930dfc4
Bump grunt-contrib-jshint ~0.11.3 → ~1.0.0
...
See #35104
Built from https://develop.svn.wordpress.org/trunk@37017
git-svn-id: http://core.svn.wordpress.org/trunk@36984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 17:42:31 +00:00
Dominik Schilling
6a90070793
I18N: Move translatable Codex URLs to separate strings in wp-admin/includes/meta-boxes.php
.
...
Props ramiy.
Fixes #35751 .
Built from https://develop.svn.wordpress.org/trunk@37016
git-svn-id: http://core.svn.wordpress.org/trunk@36983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:58:26 +00:00
Drew Jaynes
a65c79b3d2
Docs: Use a third-person singular verb in the DocBlock summary for WP_REST_Response::get_curies()
, introduced in [36533].
...
Also adds a missing return description.
See #34729 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37015
git-svn-id: http://core.svn.wordpress.org/trunk@36982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:54:26 +00:00
Drew Jaynes
ddf7375217
Docs: Improve parameter description syntax in the hook doc for the rest_request_from_url
filter, introduced in [36673].
...
See #35803 . See #35986 ,
Built from https://develop.svn.wordpress.org/trunk@37014
git-svn-id: http://core.svn.wordpress.org/trunk@36981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:52:27 +00:00
Drew Jaynes
408da605e4
Docs: Improve the DocBlock for WP_REST_Request::from_url()
, introduced in [36673].
...
See #35803 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37013
git-svn-id: http://core.svn.wordpress.org/trunk@36980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:50:27 +00:00
Drew Jaynes
c4eab31668
Docs: Use a third-person singular verb in the DocBlock summary for WP_Customize_Site_Icon_Control::content_template()
, introduced in [36698].
...
Also adds a missing `@access` notation.
See #33755 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37012
git-svn-id: http://core.svn.wordpress.org/trunk@36979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:41:27 +00:00
Drew Jaynes
7add7e84f5
Docs: Add a missing version and access information to the DocBlock for the WP_Customize_Selective_Refresh->$manager
property, introduced in [36586].
...
See #27355 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37011
git-svn-id: http://core.svn.wordpress.org/trunk@36978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:39:26 +00:00
Drew Jaynes
3bdf4f1524
Docs: Standardize the file header and class summarries for the file containing WP_Customize_Selective_Refresh
, introduced in [36586].
...
See #27355 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37010
git-svn-id: http://core.svn.wordpress.org/trunk@36977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:29:26 +00:00
Drew Jaynes
b23a2750aa
Docs: Standardize the file header and class summaries for the file containing WP_Customize_Partial
, introduced in [36586].
...
See #27355 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37009
git-svn-id: http://core.svn.wordpress.org/trunk@36976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:24:27 +00:00
Drew Jaynes
ba4ce19ad4
Docs: Clarify the use of the get_currentuserinfo()
for backward compatibility purposes in the DocBlock description for _wp_get_current_user()
, introduced in [36651].
...
See #19615 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37008
git-svn-id: http://core.svn.wordpress.org/trunk@36975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:21:26 +00:00
Drew Jaynes
f27e87e26a
Docs: Use a third-person singular verb in the DocBlock summary for wp_authenticate_email_password()
, introduced in [36617].
...
See #9568 . See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37007
git-svn-id: http://core.svn.wordpress.org/trunk@36974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:18:27 +00:00
Drew Jaynes
0fdbfa3f03
Docs: Add a couple of spaces before hook docs for filters introduced in 4.5.
...
See #35986 .
Built from https://develop.svn.wordpress.org/trunk@37006
git-svn-id: http://core.svn.wordpress.org/trunk@36973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 16:15:28 +00:00
Sergey Biryukov
48c366c1f4
Remove several one-time variables from wp_get_archives()
, added in [24] and [190].
...
Props pbearne for initial patch.
Fixes #36243 .
Built from https://develop.svn.wordpress.org/trunk@37005
git-svn-id: http://core.svn.wordpress.org/trunk@36972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 10:20:27 +00:00
Andrew Ozz
90f70fab53
TinyMCE, inline link:
...
- Add back the bottom box-shadow on the Apply button.
- Shrink `.mce-btn.mce-primary` to compensate for the bottom box-shadow.
- Tighten up/reduce the margins between the buttons.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@37004
git-svn-id: http://core.svn.wordpress.org/trunk@36971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 04:29:27 +00:00
Andrew Ozz
d529800cba
Editor: fix exiting DFW with the keyboard shortcut on Mac (Opt+Ctrl+W).
...
Fixes #36222 .
Built from https://develop.svn.wordpress.org/trunk@37003
git-svn-id: http://core.svn.wordpress.org/trunk@36970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 02:48:25 +00:00
Andrew Ozz
effedfdff4
Responsive images: do not attempt to create srcset when the image meta is missing or corrupted.
...
Props overclokk, jaspermdegroot, joemcgill.
Fixes #35480 .
Built from https://develop.svn.wordpress.org/trunk@37002
git-svn-id: http://core.svn.wordpress.org/trunk@36969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 02:18:25 +00:00
Andrew Ozz
571cf91329
TinyMCE, inline link:
...
- Remove bottom box-shadow from the Apply button so it matches the rest.
- Change the tooltip for the cogwheel button to Link options.
See #33301 .
Built from https://develop.svn.wordpress.org/trunk@37001
git-svn-id: http://core.svn.wordpress.org/trunk@36968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-16 02:04:27 +00:00
Andrew Ozz
aa8462c59f
TinyMCE: update to 4.3.8, changelog: https://www.tinymce.com/docs/changelog/#version438-march152016 .
...
Fixes #36254 .
Built from https://develop.svn.wordpress.org/trunk@37000
git-svn-id: http://core.svn.wordpress.org/trunk@36967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-15 21:38:26 +00:00
Tammie Lister
12c6679165
Twenty Thirteen, Twenty Fourteen and Twenty Fifteen: Fixes insufficient check for existence of DOM elements in jQuery object
...
Fixes #34033
Props: tywayne
Built from https://develop.svn.wordpress.org/trunk@36999
git-svn-id: http://core.svn.wordpress.org/trunk@36966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-15 21:33:28 +00:00
Mike Schroder
942f9d6357
Media: Fix typo in test_image_preserves_alpha_on_rotate()
.
...
peserves -> preserves; introduced in [31040].
See #30596 .
Built from https://develop.svn.wordpress.org/trunk@36998
git-svn-id: http://core.svn.wordpress.org/trunk@36965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-15 03:51:25 +00:00
Gary Pendergast
c233a88379
WPDB: Reset connection status variables when the connection is closed.
...
Fixes #36240 .
Built from https://develop.svn.wordpress.org/trunk@36997
git-svn-id: http://core.svn.wordpress.org/trunk@36964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-15 03:28:26 +00:00
Mike Schroder
9af79e2582
Media: Fall back to GD when loading URL in HHVM Imagick.
...
HHVM does not currently support loading URLs in its port of Imagick.
Fixes `test_wp_crop_image_url()` failure introduced in [36916].
See #35973 .
Built from https://develop.svn.wordpress.org/trunk@36996
git-svn-id: http://core.svn.wordpress.org/trunk@36963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-15 00:15:26 +00:00
John Blackbourn
852f085d19
Docs: The $update_result
parameter passed to WP_Automatic_Updater::after_core_update()
is never a WP_Error
. If an error is returned, the error object lives in the result
property of the paramter.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36995
git-svn-id: http://core.svn.wordpress.org/trunk@36962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 22:43:27 +00:00
John Blackbourn
2cee8966ab
Docs: Re-add a @param
that went missing in [36993].
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36994
git-svn-id: http://core.svn.wordpress.org/trunk@36961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 22:39:26 +00:00
John Blackbourn
7ecfdc69b7
Docs: Improvements and corrections for the $ver
parameter of the dependencies API functions.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36993
git-svn-id: http://core.svn.wordpress.org/trunk@36960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 22:37:26 +00:00
John Blackbourn
621085a360
Users: Add @since
entries to wp_authenticate()
and its filters now that the $username
parameter can also be an email address.
...
See #9568 , #35986
Built from https://develop.svn.wordpress.org/trunk@36992
git-svn-id: http://core.svn.wordpress.org/trunk@36959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 22:31:27 +00:00
Andrew Ozz
b9a3602070
wpLink: fix accessibility issues:
...
- Add role=dialog and an aria-labelledby attribute to the modal container.
- Change the modal title to h1.
- Remove one ` ` that gets read out as `blank` by screen readers.
- Replace the Cancel link with a button.
- Clean up unused CSS.
Props afercia.
Fixes #30468 .
Built from https://develop.svn.wordpress.org/trunk@36991
git-svn-id: http://core.svn.wordpress.org/trunk@36958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 20:55:26 +00:00
Weston Ruter
783aa8b4fa
Customize: Rely on selective refresh exclusively for previewing custom logo changes.
...
Eliminates JS logic (from [36698]) which attempted to do pure JS update while waiting for the selective refresh response to return. The duplicate JS logic lacked a re-implementation of the `image_downsize()` functionality available in PHP, and so the JS preview logic would fail to properly preview images that didn't have the exact theme image size generated. To keep the code DRY and to eliminate the momentary display of an improperly-sized image, the duplicated JS logic is now removed.
See #27355 .
See #33755 .
Fixes #36096 .
Built from https://develop.svn.wordpress.org/trunk@36990
git-svn-id: http://core.svn.wordpress.org/trunk@36957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 19:17:28 +00:00
Boone Gorges
036e63c31a
Query: Ignore search terms consisting of a single dash.
...
Due to the "exclude" support added in WP 4.4, single dashes were being
converted to "NOT LIKE '%%'" clauses, causing all searches to fail.
Props RomSocial, swissspidy.
Fixes #36195 .
Built from https://develop.svn.wordpress.org/trunk@36989
git-svn-id: http://core.svn.wordpress.org/trunk@36956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 14:12:25 +00:00
Boone Gorges
cac6d65780
Improve error handling in get_categories()
.
...
When passed an invalid `'taxonomy'`, `get_terms()` will return a `WP_Error`
object. This object should not be blindly cast to an array. Instead, an empty
array should be returned, to indicate that no matching terms have been found.
Props virgodesign, sebastian.pisula.
Fixes #36227 .
Built from https://develop.svn.wordpress.org/trunk@36988
git-svn-id: http://core.svn.wordpress.org/trunk@36955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 13:53:28 +00:00
Sergey Biryukov
138b2abcf5
Media: Fix typo introduced in [36887].
...
Props claudiosanches.
Fixes #36230 . See #36089 .
Built from https://develop.svn.wordpress.org/trunk@36987
git-svn-id: http://core.svn.wordpress.org/trunk@36954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-03-14 09:00:28 +00:00
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