Andrea Fercia
87882d0463
Accessibility: Remove inappropriate content from the Users screen heading.
...
See #26601 .
Built from https://develop.svn.wordpress.org/trunk@39534
git-svn-id: http://core.svn.wordpress.org/trunk@39474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-07 18:29:38 +00:00
John Blackbourn
16371b99d8
Users: Style the super admin message on the user editing screen as a notice, not a success message.
...
Fixes #39131
Built from https://develop.svn.wordpress.org/trunk@39531
git-svn-id: http://core.svn.wordpress.org/trunk@39471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-07 01:28:40 +00:00
Andrea Fercia
a9600d1a53
Accessibility: Remove inappropriate content from the Themes screen heading.
...
Props joedolson.
See #26601 .
Built from https://develop.svn.wordpress.org/trunk@39528
git-svn-id: http://core.svn.wordpress.org/trunk@39468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 23:12:41 +00:00
Andrea Fercia
c1f59f9fe3
Accessibility: Remove inappropriate content from the Add Themes screen heading.
...
Props joedolson.
See #26601 .
Built from https://develop.svn.wordpress.org/trunk@39527
git-svn-id: http://core.svn.wordpress.org/trunk@39467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 22:24:41 +00:00
Andrea Fercia
26ef4bd86d
Accessibility: Remove inappropriate content from the Media Library screens headings.
...
Props joedolson.
See #26601 .
Built from https://develop.svn.wordpress.org/trunk@39526
git-svn-id: http://core.svn.wordpress.org/trunk@39466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 22:18:42 +00:00
Helen Hou-Sandí
ab3bca05c8
About page: Update video and REST API reference URLs.
...
props ocean90, kadamwhite, coffee2code.
see #38616 .
Built from https://develop.svn.wordpress.org/trunk@39522
git-svn-id: http://core.svn.wordpress.org/trunk@39462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 18:24:41 +00:00
Helen Hou-Sandí
9c023fc883
Remove 4.7 cruft from $_old_files
.
...
see #39113 .
Built from https://develop.svn.wordpress.org/trunk@39520
git-svn-id: http://core.svn.wordpress.org/trunk@39460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 17:17:41 +00:00
Helen Hou-Sandí
3dea25bcd9
About page: Bump image versions because CDN caching.
...
props pento.
see #38616 .
Built from https://develop.svn.wordpress.org/trunk@39517
git-svn-id: http://core.svn.wordpress.org/trunk@39457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 07:13:41 +00:00
Joe McGill
da48e4ba1e
About page: Resposive images and CDN media URLs.
...
This adds `srcset` and `sizes` to the about page images, including
art direction, via `<picture>` for the lead Twenty Seventeen image.
This also replaces URLs for all images and feature videos to their
CDN locations on s.w.org.
Props helen, pento, joemcgill.
Fixes #38616 .
Built from https://develop.svn.wordpress.org/trunk@39514
git-svn-id: http://core.svn.wordpress.org/trunk@39454 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 06:55:41 +00:00
Helen Hou-Sandí
f336d4c8ea
About page: Imagery and beautification.
...
Still to come: responsive images, optimized videos, and CDN URLs.
props melchoyce, helen, ramiabraham.
see #38616 .
Built from https://develop.svn.wordpress.org/trunk@39512
git-svn-id: http://core.svn.wordpress.org/trunk@39452 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-06 04:01:45 +00:00
Weston Ruter
6a3de4d857
Customize: Ensure changeset_uuid
query param is removed from the customize.php
window's location once a changeset has been published (committed) with starter content.
...
Props westonruter, dlh for testing.
See #30937 .
Fixes #39081 .
Built from https://develop.svn.wordpress.org/trunk@39504
git-svn-id: http://core.svn.wordpress.org/trunk@39444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 16:56:42 +00:00
Weston Ruter
97f4180916
Customize: Prevent posts/pages imported via starter content from being dropped when adding post/page stubs via nav menus and the dropdown-pages control.
...
Props westonruter, dlh for testing.
See #38114 , #34923 .
Fixes #39071 .
Built from https://develop.svn.wordpress.org/trunk@39502
git-svn-id: http://core.svn.wordpress.org/trunk@39442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-05 16:47:41 +00:00
Adam Silverstein
113833953d
Docs: Add inline documentation for image-edit.js
.
...
Adds JSDoc DocBlocks to the imageEdit methods.
Props: andizer, rensw90.
Fixes #38748 .
Built from https://develop.svn.wordpress.org/trunk@39493
git-svn-id: http://core.svn.wordpress.org/trunk@39433 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-04 21:35:40 +00:00
Gary Pendergast
623ba7e8c9
Load: Re-add locale.php
.
...
`locale.php` is occasionally included directly by custom external code, so should continue to be available. This behaviour is deprecated.
Partial revert of [38364].
See #37827 , #39027 .
Built from https://develop.svn.wordpress.org/trunk@39455
git-svn-id: http://core.svn.wordpress.org/trunk@39395 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 04:07:40 +00:00
Gary Pendergast
3487c1bda8
Load: Re-add session.php
.
...
`session.php` is occasionally included directly by custom external code, so should continue to be available. This behaviour is deprecated.
Partial revert of [38373].
See #36335 , #39027 .
Built from https://develop.svn.wordpress.org/trunk@39453
git-svn-id: http://core.svn.wordpress.org/trunk@39393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 03:51:41 +00:00
Gary Pendergast
a7ca4b8dde
Load: Re-add class-wp-upgrader-skins.php
.
...
`class-wp-upgrader-skins.php` is occasionally included directly by custom external code, so should continue to be available. This is deprecated in favour of including `class-wp-upgrader.php`, instead.
Revert of [38379].
See #36335 , #39027 .
Built from https://develop.svn.wordpress.org/trunk@39450
git-svn-id: http://core.svn.wordpress.org/trunk@39390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 03:40:41 +00:00
Gary Pendergast
6f1d48cdf3
Load: Re-add class-feed.php
.
...
`class-feed.php` is occasionally included directly by custom external code, so should continue to be available. This is deprecated in favour of calling `fetch_feed()`, however..
Partial revert of [38374].
See #36335 , #39027 .
Built from https://develop.svn.wordpress.org/trunk@39449
git-svn-id: http://core.svn.wordpress.org/trunk@39389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-03 03:30:42 +00:00
Helen Hou-Sandí
a4042140f0
About page: Remove link tags from inside translatable strings.
...
props ramiy.
see #38616 .
Built from https://develop.svn.wordpress.org/trunk@39443
git-svn-id: http://core.svn.wordpress.org/trunk@39383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:37:44 +00:00
Helen Hou-Sandí
156b8ca421
About page: Remove emoji from translatable string.
...
props ocean90.
see #38616 .
Built from https://develop.svn.wordpress.org/trunk@39442
git-svn-id: http://core.svn.wordpress.org/trunk@39382 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:30:42 +00:00
Dominik Schilling
c354cfd79b
About page: Don't wrap URLs with <code>
tags.
...
See #38616 .
Built from https://develop.svn.wordpress.org/trunk@39433
git-svn-id: http://core.svn.wordpress.org/trunk@39373 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 12:31:41 +00:00
Dominik Schilling
afc9ef5123
About page: Restore the double %
in a printf()
call which has been removed in [39420].
...
We need this to escape the percent symbol for "100%".
See #38616 .
Built from https://develop.svn.wordpress.org/trunk@39432
git-svn-id: http://core.svn.wordpress.org/trunk@39372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 12:03:45 +00:00
Helen Hou-Sandí
cfd1161a97
About page: Add strings for 4.7 and make available for translation.
...
It doesn't look very pretty; design changes still to come.
props helen, michaelarestad, samuelsidler, jbpaul17, jorbin, nacin, melchoyce.
see #38616 .
Built from https://develop.svn.wordpress.org/trunk@39420
git-svn-id: http://core.svn.wordpress.org/trunk@39360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 06:31:43 +00:00
Dominik Schilling
3dc47839db
Docs: Document the usage of the global $wpdb
in _filter_query_attachment_filenames()
.
...
Props mt8.biz.
Fixes #38973 .
Built from https://develop.svn.wordpress.org/trunk@39390
git-svn-id: http://core.svn.wordpress.org/trunk@39330 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 23:20:42 +00:00
Weston Ruter
b2c65c9a95
Customize: Fix regression in ability to hide fields for advanced menu properties in nav menu item controls.
...
Props westonruter, celloexpressions.
See #34391 .
Fixes #38952 .
Built from https://develop.svn.wordpress.org/trunk@39378
git-svn-id: http://core.svn.wordpress.org/trunk@39318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 18:01:43 +00:00
Weston Ruter
b2c12e463a
Customize: Fix regression in ability to create submenus for nav menus via drag and drop.
...
See #34391 .
Fixes #38948 .
Props delawski, adamsilverstein.
Built from https://develop.svn.wordpress.org/trunk@39376
git-svn-id: http://core.svn.wordpress.org/trunk@39316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-30 17:43:43 +00:00
Weston Ruter
6b5d960453
Customize: Clean up docs and code style for customize changes in 4.7.
...
* Adds missing `resolve`/`fail` for promise returned by `loadThemePreview`.
* Adds missing jsdoc blocks and tags.
* Adds missing phpdoc and makes corrections.
See #37770 .
Fixes #38908 .
Built from https://develop.svn.wordpress.org/trunk@39345
git-svn-id: http://core.svn.wordpress.org/trunk@39285 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-23 06:05:32 +00:00
Helen Hou-Sandí
2406fe498c
Plugin install: De-duplicate a conditional, introduced in [38172].
...
props ChrisWiegman.
fixes #38190 .
Built from https://develop.svn.wordpress.org/trunk@39336
git-svn-id: http://core.svn.wordpress.org/trunk@39276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 21:33:30 +00:00
Dominik Schilling
2328e7b17a
I18N: In wp_dropdown_languages()
rename the new show_site_locale_default
argument to show_option_site_default
.
...
This makes it consistent with arguments of other `wp_dropdown_*()` functions.
Props SergeyBiryukov.
See #38632 .
Fixes #38871 .
Built from https://develop.svn.wordpress.org/trunk@39331
git-svn-id: http://core.svn.wordpress.org/trunk@39271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 16:14:30 +00:00
John Blackbourn
c2d709e9d6
I18n: Introduce more translator comments for strings that contain placeholders but don't have an accompanying translator comment.
...
See #38882
Built from https://develop.svn.wordpress.org/trunk@39326
git-svn-id: http://core.svn.wordpress.org/trunk@39266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 02:46:30 +00:00
Sergey Biryukov
1b2ed70f39
I18N: Move the support forums URL in update-related HTTP API error messages to a separate translatable string that is already used elsewhere.
...
Props ramiy, SergeyBiryukov.
Fixes #38880 .
Built from https://develop.svn.wordpress.org/trunk@39325
git-svn-id: http://core.svn.wordpress.org/trunk@39265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 01:52:32 +00:00
John Blackbourn
40af377f57
Remove an erroneous @TODO
introduced in [39323].
...
See #38882
Built from https://develop.svn.wordpress.org/trunk@39324
git-svn-id: http://core.svn.wordpress.org/trunk@39264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 01:26:30 +00:00
John Blackbourn
4cf5550d8d
I18n: Begin introducing translator comments for strings which include placeholders but no accompanying translator comment.
...
Adds context to one string used in two different contexts for the new user and new site signup email notification.
More to come.
See #38882
Built from https://develop.svn.wordpress.org/trunk@39323
git-svn-id: http://core.svn.wordpress.org/trunk@39263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 01:22:32 +00:00
Sergey Biryukov
285a774cad
I18N: Remove unnecessary __()
calls in _rotate_image_resource()
and _flip_image_resource()
.
...
Use `_deprecated_function()`'s native strings.
Props ramiy.
Fixes #38862 .
Built from https://develop.svn.wordpress.org/trunk@39314
git-svn-id: http://core.svn.wordpress.org/trunk@39254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-19 02:30:31 +00:00
Sergey Biryukov
dca7d8d0ea
Text Changes: Merge strings referring to list_users
capability.
...
See #38857 .
Built from https://develop.svn.wordpress.org/trunk@39312
git-svn-id: http://core.svn.wordpress.org/trunk@39252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-19 02:16:30 +00:00
Sergey Biryukov
b1ed607578
Text Changes: Merge and clarify some permission error strings in the admin.
...
See #38857 .
Built from https://develop.svn.wordpress.org/trunk@39308
git-svn-id: http://core.svn.wordpress.org/trunk@39248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-19 01:38:31 +00:00
Sergey Biryukov
529e242a39
I18N: Merge two 'ERROR:' strings.
...
Props ramiy.
Fixes #38860 .
Built from https://develop.svn.wordpress.org/trunk@39307
git-svn-id: http://core.svn.wordpress.org/trunk@39247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-19 01:09:30 +00:00
Helen Hou-Sandí
234ae480ee
Autoprefixer for [39249].
...
Fixes one errant value and re-aligns some existing prefixed property values so they don't get doubled when precommit/postcss is run again in the future.
props davidakennedy.
see #29158 .
Built from https://develop.svn.wordpress.org/trunk@39301
git-svn-id: http://core.svn.wordpress.org/trunk@39241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 21:06:30 +00:00
Sergey Biryukov
2fadd7a895
Docs: Use 3-digit, x.x.x style semantic versioning for @since 4.7.0
entries.
...
See #37770 .
Built from https://develop.svn.wordpress.org/trunk@39281
git-svn-id: http://core.svn.wordpress.org/trunk@39221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-17 18:28:30 +00:00
Sergey Biryukov
acc30b09d7
Text Changes: Merge some duplicate strings with the same meaning in error messages, adjust some other strings for consistency and accuracy.
...
Props ramiy, SergeyBiryukov.
Fixes #38808 .
Built from https://develop.svn.wordpress.org/trunk@39278
git-svn-id: http://core.svn.wordpress.org/trunk@39218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-17 15:53:33 +00:00
Weston Ruter
c2bc6df69a
Customize: Ensure Close button actually closes customizer (instead of going back) after switching to a different theme inside a customize-loader
iframe.
...
Fixes #38833 .
Built from https://develop.svn.wordpress.org/trunk@39271
git-svn-id: http://core.svn.wordpress.org/trunk@39211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-16 22:17:29 +00:00
Dominik Schilling
e4a83d2e6f
Users: In edit_user()
fall back to site's locale instead of en_US
for invalid user locales.
...
See #38632 , #29783 .
Fixes #38798 .
Built from https://develop.svn.wordpress.org/trunk@39269
git-svn-id: http://core.svn.wordpress.org/trunk@39209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-16 20:12:31 +00:00
Sergey Biryukov
a7af7c89a4
Text Changes: Unify permission error messages in wp-admin/users.php
.
...
Props ramiy.
Fixes #38804 .
Built from https://develop.svn.wordpress.org/trunk@39258
git-svn-id: http://core.svn.wordpress.org/trunk@39198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 22:25:30 +00:00
Helen Hou-Sandí
19bb9c2fe0
Customize: More visible focus and hover states for close and back buttons.
...
props celloexpressions, folletto.
fixes #29158 .
Built from https://develop.svn.wordpress.org/trunk@39249
git-svn-id: http://core.svn.wordpress.org/trunk@39189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 18:11:31 +00:00
Andrea Fercia
dff34d5988
Accessibility: Improve the Post Attributes meta box fields labels.
...
With [38951] the support for custom page templates has been extended to all post
types. By making the visible meta box titles real labels, accessibility improves
for all users and form fields have meaningful labels.
Fixes #38790 .
Built from https://develop.svn.wordpress.org/trunk@39247
git-svn-id: http://core.svn.wordpress.org/trunk@39187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 16:01:30 +00:00
Joe McGill
36ac7287b0
Media: Make PDF preview sizes filterable.
...
This adds a new filter, `fallback_intermediate_image_sizes`, which
can be used to modify the array of image sizes created for previewing
PDFs in the media library and checks for the existence of sizes before
processing any image representations of a PDF.
Fixes #38594 .
Built from https://develop.svn.wordpress.org/trunk@39246
git-svn-id: http://core.svn.wordpress.org/trunk@39186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 13:26:30 +00:00
Weston Ruter
de0835dead
Customize: Only show video header controls if previewing front page; show explanatory notice when controls are hidden.
...
Also include todo for the `header_video` control's `button_labels`. See #38796 .
Props westonruter, joemcgill, celloexpressions.
Fixes #38778 .
Built from https://develop.svn.wordpress.org/trunk@39237
git-svn-id: http://core.svn.wordpress.org/trunk@39177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-15 03:47:30 +00:00
Weston Ruter
9daebf050a
Customize: Maximize height of Custom CSS textarea
without causing doubled scrollbars.
...
Textarea will fill vertical height of Custom CSS section for browsers that support `calc()` and when plugins don't add other controls to the section. Also run CSS autoprefixer.
Props michaelarestad, westonruter.
See #35395 .
Fixes #38755 .
Built from https://develop.svn.wordpress.org/trunk@39229
git-svn-id: http://core.svn.wordpress.org/trunk@39169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 19:12:30 +00:00
Weston Ruter
c3f31ce550
Customize: Remove root panel description text which notes that edit shortcuts can be toggled by clicking anywhere in the preview.
...
Amends [39131], in which this method of toggling edit shortcuts was removed.
Props presskopp.
See #27403 .
Built from https://develop.svn.wordpress.org/trunk@39218
git-svn-id: http://core.svn.wordpress.org/trunk@39158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-14 04:33:32 +00:00
Weston Ruter
fd166077ad
Customize: Prevent the "Hide Controls" button label from overrunning the device preview buttons.
...
Adds translation context for "Hide Controls" strings so translators can supply shorter strings where space is constrained. Adds styles to fade-out long the "Hide Controls" label where it would run into the device preview buttons.
Props westonruter, ocean90.
Fixes #38762 .
Built from https://develop.svn.wordpress.org/trunk@39214
git-svn-id: http://core.svn.wordpress.org/trunk@39154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-13 19:00:35 +00:00
Helen Hou-Sandí
81f9cc26a1
Media: Clearly indicate that PDF thumbnails are just document previews.
...
This helps affirm that your upload is fine, and has not been reduced down to the first page or changed into an image. This applies to the attachment details modal in the media library, where media is also now centered in the preview area.
props folletto, helen.
fixes #38717 .
Built from https://develop.svn.wordpress.org/trunk@39213
git-svn-id: http://core.svn.wordpress.org/trunk@39153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-13 16:39:31 +00:00