Sergey Biryukov
b2a9bb4e78
CSS Coding Standards: Use unitless values for line-height
in wp-admin/css/customize-controls.css
.
...
Props ianbelanger, audrasjb, pbiron, afercia.
Fixes #46494 . See #44643 .
Built from https://develop.svn.wordpress.org/trunk@45189
git-svn-id: http://core.svn.wordpress.org/trunk@44998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-13 04:36:51 +00:00
Sergey Biryukov
77ff117d7f
CSS Coding Standards: Use unitless values for line-height
in wp-admin/css/themes.css
.
...
Props ianbelanger, mukesh27, audrasjb, pbiron, afercia.
Fixes #46518 . See #44643 .
Built from https://develop.svn.wordpress.org/trunk@45188
git-svn-id: http://core.svn.wordpress.org/trunk@44997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-13 04:32:51 +00:00
Sergey Biryukov
5fe5733f38
CSS Coding Standards: Use unitless values for line-height
for count bubbles in wp-admin/css/admin-menu.css
.
...
Missed in [45186].
Props ianbelanger.
See #46489 , #44643 .
Built from https://develop.svn.wordpress.org/trunk@45187
git-svn-id: http://core.svn.wordpress.org/trunk@44996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-13 04:20:50 +00:00
Sergey Biryukov
b76772b9a7
CSS Coding Standards: Use unitless values for line-height
in wp-admin/css/admin-menu.css
.
...
Props ianbelanger, mukesh27, pbiron, afercia.
Fixes #46489 . See #44643 .
Built from https://develop.svn.wordpress.org/trunk@45186
git-svn-id: http://core.svn.wordpress.org/trunk@44995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-13 00:17:50 +00:00
Sergey Biryukov
88fdfae793
Plugins: Introduce is_wp_version_compatible()
and is_php_version_compatible()
for checking compatibility with the current WordPress or PHP version.
...
Props afragen.
Fixes #46599 .
Built from https://develop.svn.wordpress.org/trunk@45185
git-svn-id: http://core.svn.wordpress.org/trunk@44994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 23:56:52 +00:00
Sergey Biryukov
a2e273944a
Plugins: In list_plugin_updates()
, only display the annotation and the surrounding tags if it's not empty.
...
Props afragen.
Fixes #46680 .
Built from https://develop.svn.wordpress.org/trunk@45184
git-svn-id: http://core.svn.wordpress.org/trunk@44993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 21:52:52 +00:00
desrosj
b9c927411a
Post WordPress 5.2 Beta 3 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@45183
git-svn-id: http://core.svn.wordpress.org/trunk@44992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 21:27:53 +00:00
desrosj
1845aeb2c8
WordPress 5.2 Beta 3.
...
Built from https://develop.svn.wordpress.org/trunk@45182
git-svn-id: http://core.svn.wordpress.org/trunk@44991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 21:06:51 +00:00
Sergey Biryukov
65da064055
Bootstrap/Load: Finalize recovery mode email language.
...
Props TimothyBlynJacobs, miss_jwo, desrosj.
Fixes #46898 .
Built from https://develop.svn.wordpress.org/trunk@45181
git-svn-id: http://core.svn.wordpress.org/trunk@44990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 20:49:51 +00:00
aduth
41022dc6f2
Privacy: Remove unnecessary translation from help notice action label.
...
As static markup, the Privacy Policy editor help notice link no longer needs to be translateable with the revisions included in [45174].
Props garrett-eclipse.
Fixes #46098 . See [45174].
Built from https://develop.svn.wordpress.org/trunk@45180
git-svn-id: http://core.svn.wordpress.org/trunk@44989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 20:44:52 +00:00
Sergey Biryukov
7e4b4e1089
Site Health: Use _n()
for %s Items with no issues detected
string, missed in [45178].
...
See #46683 .
Built from https://develop.svn.wordpress.org/trunk@45179
git-svn-id: http://core.svn.wordpress.org/trunk@44988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 20:40:51 +00:00
Sergey Biryukov
1ae11820fc
Site Health: i18n audit, take 2.
...
* Use `wp.i18n` to translate JavaScript strings.
* Use `_n()` for proper plural forms support.
Props TimothyBlynJacobs, ocean90, afercia.
Fixes #46683 .
Built from https://develop.svn.wordpress.org/trunk@45178
git-svn-id: http://core.svn.wordpress.org/trunk@44987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 20:34:51 +00:00
Joe McGill
1b35ea6978
Media: Fix deletion of files when using stream wrappers.
...
This fixes a bug introduced in [43392] which breaks file deletion on systems using stream wrappers, due to limitations of `realpath()`.
Props antonypuckey, pfiled.
Fixes #44563 .
Built from https://develop.svn.wordpress.org/trunk@45177
git-svn-id: http://core.svn.wordpress.org/trunk@44986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 20:01:52 +00:00
Andrew Ozz
30ccfd540f
Site health: Load the "Info" tab immediately and notify the user while gathering site data. Changes the Info tab to work similarly to the Status tab: it does separate request to fetch the directories sizes and doesn't "block" the loading of the page.
...
Props xkon, afercia, Clorith, azaozz.
See #46707 .
Built from https://develop.svn.wordpress.org/trunk@45176
git-svn-id: http://core.svn.wordpress.org/trunk@44985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 19:24:51 +00:00
desrosj
105277f93e
Administration: Move “Recovery Mode” to the beginning of the document title.
...
This improves accessibility, ensuring users utilizing screen readers are informed that the site is in recovery mode.
Props: afercia, TimothyBlynJacobs.
See #46608 .
Built from https://develop.svn.wordpress.org/trunk@45175
git-svn-id: http://core.svn.wordpress.org/trunk@44984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 19:05:51 +00:00
aduth
7f456cab7d
Privacy: Display help notice on block editor screen.
...
Use the Notices data module when viewing the block editor screen for the assigned Privacy Policy page to display a help notice.
Props garrett-eclipse, joen, xkon.
Fixes #46098 .
Built from https://develop.svn.wordpress.org/trunk@45174
git-svn-id: http://core.svn.wordpress.org/trunk@44983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 18:19:51 +00:00
desrosj
79f8d9786d
Text Changes: Use simpler language for login detail email subjects.
...
Props: peterwilsoncc, desrosj.
Fixes #37940 .
Built from https://develop.svn.wordpress.org/trunk@45173
git-svn-id: http://core.svn.wordpress.org/trunk@44982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 18:16:52 +00:00
Andrew Ozz
77e87830ae
TinyMCE: Fix keyboard navigation when the dfw
button is present but hidden. Ensure that button is added last in the DOM to match where it appears visually.
...
Props afercia, azaozz.
Fixes #46640 .
Built from https://develop.svn.wordpress.org/trunk@45172
git-svn-id: http://core.svn.wordpress.org/trunk@44981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 18:08:53 +00:00
desrosj
44d977b2af
Site Health: Correctly refer to an .htaccess
file as hidden.
...
The preceding period (`.`) should always be included when referring to an `.htaccess` file.
Props: ianbelanger, garrett-eclipse, subrataemfluence, burhandodhy.
Fixes #46841 .
Built from https://develop.svn.wordpress.org/trunk@45171
git-svn-id: http://core.svn.wordpress.org/trunk@44980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 17:50:52 +00:00
desrosj
6afe73667c
Site Health: Add missing actions to tests.
...
This change adds missing actions for several tests. This ensures that the user is provided with a next step, whenever possible.
Also, change the URL displayed in the WordPress.org communication test description to `api.wordpress.org` for accuracy.
Props: garrett-eclipse, Clorith, vaishalipanchal.
Fixes #46734 .
Built from https://develop.svn.wordpress.org/trunk@45170
git-svn-id: http://core.svn.wordpress.org/trunk@44979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 17:40:53 +00:00
desrosj
5bafb4ea2d
Site Health: Improve the test badge implementation.
...
Label badges for each Site Health test currently display in either red, orange, or green, regardless of if the test passed or failed. This is confusing, as seeing red labels in the “Passed Test” section could alarm users (when really everything is OK and no action is required), and seeing green labels in the “Failed Tests” section would not appropriately encourage the user to take appropriate action.
This change makes several improvements to the label badges:
- Always right align the badges for consistent display.
- Remove background fill for badges. Instead, use a border.
- Use a consistent styling for all tests (passed and failed).
- The text color no longer uses true black (#000000 ).
- The `.badge.pink` CSS definition has been switched to `.badge.purple`, and the definitions for blue, gray, and green have also been updated to more closely follow the official WordPress color palette.
Props: pbiron, garrett-eclipse, hedgefield, Clorith, xkon, melchoyce, mdwolinski, alexdenning.
Fixes #46623 .
Built from https://develop.svn.wordpress.org/trunk@45169
git-svn-id: http://core.svn.wordpress.org/trunk@44978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 17:04:52 +00:00
desrosj
21da589622
Site Health: Ensure Site Health pages are correctly displayed for RTL locales.
...
Props: ebrahimzadeh, afercia, mohadeseghasemi.
Fixes #46868 .
Built from https://develop.svn.wordpress.org/trunk@45168
git-svn-id: http://core.svn.wordpress.org/trunk@44977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 16:39:52 +00:00
desrosj
e04ffc348b
Administration: Remove unnecessary numbered placeholders.
...
Props: tobifjellner, thrijith.
Fixes #46824 .
Built from https://develop.svn.wordpress.org/trunk@45167
git-svn-id: http://core.svn.wordpress.org/trunk@44976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 16:32:50 +00:00
desrosj
501234ebe0
Site Health: Include both site and user locales in debug information.
...
Previously, only the site’s locale was displayed in the Site Health debug information. Moving forward, both the site’s default locale and the user’s locale will be specified.
This change also removes the `@param` tag for `WP_Debug_Data::debug_data()`. This parameter was previously removed in [45156].
Props: mukesh27, ianbelanger, Clorith, desrosj.
Fixes #46803 .
Built from https://develop.svn.wordpress.org/trunk@45166
git-svn-id: http://core.svn.wordpress.org/trunk@44975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 15:49:52 +00:00
desrosj
8d04086af3
Upgrade/Install: Prevent plugin auto updates if PHP version requirements are not satisfied.
...
In [44937] and [44939], changes were made to prevent a user from updating any plugin that requires a higher version of PHP than the site is running. This compliments those changes to also prevent plugins from being auto updated when the same requirements are not met.
Props: TimothyBlynJacobs, davidbaumwald.
Fixes #46613 .
Built from https://develop.svn.wordpress.org/trunk@45165
git-svn-id: http://core.svn.wordpress.org/trunk@44974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 14:02:53 +00:00
Mike Schroder
8b0cc1c90f
Site Health: Clarify WP_DEBUG
warning and translation contexts.
...
Clarifies that `WP_DEBUG` can cause `WP_DEBUG_DISPLAY` to be enabled,
and uses the constants themselves in related translation contexts.
Props mukesh27, ocean90, clorith, SergeyBiryukov, mikeschroder.
Fixes #46877 .
Built from https://develop.svn.wordpress.org/trunk@45164
git-svn-id: http://core.svn.wordpress.org/trunk@44973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 02:27:51 +00:00
Sergey Biryukov
3ab2803af2
Docs: Add missing @since
tags for wp_targeted_link_rel()
and wp_targeted_link_rel_callback()
.
...
See #43187 , #46543 .
Built from https://develop.svn.wordpress.org/trunk@45163
git-svn-id: http://core.svn.wordpress.org/trunk@44972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-11 21:16:51 +00:00
Sergey Biryukov
b3057080e8
Networks and Sites: Use numbered placeholder in a mailto:
link in ms_site_check()
.
...
Props diddledan.
Fixes #46849 .
Built from https://develop.svn.wordpress.org/trunk@45162
git-svn-id: http://core.svn.wordpress.org/trunk@44971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-11 20:15:52 +00:00
Sergey Biryukov
ed4f394b67
Docs: Correct type for WP_Object_Cache::$blog_prefix
.
...
Props diddledan.
Fixes #46851 .
Built from https://develop.svn.wordpress.org/trunk@45161
git-svn-id: http://core.svn.wordpress.org/trunk@44970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-11 20:10:53 +00:00
John Blackbourn
15684a84db
Build/Test tools: Add some docs to the test functions.
...
Props andizer
Fixes #46501
Built from https://develop.svn.wordpress.org/trunk@45160
git-svn-id: http://core.svn.wordpress.org/trunk@44969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-11 17:30:52 +00:00
John Blackbourn
17bdafca77
General: Fix a typo in the docs for _restore_wpautop_hook()
.
...
Props manzoorwani.jk
Fixes #46864
Built from https://develop.svn.wordpress.org/trunk@45159
git-svn-id: http://core.svn.wordpress.org/trunk@44968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-11 17:27:52 +00:00
Andrea Fercia
2887cea50f
Accessibility: Improve the image "Alternative Text" field in the Edit Media screen.
...
Brings parity with the changes for the Media Views introduced in [44900].
- moves the alt text field to the top as first field
- adds an explanatory text with a link pointing to the W3C "alt decision tree" tutorial
- adds `aria-describedby` to target the explanatory text
- adjusts the CSS and indentation
Props chetan200891.
Fixes #46875 .
Built from https://develop.svn.wordpress.org/trunk@45158
git-svn-id: http://core.svn.wordpress.org/trunk@44967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-10 20:00:50 +00:00
Andrea Fercia
f27917373c
Login and Registration: improve the CSS padding on the login input fields.
...
The right padding added in [44895] needs to be set only on the input fields in the Reset Password screen and exclude other login screens.
Amends [44895].
Fixes #42853 .
Built from https://develop.svn.wordpress.org/trunk@45157
git-svn-id: http://core.svn.wordpress.org/trunk@44966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-10 16:12:51 +00:00
Andrew Ozz
8ffebab3e6
Site health: Fix gathering the site data twice on non-English locales. Introduces two sets of data:
...
- More verbose set used to generate the admin page.
- More concise set that is copied when clicking the "Copy the site info" button intended mostly for support and developers.
Props xkon, azaozz.
Fixes #46726 .
Built from https://develop.svn.wordpress.org/trunk@45156
git-svn-id: http://core.svn.wordpress.org/trunk@44965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-10 05:07:51 +00:00
desrosj
447b956bb8
Site Health: Add missing i18n for “Copied!” string.
...
Props: Soean, mukesh27, davidbaumwald.
Fixes #46847 .
Built from https://develop.svn.wordpress.org/trunk@45155
git-svn-id: http://core.svn.wordpress.org/trunk@44964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 15:24:53 +00:00
desrosj
dd0785d3f9
Privacy: Pass admin URLs for data export and erase forms through esc_url()
.
...
Introduced in [45149].
Props: birgire.
Fixes #44047 .
Built from https://develop.svn.wordpress.org/trunk@45154
git-svn-id: http://core.svn.wordpress.org/trunk@44963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 14:07:51 +00:00
Gary Pendergast
33c82208a2
Media: Remove an extra verb context missed in [45147].
...
Props garrett-eclipse.
See #44675 .
Built from https://develop.svn.wordpress.org/trunk@45153
git-svn-id: http://core.svn.wordpress.org/trunk@44962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 03:59:51 +00:00
Gary Pendergast
af86d95778
Post WordPress 5.2 Beta version bump
...
Built from https://develop.svn.wordpress.org/trunk@45152
git-svn-id: http://core.svn.wordpress.org/trunk@44961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 01:23:51 +00:00
Gary Pendergast
02d97f51c1
WordPress 5.2 Beta 2
...
Built from https://develop.svn.wordpress.org/trunk@45151
git-svn-id: http://core.svn.wordpress.org/trunk@44960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 01:12:51 +00:00
Gary Pendergast
ed8723fd8f
UI: Remove vertical alignment from active primary buttons.
...
This caused the post-plugin installation actions to jump around when the "Activate Plugin" primary button became active.
Props seedsca, pratikthink, ianbelanger, mukesh27.
Fixes #44836 .
Built from https://develop.svn.wordpress.org/trunk@45150
git-svn-id: http://core.svn.wordpress.org/trunk@44959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 00:16:53 +00:00
Gary Pendergast
d6c90ca7d7
Privacy: Add a missing <form>
action on the Export/Erasure screens.
...
This lack of action could cause an expired nonce to end up in the URL.
Props garrett-eclipse, saimonh, xkon.
Fixes #44047 .
Built from https://develop.svn.wordpress.org/trunk@45149
git-svn-id: http://core.svn.wordpress.org/trunk@44958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 00:08:54 +00:00
Gary Pendergast
cbc0240cd6
Privacy: Only mark a personal data export as complete when the user downloads it.
...
An admin may download an export to check that it's all correct, but this action shouldn't mark the request as complete.
Props garrett-eclipse, JoshuaWold, birgire.
Fixes #44644 .
Built from https://develop.svn.wordpress.org/trunk@45148
git-svn-id: http://core.svn.wordpress.org/trunk@44957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-09 00:04:50 +00:00
Gary Pendergast
4b1ff1c298
Media: Update the media bulk action labels for consistency.
...
Props ianbelanger, garrett-eclipse, afercia, Presskopp.
Fixes #44675 .
Built from https://develop.svn.wordpress.org/trunk@45147
git-svn-id: http://core.svn.wordpress.org/trunk@44956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:54:52 +00:00
Gary Pendergast
9292802d92
Twenty Seventeeen: Fix MediaElement control hover colours in the customiser.
...
When selecting custom colour schemes in the customiser, the hover colour is incorrectly applied to MediaElement controls.
Props xkon, ianbelanger.
Fixes #40843 .
Built from https://develop.svn.wordpress.org/trunk@45146
git-svn-id: http://core.svn.wordpress.org/trunk@44955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:38:51 +00:00
Gary Pendergast
5b8db48734
Site Health: Remove animated ellipsis from the status loading indicator.
...
This animation wasn't particularly reliable across browsers.
Props Clorith, afercia.
Fixes #46684 .
Built from https://develop.svn.wordpress.org/trunk@45145
git-svn-id: http://core.svn.wordpress.org/trunk@44954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:29:51 +00:00
Gary Pendergast
8c8c1f8984
Widgets: Add rel="noopener noreferrer"
to links with target="_blank"
in the Image widget.
...
Props audrasjb, welcher, afercia.
Fixes #43280 .
Built from https://develop.svn.wordpress.org/trunk@45144
git-svn-id: http://core.svn.wordpress.org/trunk@44953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:23:51 +00:00
Gary Pendergast
822e8b1a95
Widgets: Add rel="noopener noreferrer"
to links with target="_blank"
in the Text and HTML widgets.
...
Props audrasjb, birgire, mukesh27.
Fixes #46421 .
Built from https://develop.svn.wordpress.org/trunk@45143
git-svn-id: http://core.svn.wordpress.org/trunk@44952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:18:52 +00:00
Gary Pendergast
f584cc2f67
Privacy: Remove the privacy changes bubble.
...
This notification was a little too intrustive, and suffered from being difficult to dismiss.
Props garrett-eclipse, xkon, ianbelanger.
Fixes #46819 .
Built from https://develop.svn.wordpress.org/trunk@45142
git-svn-id: http://core.svn.wordpress.org/trunk@44951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:12:51 +00:00
Gary Pendergast
a932e9921b
Menus: Add rel="noopener"
to target="_blank"
links by default in menus.
...
This expands upon `rel="noopener"` being previously added to links in the content.
Props audrasjb, welcher.
Fixes #43290 .
Built from https://develop.svn.wordpress.org/trunk@45141
git-svn-id: http://core.svn.wordpress.org/trunk@44950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 23:06:52 +00:00
Gary Pendergast
4487551344
Help: Update support forum links.
...
There are a lot of places in Core that link to https://wordpress.org/support/ for the support forums, but that's now the URL for HelpHub. The new forums link is https://wordpress.org/support/forums/ .
Props jitendrabanjara1991, dilipbheda, mukesh27, ianbelanger.
Fixes #46790 .
Built from https://develop.svn.wordpress.org/trunk@45140
git-svn-id: http://core.svn.wordpress.org/trunk@44949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-08 22:59:56 +00:00