Sergey Biryukov
60f5fa9367
Tests: Rename wpValidateBoolean.php
for consistency with other files.
...
See #30238 .
Built from https://develop.svn.wordpress.org/trunk@47141
git-svn-id: http://core.svn.wordpress.org/trunk@46941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-31 00:16:04 +00:00
Sergey Biryukov
3b9cddaea5
Twenty Nineteen: Remove duplicate font-size
property.
...
The theme does not use a `px` fallback for `rem` units anywhere else.
Follow-up to [47053] for Twenty Twenty.
See #49015 .
Built from https://develop.svn.wordpress.org/trunk@47140
git-svn-id: http://core.svn.wordpress.org/trunk@46940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-31 00:09:08 +00:00
ianbelanger
9fc09b2720
Fixes PHPCS Introduced in [47135].
...
There was extra whitespace in the previous commit, this removes it.
See #48552
Built from https://develop.svn.wordpress.org/trunk@47139
git-svn-id: http://core.svn.wordpress.org/trunk@46939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 21:55:05 +00:00
K. Adam White
b78819c3fa
REST API: Reuse previously-generated embedded objects when building collection response.
...
Store each generated embedded object in a temporary cache when querying for linked resources so that repeated links to the same resource do not trigger repeated queries or processing.
Props TimothyBlynJacobs.
Fixes #48838 .
Built from https://develop.svn.wordpress.org/trunk@47138
git-svn-id: http://core.svn.wordpress.org/trunk@46938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 20:22:07 +00:00
Sergey Biryukov
d80131190f
Twenty Nineteen: Standardize the Required PHP and Tested Up To headers.
...
* Remove `WordPress` from `Requires at least` headers.
* Ensure the `Requires at least` and `Requires PHP` headers are present in the `style.css` file.
Follow-up to [46676], which updated `style-rtl.css`, but not `style.scss` or `style.css`.
See #48517 .
Built from https://develop.svn.wordpress.org/trunk@47136
git-svn-id: http://core.svn.wordpress.org/trunk@46936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 20:04:05 +00:00
ianbelanger
dae1032531
Bundled Themes: Twenty Twenty add theme support for responsive embeds.
...
Adds the call to `responsive-embed` theme support in order to fix issues with facebook embeds not being responsive at certain screen widths.
Props williampatton, nielslange.
Fixes #48552 .
Built from https://develop.svn.wordpress.org/trunk@47135
git-svn-id: http://core.svn.wordpress.org/trunk@46935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 19:21:07 +00:00
Sergey Biryukov
46a08859d0
Themes: Replace —
with –
as a separator between Monday and Friday in theme starter content.
...
The `ndash` standardly is the "through" indicator for showing inclusive dates and numbers, while the `mdash` is an interruptor and used as an aside.
Props mikejdent, garrett-eclipse.
Fixes #48286 .
Built from https://develop.svn.wordpress.org/trunk@47134
git-svn-id: http://core.svn.wordpress.org/trunk@46934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 19:17:06 +00:00
ianbelanger
481bbb3128
Bundled Themes: Twenty Twenty content font CSS selector is too important.
...
This makes the font family selector for `entry-content` less specific and thus easier to override.
Props alexandreb3, larrach, audrasjb.
Fixes #49318 .
Built from https://develop.svn.wordpress.org/trunk@47133
git-svn-id: http://core.svn.wordpress.org/trunk@46933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-30 18:28:07 +00:00
Sergey Biryukov
d3c032bc35
Dashboard: Improve the appearance of "WordPress Events and News" dashboard widget for multi-day events.
...
If an upcoming event spans over several days, this information is now properly reflected in the widget.
Props imath, casiepa, iandunn, hareesh-pillai, melchoyce, mapk, desrosj, audrasjb, SergeyBiryukov.
Fixes #47798 .
Built from https://develop.svn.wordpress.org/trunk@47124
git-svn-id: http://core.svn.wordpress.org/trunk@46924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 02:19:08 +00:00
Sergey Biryukov
b2ffea836b
Docs: Fix typos in wp-admin/includes/class-pclzip.php
.
...
With the upstream library not updated in 10 years since the last time it was merged, it should be safe to treat it as "adopted" rather than external, and make these fixes.
Props passoniate, ottok.
Fixes #49163 . See #38464 .
Built from https://develop.svn.wordpress.org/trunk@47123
git-svn-id: http://core.svn.wordpress.org/trunk@46923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:56:04 +00:00
Sergey Biryukov
001ffe81fb
Docs: Improve inline comments per the documentation standards.
...
Includes minor code layout fixes for better readability.
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47122
git-svn-id: http://core.svn.wordpress.org/trunk@46922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:45:18 +00:00
Sergey Biryukov
e336b24edd
Docs: Improve DocBlocks in phpunit/includes/object-cache.php
per the documentation standards.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47121
git-svn-id: http://core.svn.wordpress.org/trunk@46921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:39:04 +00:00
Sergey Biryukov
395ee12145
Docs: Improve comments in js/_enqueues/wp/revisions.js
per the documentation standards.
...
Props passoniate.
Fixes #49177 .
Built from https://develop.svn.wordpress.org/trunk@47120
git-svn-id: http://core.svn.wordpress.org/trunk@46920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:37:04 +00:00
Sergey Biryukov
037a736757
Docs: Improve comments in some wp-admin
files per the documentation standards.
...
Follow-up to [47084].
Props passoniate, apedog.
Fixes #49223 , #49227 .
Built from https://develop.svn.wordpress.org/trunk@47119
git-svn-id: http://core.svn.wordpress.org/trunk@46919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-29 00:35:08 +00:00
Sergey Biryukov
cfb79b15c3
Coding Standards: Disable WPCS warnings for date_default_timezone_set()
and current_time( 'timestamp' )
calls in Date/Time tests.
...
These calls are intentional and required for the tests.
See #49222 .
Built from https://develop.svn.wordpress.org/trunk@47118
git-svn-id: http://core.svn.wordpress.org/trunk@46918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-28 00:53:05 +00:00
Sergey Biryukov
2c1d3770fa
Docs: Fix typo in a comment in js/media/models/attachment.js
.
...
Props wptoolsdev.
Fixes #49303 .
Built from https://develop.svn.wordpress.org/trunk@47117
git-svn-id: http://core.svn.wordpress.org/trunk@46917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-27 14:44:08 +00:00
Sergey Biryukov
50edbd537e
Customize: Fix typo in CustomHeader.prototype.initialize()
DocBlock in src/js/_enqueues/wp/custom-header.js
.
...
Props ankitmaru.
Fixes #49301 .
Built from https://develop.svn.wordpress.org/trunk@47116
git-svn-id: http://core.svn.wordpress.org/trunk@46916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-27 14:33:05 +00:00
Sergey Biryukov
e65032ff6b
Coding Standards: Use strict comparison in wp-admin/user/admin.php
.
...
Apply the case-insensitive network-site comparisons added in [27725] for `wp-admin/network/admin.php` to `wp-admin/user/admin.php` too, for consistency.
Props rimadoshi.
Fixes #49300 .
Built from https://develop.svn.wordpress.org/trunk@47115
git-svn-id: http://core.svn.wordpress.org/trunk@46915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-27 14:30:05 +00:00
Sergey Biryukov
c7bab2b410
Comments: Add In reply to: %s
parent comment link to new comment email notifications.
...
This information was previously available on the Moderate Comment screen in the admin, but was missing from moderation emails.
Props imath, danieltj, andraganescu, galbaras, SergeyBiryukov.
Fixes #43805 . See #43429 .
Built from https://develop.svn.wordpress.org/trunk@47114
git-svn-id: http://core.svn.wordpress.org/trunk@46914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-27 04:33:04 +00:00
Sergey Biryukov
b79e042b00
Docs: Remove extra trailing spaces from wp_add_privacy_policy_content()
DocBlock to fix WPCS issues, apply minor formatting changes for consistency.
...
Follow-up to [47112].
See #49282 .
Built from https://develop.svn.wordpress.org/trunk@47113
git-svn-id: http://core.svn.wordpress.org/trunk@46913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-27 01:06:04 +00:00
Andrew Ozz
516629964c
Privacy: Cleanup .wp-policy-help
CSS remnants and add back-compat when hiding the tutorial content before copying.
...
Props garrett-eclipse.
Fixes #49282 .
Built from https://develop.svn.wordpress.org/trunk@47112
git-svn-id: http://core.svn.wordpress.org/trunk@46912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-26 23:02:03 +00:00
Sergey Biryukov
1c3b5c9dc8
Comments: Add In reply to %s.
prefix to child comments in comments feed.
...
The prefix includes a link to the parent comment and the name of its author.
Props zodiac1978, imath, SergeyBiryukov.
Fixes #43429 .
Built from https://develop.svn.wordpress.org/trunk@47111
git-svn-id: http://core.svn.wordpress.org/trunk@46911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-26 22:29:06 +00:00
Sergey Biryukov
c9c2ff21f5
Twenty Twenty: Remove unnecessary escaping of get_the_title()
in comments.php
.
...
For users with the `unfiltered_html` capability, titles can contain legitimate markup.
The title is filtered on saving, so the content in the database is considered safe.
Props kjellr, joyously, peterwilsoncc.
Fixes #49190 .
Built from https://develop.svn.wordpress.org/trunk@47110
git-svn-id: http://core.svn.wordpress.org/trunk@46910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-25 22:06:07 +00:00
Sergey Biryukov
b8d10d8b63
Docs: Improve documentation for add_user_to_blog()
, add_existing_user_to_blog()
, and add_new_user_to_blog()
.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47109
git-svn-id: http://core.svn.wordpress.org/trunk@46909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-24 17:20:07 +00:00
Andrea Fercia
6b4368669d
Toolbar: Remove leftover @since
notations after [46678].
...
See #19647 .
Built from https://develop.svn.wordpress.org/trunk@47108
git-svn-id: http://core.svn.wordpress.org/trunk@46908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-23 12:59:06 +00:00
Sergey Biryukov
c67b2c235a
Cache API: Remove WP_Object_Cache::__destruct()
and wpdb::__destruct()
.
...
Originally added in [4686], these constructor/destructor pairings were designed to prevent the objects from being destroyed before shutdown, when output buffers are flushed.
A deeper investigation reveals that this approach didn't quite work as expected and was later made redundant by introducing `wp_ob_end_flush_all()` in [5462].
Props wonderboymusic, nacin, Mte90, SergeyBiryukov.
Fixes #21402 .
Built from https://develop.svn.wordpress.org/trunk@47107
git-svn-id: http://core.svn.wordpress.org/trunk@46907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-23 00:27:05 +00:00
jorgefilipecosta
48299521c6
Block Editor: Update WordPress Packages.
...
The following package versions were changed:
@wordpress/a11y: 2.5.1 -> 2.6.0
@wordpress/annotations: 1.9.0 -> 1.10.0
@wordpress/api-fetch: 3.8.0 -> 3.9.0
@wordpress/blob: 2.5.1 -> 2.6.0
@wordpress/block-directory: 1.2.0 -> 1.3.0
@wordpress/block-editor: 3.4.0 -> 3.5.0
@wordpress/block-library: 2.11.0 -> 2.12.0
@wordpress/blocks: 6.9.0 -> 6.10.0
@wordpress/components: 8.5.0 -> 9.0.0
@wordpress/compose: 3.9.0 -> 3.10.0
@wordpress/core-data: 2.9.0 -> 2.10.0
@wordpress/data: 4.11.0 -> 4.12.0
@wordpress/data-controls: 1.5.0 -> 1.6.0
@wordpress/dom: 2.6.0 -> 2.7.0
@wordpress/dom-ready: 2.5.1 -> 2.6.0
@wordpress/e2e-test-utils: 4.0.0 -> 4.1.0
@wordpress/edit-post: 3.10.0 -> 3.11.0
@wordpress/editor: 9.9.0 -> 9.10.0
@wordpress/format-library: 1.11.0 -> 1.12.0
@wordpress/i18n: 3.7.0 -> 3.8.0
@wordpress/is-shallow-equal: 1.6.1 -> 1.7.0
@wordpress/keycodes: 2.7.0 -> 2.8.0
@wordpress/list-reusable-blocks: 1.10.0 -> 1.11.0
@wordpress/media-utils: 1.4.0 -> 1.5.0
@wordpress/notices: 1.10.0 -> 1.11.0
@wordpress/nux: 3.9.0 -> 3.10.0
@wordpress/plugins: 2.9.0 -> 2.10.0
@wordpress/priority-queue: 1.3.1 -> 1.4.0
@wordpress/rich-text: 3.9.0 -> 3.10.0
@wordpress/scripts: 6.1.1 -> 6.2.0
@wordpress/server-side-render: 1.5.0 -> 1.6.0
@wordpress/viewport: 2.10.0 -> 2.11.0
The following package was added:
@wordpress/keyboard-shortcuts
Props gziolo.
Fixes #49204 .
Built from https://develop.svn.wordpress.org/trunk@47106
git-svn-id: http://core.svn.wordpress.org/trunk@46906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 22:06:21 +00:00
iandunn
2974f78157
Multisite: Add $context
parameter to switch_blog
action.
...
The action is fired by both `switch_to_blog()` and `restore_current_blog()`, and previously it was difficult for callback functions to determine which function had fired it.
Props SergeyBiryukov, johnbillion, jeremyfelt.
Fixes #49265 .
Built from https://develop.svn.wordpress.org/trunk@47105
git-svn-id: http://core.svn.wordpress.org/trunk@46905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 20:53:05 +00:00
Sergey Biryukov
f34eef4437
Docs: Expand @return
value description for wp_loginout()
, wp_register()
, get_calendar()
.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47104
git-svn-id: http://core.svn.wordpress.org/trunk@46904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 00:57:03 +00:00
Sergey Biryukov
6cf32058ff
Docs: Expand @return
description for the_terms()
.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47103
git-svn-id: http://core.svn.wordpress.org/trunk@46903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 00:41:06 +00:00
Sergey Biryukov
cfa3dc8ee8
Docs: Correct @return
value for parent_dropdown()
.
...
Follow-up to [47100].
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47102
git-svn-id: http://core.svn.wordpress.org/trunk@46902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 00:33:04 +00:00
Sergey Biryukov
c3f9af4f00
Docs: Adjust documentation for some pre_*
filters for consistency.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47101
git-svn-id: http://core.svn.wordpress.org/trunk@46901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 00:25:04 +00:00
Sergey Biryukov
eb513c5ac8
Docs: Adjust @return
value of parent_dropdown()
for consistency with other dropdown functions.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47100
git-svn-id: http://core.svn.wordpress.org/trunk@46900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 00:22:03 +00:00
Sergey Biryukov
381df97419
Docs: Correct @return
value for update_core()
and Core_Upgrader::upgrade()
.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47099
git-svn-id: http://core.svn.wordpress.org/trunk@46899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-22 00:19:04 +00:00
Sergey Biryukov
46dd0a79f6
Date/Time: In wp_maybe_decline_date()
, add support for a range of days, e.g. February 21–23
.
...
A potential use case is displaying multi-day events in the WordPress Events and News dashboard widget.
See #47798 , #48934 .
Built from https://develop.svn.wordpress.org/trunk@47098
git-svn-id: http://core.svn.wordpress.org/trunk@46898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-21 23:48:04 +00:00
Sergey Biryukov
95f5cecd77
Docs: Expand @return
value description for wp_nav_menu()
.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47097
git-svn-id: http://core.svn.wordpress.org/trunk@46897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-21 20:13:05 +00:00
Sergey Biryukov
dd79e6e107
Docs: Correct DocBlock formatting for filters accepting the $parsed_args
parameter.
...
Follow-up to [45667].
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47096
git-svn-id: http://core.svn.wordpress.org/trunk@46896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-21 15:41:04 +00:00
Sergey Biryukov
185e36d428
I18N: Merge duplicate "you must be logged in to comment" strings.
...
Props ramiy.
Fixes #49251 .
Built from https://develop.svn.wordpress.org/trunk@47095
git-svn-id: http://core.svn.wordpress.org/trunk@46895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-21 14:52:06 +00:00
Sergey Biryukov
6730b3f716
I18N: Synchronize MediaElement.js translation strings with the currently bundled version.
...
Some strings were previously removed in [43345] and accidentally reintroduced in [44163].
Props ramiy.
Fixes #49249 . See #42139 , #37453 .
Built from https://develop.svn.wordpress.org/trunk@47094
git-svn-id: http://core.svn.wordpress.org/trunk@46894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-21 02:21:05 +00:00
Sergey Biryukov
60c651ad6a
I18N: Add missing placeholders to some translators comments in wp-admin
.
...
Props ramiy.
Fixes #49248 .
Built from https://develop.svn.wordpress.org/trunk@47093
git-svn-id: http://core.svn.wordpress.org/trunk@46893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 15:43:04 +00:00
Sergey Biryukov
c946a71d9d
I18N: Correct translator comment in wp-admin/options-permalink.php
.
...
Props ramiy.
Fixes #49247 .
Built from https://develop.svn.wordpress.org/trunk@47092
git-svn-id: http://core.svn.wordpress.org/trunk@46892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 15:10:04 +00:00
Sergey Biryukov
cf249b07ed
I18N: Merge duplicate %1$s is not of type %2$s
strings in rest_validate_value_from_schema()
.
...
Props ramiy.
Fixes #49244 .
Built from https://develop.svn.wordpress.org/trunk@47091
git-svn-id: http://core.svn.wordpress.org/trunk@46891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 14:44:06 +00:00
Sergey Biryukov
1adca958e3
I18N: Remove unnecessary HTML from "Active:" strings in wp-admin/themes.php
.
...
Follow-up to [45435].
Props ramiy.
Fixes #49243 .
Built from https://develop.svn.wordpress.org/trunk@47090
git-svn-id: http://core.svn.wordpress.org/trunk@46890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 14:27:04 +00:00
Sergey Biryukov
d5be8f0635
I18N: Correct translator comments in WP_Users_List_Table::get_views()
to provide information about each placeholder.
...
Props ramiy.
Fixes #49242 .
Built from https://develop.svn.wordpress.org/trunk@47089
git-svn-id: http://core.svn.wordpress.org/trunk@46889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 14:08:05 +00:00
Sergey Biryukov
2900bb8ea7
Docs: Update links to https://secure.php.net/ , they now redirect to https://www.php.net/ .
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47088
git-svn-id: http://core.svn.wordpress.org/trunk@46888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-20 03:14:06 +00:00
Sergey Biryukov
f9b0dfbb8b
Docs: Correct description for shortcode_atts_{$shortcode}
filter.
...
Props glebkema.
Fixes #49225 .
Built from https://develop.svn.wordpress.org/trunk@47087
git-svn-id: http://core.svn.wordpress.org/trunk@46887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-19 13:41:08 +00:00
Sergey Biryukov
bb5765e951
Mail: Remove angle brackets from password reset URL in emails sent by retrieve_password()
and wp_new_user_notification()
.
...
The brackets were originally added in [16285] per W3C recommendation in https://www.w3.org/Addressing/URL/5.1_Wrappers.html to avoid wrapping the URL across multiple lines in plain text in older email clients.
This doesn't seem like a common issue in modern email clients, and the current implementation causes more issues than it solves. Since the URL is on a line by itself, it should not require any delimiters.
The URL in recovery mode email introduced in [44973] doesn't have angle brackets, so it's time to retire them in password reset email too if they're not used consistently.
Props donmhico, Otto42, sproutchris, iandunn, dd32, DaveWP196, sebastian.pisula, tommix, sablednah, julian.kimmig, Rahe, clayisland, arenddeboer, nicole2292, nagoke, squarecandy, eatingrules, SergeyBiryukov.
Fixes #21095 , #23578 , #44589 .
Built from https://develop.svn.wordpress.org/trunk@47086
git-svn-id: http://core.svn.wordpress.org/trunk@46886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-18 02:32:06 +00:00
Sergey Biryukov
89f5d3dd0c
Networks and Sites: Clarify the recommendation to remove the www
prefix from the site domain before creating a network.
...
The `siteurl` option reference was not quite clear, and the string actually refers to the domain name, not the full URL.
Props kharisblank, tobifjellner, ramiy.
Fixes #49214 .
Built from https://develop.svn.wordpress.org/trunk@47085
git-svn-id: http://core.svn.wordpress.org/trunk@46885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-18 01:15:04 +00:00
Sergey Biryukov
053a9cd5b8
Docs: Improve comments in some wp-admin
files per the documentation standards.
...
Props passoniate.
Fixes #49215 , #49216 .
Built from https://develop.svn.wordpress.org/trunk@47084
git-svn-id: http://core.svn.wordpress.org/trunk@46884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-18 00:54:04 +00:00
Sergey Biryukov
1cfc32af58
Coding Standards: Remove unnecessary // phpcs:ignore
instances in WP_Debug_Data
.
...
`WP_Theme::__get()` accepts `Name`, `Version`, and `Author` theme properties in lower case too.
Additionally, remove one short ternary instance, not allowed per the coding standards.
See #49222 .
Built from https://develop.svn.wordpress.org/trunk@47083
git-svn-id: http://core.svn.wordpress.org/trunk@46883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-01-18 00:26:06 +00:00