Commit Graph

39845 Commits

Author SHA1 Message Date
Sergey Biryukov
d2a7fa4bff I18N: Remove unnecessary HTML from "Previewing:" string in WP_Customize_Theme_Control.
Props ramiy.
Fixes #47271.

git-svn-id: https://develop.svn.wordpress.org/trunk@45435 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:29:21 +00:00
Sergey Biryukov
32557983ae Text Changes: Use consistent question wording for discarding unpublished changes in Customizer.
Props ramiy.
Fixes #47258.

git-svn-id: https://develop.svn.wordpress.org/trunk@45434 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 15:18:32 +00:00
Sergey Biryukov
b10cf79f01 I18N: Merge duplicate "Try Again" strings.
Props ramiy.
Fixes #47251.

git-svn-id: https://develop.svn.wordpress.org/trunk@45433 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 14:39:35 +00:00
Sergey Biryukov
2e32d4331f I18N: Remove unnecessary markup from plugin action messages, for consistency with the rest of the admin.
Props ramiy.
Fixes #47238.

git-svn-id: https://develop.svn.wordpress.org/trunk@45432 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 14:35:58 +00:00
Sergey Biryukov
85e517ca48 Administration: Merge similar "file does not exist" messages in plugin and theme editors.
Props ramiy.
Fixes #47249.

git-svn-id: https://develop.svn.wordpress.org/trunk@45431 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 12:34:09 +00:00
Sergey Biryukov
e1e3ba9f59 Docs: Correct @type annotation for wpdb::$last_query.
Props nextendweb, mukesh27.
Fixes #47095.

git-svn-id: https://develop.svn.wordpress.org/trunk@45430 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 02:29:56 +00:00
Sergey Biryukov
44a862bacd Docs: Correct @type annotation for WP_Customize_Widgets properties.
Props diddledan.
Fixes #46856.

git-svn-id: https://develop.svn.wordpress.org/trunk@45429 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 02:15:58 +00:00
Sergey Biryukov
9c4d3f8871 Docs: Correct @type annotation for WP_Customize_Selective_Refresh::$current_partial_id.
Props diddledan.
Fixes #46854.

git-svn-id: https://develop.svn.wordpress.org/trunk@45428 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 02:11:17 +00:00
Sergey Biryukov
c365e1c4d9 Docs: Correct @type annotation for WP_Customize_Nav_Menu_Item_Setting::$value.
Props diddledan.
Fixes #46853.

git-svn-id: https://develop.svn.wordpress.org/trunk@45427 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 02:09:23 +00:00
Sergey Biryukov
f128da7f65 Docs: Correct @type annotation for WP_Customize_Manager::$_changeset_data.
Props diddledan.
Fixes #46852.

git-svn-id: https://develop.svn.wordpress.org/trunk@45426 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 02:07:00 +00:00
Sergey Biryukov
6b254f864b Twenty Seventeen: Accessibility: Add missing focus state for native audio and video embeds.
Props kjellr, karlgroves.
Fixes #47190.

git-svn-id: https://develop.svn.wordpress.org/trunk@45425 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 02:00:16 +00:00
Sergey Biryukov
10855438ea Date/Time: Replace all instances of date() with gmdate().
Use of `date()` in core depends on PHP timezone set to UTC and not changed by third party code (which cannot be guaranteed).

`gmdate()` is functionally equivalent, but is not affected by PHP timezone setting: it's always UTC, which is the exact behavior the core needs.

Props nielsdeblaauw, Rarst.
Fixes #46438. See #44491.

git-svn-id: https://develop.svn.wordpress.org/trunk@45424 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-26 00:11:37 +00:00
John Blackbourn
716e25e0df Docs: Correct a theme feature name.
See #45134


git-svn-id: https://develop.svn.wordpress.org/trunk@45423 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 23:45:19 +00:00
John Blackbourn
13bd882529 Docs: Improve documentation for variadic functions relating to post type support and theme support.
See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45422 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 23:40:06 +00:00
John Blackbourn
f0daff8dbf Docs: Correct a function name in the do_action() documentation.
See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45421 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 22:52:45 +00:00
John Blackbourn
fe7958889a Docs: Improve and correct documentation for hook-related variadic functions.
See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45420 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 22:51:14 +00:00
John Blackbourn
51ab0b5824 Docs: Standardise documentation for capability-related variadic functions.
See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45419 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 22:26:22 +00:00
John Blackbourn
b64f812a59 Docs: Switch to the more common syntax for variadic function documentation.
See #37402


git-svn-id: https://develop.svn.wordpress.org/trunk@45418 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 21:58:18 +00:00
Andrea Fercia
d013696652 Accessibility: Improve toggling the "Post locked" information visibility.
- effectively hides the "Post locked" information from assistive technologies
- when a post is locked, reveals the "Post locked" information without CSS animation
- the height CSS animation didn't work anyways after [24906]

See #24553.
Fixes #44946.


git-svn-id: https://develop.svn.wordpress.org/trunk@45417 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 17:14:29 +00:00
Andrea Fercia
12c154717b Accessibility: Improve settings tables and forms after [45403].
- adds `role="presentation"` to the edit comment table 
- removes a few pointless `<fieldset>` elements
- adds a few missing `<label>` elements
- adds the CSS class `class="td-full"` to table rows spanning to multiple cells
- adds explicit `scope="row"` attribute to the table headers in `options-permalink.php`: this table is better communicated as data table 
- uses consistent label association in the "Privacy Settings" page
- in the installation page "Set up your database connection": associates descriptions to their inout fields using `aria-describedby`
- improves the link to gravatar.com in the `user-edit.php` page

See #46899.
Fixes #47390.


git-svn-id: https://develop.svn.wordpress.org/trunk@45416 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 15:18:24 +00:00
Sergey Biryukov
56b2957c2e CSS Coding Standards: Update unitless values for line-height in wp-admin/css/widgets.css with more precise calculations.
Props ianbelanger.
Fixes #46531.

git-svn-id: https://develop.svn.wordpress.org/trunk@45415 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 14:43:29 +00:00
Sergey Biryukov
1752bc29a7 CSS Coding Standards: Update unitless values for line-height in wp-admin/css/nav-menus.css with more precise calculations.
Props ianbelanger.
Fixes #46516.

git-svn-id: https://develop.svn.wordpress.org/trunk@45414 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 14:41:55 +00:00
Sergey Biryukov
8081adfefa Editor: In edit-form-blocks.php, check the result of wp_set_post_lock(), which may return false and cause a warning when passed to implode().
Props kakshak, aduth.
Fixes #47013.

git-svn-id: https://develop.svn.wordpress.org/trunk@45413 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 14:34:30 +00:00
Sergey Biryukov
a6fa4b5491 General: 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/.

This is a follow-up to [45140], which changed the links in help tabs.

Props dilipbheda.
Fixes #47239. See #46790.

git-svn-id: https://develop.svn.wordpress.org/trunk@45412 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 14:23:27 +00:00
Andrea Fercia
57ebd24077 Accessibility: Fix the headings hierarchy in the legacy Custom Background and Custom Header pages.
Fixes #47386.


git-svn-id: https://develop.svn.wordpress.org/trunk@45411 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 13:31:59 +00:00
John Blackbourn
dd40790dad Build/Test Tools: Ignore generated RTL CSS files from Git version control.
Fixes #47078


git-svn-id: https://develop.svn.wordpress.org/trunk@45410 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 12:29:36 +00:00
Sergey Biryukov
cfd2e38db3 Docs: Remove full stop from ticket number.
See #46402.

git-svn-id: https://develop.svn.wordpress.org/trunk@45409 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 12:08:11 +00:00
Sergey Biryukov
bda3af14b0 Formatting: Don't run wp_targeted_link_rel() on entirely serialized content.
Props birgire, elliotcondon.
Fixes #46402.

git-svn-id: https://develop.svn.wordpress.org/trunk@45408 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 12:04:28 +00:00
John Blackbourn
8226fe338f Users: Allow Super Admins to remove themselves from a site on a Multisite network.
Props Mista-Flo, birgire

Fixes #41439


git-svn-id: https://develop.svn.wordpress.org/trunk@45407 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-25 00:12:22 +00:00
Sergey Biryukov
4812590582 Docs: Correct description for $seplocation parameter of wp_title().
Props mukesh27, vladlu.
Fixes #47370.

git-svn-id: https://develop.svn.wordpress.org/trunk@45406 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 22:58:44 +00:00
John Blackbourn
fce8910a2d Mail: Use the standardised spelling of email in the password reset error message.
Fixes #39110


git-svn-id: https://develop.svn.wordpress.org/trunk@45405 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 22:52:55 +00:00
John Blackbourn
3834909270 Mail: Improve the user experience when the password reset email cannot be sent.
This introduces a link to the support page for resetting your password, and improves the error by bringing it into the login page instead of a `wp_die()`.

Props neelpatel7295, estelaris, desrosj


git-svn-id: https://develop.svn.wordpress.org/trunk@45404 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 22:13:11 +00:00
Sergey Biryukov
a3fbc75237 Accessibility: Make sure layout tables across the admin are correctly linearized.
Adds `role="presentation"` to the `<table>` elements used for layout purposes.

Ideally, HTML tables should be used for tabular data. When tables are used for layout purposes, it's important to remove any native semantics so that assistive technologies can correctly announce the table content in a linearized fashion.

Props greatislander, afercia.
Fixes #46899.

git-svn-id: https://develop.svn.wordpress.org/trunk@45403 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 21:55:21 +00:00
John Blackbourn
a4d9f02eef I18N: Add a language icon next to language selectors.
This change means that users who can't read the site's current language can more easily identify controls that allow them to change either the site language or their own admin area language.

Props janak007, atlasmahesh, afercia, birgire, JoshuaWold

Fixes #43144


git-svn-id: https://develop.svn.wordpress.org/trunk@45402 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 20:42:06 +00:00
John Blackbourn
971b5daa74 Administration: Replace references to "articles" with "posts" for greater consistency of terminology.
Props angelagibson

Fixes #38517


git-svn-id: https://develop.svn.wordpress.org/trunk@45401 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 19:17:50 +00:00
Sergey Biryukov
a850022635 Bootstrap/Load: In wp_get_server_protocol(), check if $_SERVER['SERVER_PROTOCOL'] is defined, to avoid a notice in CLI context.
Props thakkarhardik, malthert.
Fixes #47005.

git-svn-id: https://develop.svn.wordpress.org/trunk@45400 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:46:16 +00:00
Sergey Biryukov
630f4bc1ea I18N: Remove PHP function name from translatable string in WP_Debug_Data.
Props ramiy.
Fixes #47254.

git-svn-id: https://develop.svn.wordpress.org/trunk@45399 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:40:35 +00:00
Sergey Biryukov
7afa6c2057 Login and Registration: Pass the action to site_url() in wp_logout_url() and wp_lostpassword_url():
* Make `site_url` filter in `wp_logout_url()` aware of the `logout` action.
* Make `network_site_url` filter in `wp_lostpassword_url()` aware of the `lostpassword` action.

Props jfarthing84.
Fixes #43407.

git-svn-id: https://develop.svn.wordpress.org/trunk@45398 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:32:19 +00:00
Sergey Biryukov
d1be6e34c9 Twenty Nineteen: Add missing icon to Edit link for pages.
Props mukesh27, ianbelanger, ounziw.
Fixes #47332.

git-svn-id: https://develop.svn.wordpress.org/trunk@45397 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:21:09 +00:00
Sergey Biryukov
36d7479dc5 I18N: Merge two similar "you may need to press the Esc key twice" strings.
Props ramiy, tmatsuur, hareesh-pillai.
Fixes #47036.

git-svn-id: https://develop.svn.wordpress.org/trunk@45396 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:17:31 +00:00
Sergey Biryukov
069ecb0292 I18N: Merge two similar "An unexpected error occurred" strings.
Props ramiy.
Fixes #47035.

git-svn-id: https://develop.svn.wordpress.org/trunk@45395 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:13:44 +00:00
Sergey Biryukov
c725e9f0d8 Docs: Fix typos in DocBlocks and comments in wp-admin/includes/file.php.
Props mukesh27.
Fixes #47026.

git-svn-id: https://develop.svn.wordpress.org/trunk@45394 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:07:52 +00:00
Sergey Biryukov
22d530e2bb Docs: Remove unused @global reference in do_blocks() DocBlock.
Props avinapatel.
Fixes #47055.

git-svn-id: https://develop.svn.wordpress.org/trunk@45393 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:04:19 +00:00
Sergey Biryukov
ee3324653a Docs: Fix incorrect @see notation in wp_localize_script() DocBlock.
Props coffee2code, shamim51.
Fixes #47104.

git-svn-id: https://develop.svn.wordpress.org/trunk@45392 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-24 01:01:05 +00:00
Sergey Biryukov
60df42d187 Networks and Sites: Readjust tabs in wp-admin/includes/network.php for (more or less) consistent alignment.
See #47062.

git-svn-id: https://develop.svn.wordpress.org/trunk@45391 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-23 23:34:40 +00:00
Sergey Biryukov
4f51d3679c Networks and Sites: Remove extra whitespace in .htaccess rules on Network Setup page.
Props riddhiehta02 for initial patch, sebastienserre, masterforwordpress.
Fixes #47062.

git-svn-id: https://develop.svn.wordpress.org/trunk@45390 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-23 23:27:57 +00:00
John Blackbourn
2756e6a27f Administration: Don't apply italic formatting to code blocks in setting descriptions.
Props chetan200891

Fixes #42651


git-svn-id: https://develop.svn.wordpress.org/trunk@45389 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-23 23:13:51 +00:00
John Blackbourn
bcf74af357 Docs: Remove incorrect information about usage of the "from" filters in wp_mail(), tidy up formatting.
See #47110


git-svn-id: https://develop.svn.wordpress.org/trunk@45388 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-23 22:41:12 +00:00
John Blackbourn
9b248694ac I18N: Use a complete translatable string for the "Delete My Site" email subject.
Props thrijith

Fixes #46855


git-svn-id: https://develop.svn.wordpress.org/trunk@45387 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-23 22:14:28 +00:00
John Blackbourn
9ca74cade9 Embeds: Remove the "Supports HTTPS" column from the whitelisted oEmbed provider list now that all supported providers use HTTPS.
See #28507


git-svn-id: https://develop.svn.wordpress.org/trunk@45386 602fd350-edb4-49c9-b593-d223f7449a82
2019-05-23 21:22:23 +00:00