Sergey Biryukov
eb524c0b38
Docs: Improve documentation for various metadata functions.
...
This adds a more specific description for accepted object types: `post`, `comment`, `term`, `user`, or any other object type with an associated meta table.
Props sheparddw, kraftbj, DrewAPicture, SergeyBiryukov.
Fixes #45464 .
Built from https://develop.svn.wordpress.org/trunk@47390
git-svn-id: http://core.svn.wordpress.org/trunk@47177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-28 12:14:08 +00:00
Sergey Biryukov
32be7d6460
Coding Standards: Update PHPCS Composer plugin to v0.6.0.
...
Release log: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases/tag/v0.6.0
Props jrf.
See #49222 .
Built from https://develop.svn.wordpress.org/trunk@47389
git-svn-id: http://core.svn.wordpress.org/trunk@47176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-28 01:40:05 +00:00
Sergey Biryukov
19268546a5
Twenty Twenty: Replace quotation marks in starter content with HTML entities.
...
Props fahimmurshed.
Fixes #49534 .
Built from https://develop.svn.wordpress.org/trunk@47388
git-svn-id: http://core.svn.wordpress.org/trunk@47175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-27 22:00:07 +00:00
Sergey Biryukov
50afd0aa1b
Docs: Add a reference to `WP_Customize_Panel::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_panel()`.
...
Synchronize the documentation between two places, use `WP_Customize_Panel::__construct()` as the canonical source.
Props iaaxpage, marekdedic.
Fixes #48344 .
Built from https://develop.svn.wordpress.org/trunk@47387
git-svn-id: http://core.svn.wordpress.org/trunk@47174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-27 20:36:07 +00:00
Sergey Biryukov
9043b9833f
Docs: Add a reference to `WP_Customize_Section::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_section()`.
...
Synchronize the documentation between two places, use `WP_Customize_Section::__construct()` as the canonical source.
Props amolv, marekdedic.
Fixes #48346 .
Built from https://develop.svn.wordpress.org/trunk@47386
git-svn-id: http://core.svn.wordpress.org/trunk@47173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-27 20:29:06 +00:00
Sergey Biryukov
569319f553
Docs: Clarify the type of `theme_supports` argument in various Customizer classes.
...
Props marekdedic.
See #48347 .
Built from https://develop.svn.wordpress.org/trunk@47385
git-svn-id: http://core.svn.wordpress.org/trunk@47172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-27 20:23:06 +00:00
Sergey Biryukov
8c5a8f1811
Docs: Add a reference to `WP_Customize_Setting::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_setting()`.
...
Synchronize the documentation between two places, use `WP_Customize_Setting::__construct()` as the canonical source.
Props tmanoilov, marekdedic.
Fixes #48347 .
Built from https://develop.svn.wordpress.org/trunk@47384
git-svn-id: http://core.svn.wordpress.org/trunk@47171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-27 20:09:06 +00:00
Sergey Biryukov
ac9b6fcef8
Docs: Use a consistent description for the `$manager` parameter in various Customizer class constructions.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47383
git-svn-id: http://core.svn.wordpress.org/trunk@47170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-26 15:33:05 +00:00
Sergey Biryukov
3d75b5bac5
Docs: Add a `@see` reference to `WP_Customize_Control::__construct()` in child class constructors.
...
Follow-up to [47363], [47364].
See #48343 , #48348 .
Built from https://develop.svn.wordpress.org/trunk@47382
git-svn-id: http://core.svn.wordpress.org/trunk@47169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-26 13:30:08 +00:00
Sergey Biryukov
9bb8831642
Build/Test Tools: Remove redundant `Tests_Post_Types::register_post_type()` helper method, use `register_post_type()` directly.
...
Props gh640, varunshanbhag.
Fixes #49365 .
Built from https://develop.svn.wordpress.org/trunk@47381
git-svn-id: http://core.svn.wordpress.org/trunk@47168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-26 13:18:07 +00:00
Andrew Ozz
c2bea683a2
Build Tools: Do not delete the (now committed) `script-loader-packages.php` file when running `clean:js` and copy it to /build. Fixes cases when running `grunt watch` or `-dev` where that file may be deleted and not recreated.
...
See #48154 .
Built from https://develop.svn.wordpress.org/trunk@47380
git-svn-id: http://core.svn.wordpress.org/trunk@47167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-26 05:15:09 +00:00
jorgefilipecosta
218cd5f4c2
Post WordPress 5.4 Beta 3 version bump.
...
Built from https://develop.svn.wordpress.org/trunk@47379
git-svn-id: http://core.svn.wordpress.org/trunk@47166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 22:13:08 +00:00
jorgefilipecosta
3c8112e912
WordPress 5.4 Beta 3.
...
Built from https://develop.svn.wordpress.org/trunk@47378
git-svn-id: http://core.svn.wordpress.org/trunk@47165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 21:56:07 +00:00
Sergey Biryukov
3adea27d1c
Block Editor: Update `wp-includes/assets/script-loader-packages.php`.
...
Follow-up to [47352], [47354].
Props aduth, ocean90, garrett-eclipse.
Fixes #49506 .
Built from https://develop.svn.wordpress.org/trunk@47377
git-svn-id: http://core.svn.wordpress.org/trunk@47164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 21:45:06 +00:00
Sergey Biryukov
ab0cf0aa51
Privacy: Switch buttons in Next Steps column of privacy request tables to `break-word` for better legibility on various screen sizes.
...
Props garrett-eclipse, afercia, nrqsnchz.
Fixes #46304 .
Built from https://develop.svn.wordpress.org/trunk@47376
git-svn-id: http://core.svn.wordpress.org/trunk@47163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 21:01:06 +00:00
Sergey Biryukov
8136532954
Accessibility: Media: Hide the invisible "file upload button" on media views from assistive technologies.
...
The button is visually hidden, but was announced by screen readers in workflows unrelated to file uploading, leading to confusion.
Props afercia, audrasjb, azaozz.
Fixes #47611 .
Built from https://develop.svn.wordpress.org/trunk@47375
git-svn-id: http://core.svn.wordpress.org/trunk@47162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 20:44:06 +00:00
Sergey Biryukov
1a9b7f8737
General: Introduce HTML classes in `get_calendar()` for easier CSS targeting:
...
* `.wp-calendar-table` for the `<table>` element.
* `.wp-calendar-nav` for the navigation wrapper.
* `.wp-calendar-nav-prev` for the previous month link.
* `.wp-calendar-nav-next` for the next month link.
Replace `#prev` and `#next` HTML IDs with `.wp-calendar-nav-prev` and `.wp-calendar-nav-next` classes.
Props sabernhardt, BackuPs, audrasjb, jorbin.
Fixes #39763 .
Built from https://develop.svn.wordpress.org/trunk@47374
git-svn-id: http://core.svn.wordpress.org/trunk@47161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 20:30:07 +00:00
Sergey Biryukov
153eb7537e
Docs: In `update_option()`, remove an inaccurate statement about the `$autoload` value for new options.
...
If the option does not exist, it will be created with whatever was passed to the `$autoload` parameter, `'yes'` being only the default value.
Props leogermani.
Fixes #48357 .
Built from https://develop.svn.wordpress.org/trunk@47373
git-svn-id: http://core.svn.wordpress.org/trunk@47160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 20:08:07 +00:00
Sergey Biryukov
3a333ef030
Coding Standards: Use strict comparison for `normalize_whitespace()` checks when comparing revisions or autosaves.
...
Props dkarfa, itowhid06, TimothyBlynJacobs.
Fixes #47965 .
Built from https://develop.svn.wordpress.org/trunk@47372
git-svn-id: http://core.svn.wordpress.org/trunk@47159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 19:35:09 +00:00
Sergey Biryukov
8b0a0c44aa
Widgets: Create a unique HTML ID for the `<ul>` element of Recent Comments widget if more than one instance is displayed on the page.
...
Props peterwilsoncc, audrasjb, birgire, justinahinon, mbrailer, desrosj.
Fixes #46747 .
Built from https://develop.svn.wordpress.org/trunk@47371
git-svn-id: http://core.svn.wordpress.org/trunk@47158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 19:29:06 +00:00
Sergey Biryukov
00f110740b
Bootstrap/Load: In `wp_magic_quotes()`, revert the type change to string for `REQUEST_TIME` and `REQUEST_TIME_FLOAT` values, which should retain their proper type.
...
Among other things, this preserves compatibility of WP with PHPUnit Code Coverage generation.
Props jrf, Veraxus, Rarst.
See #48605 .
Built from https://develop.svn.wordpress.org/trunk@47370
git-svn-id: http://core.svn.wordpress.org/trunk@47157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 18:33:06 +00:00
Sergey Biryukov
1e81c20ff5
Docs: In `wp_insert_user()`, correct `@type` for `rich_editing`, `syntax_highlighting`, `comment_shortcuts`, and `show_admin_bar_front` arguments.
...
Follow-up to [47368].
See #49087 .
Built from https://develop.svn.wordpress.org/trunk@47369
git-svn-id: http://core.svn.wordpress.org/trunk@47156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 18:20:06 +00:00
Sergey Biryukov
2cd5292def
Docs: In `wp_insert_user()`, clarify that `rich_editing`, `syntax_highlighting`, `comment_shortcuts`, and `show_admin_bar_front` arguments accept `true` or `false` as a string literal, not boolean.
...
Props garrett-eclipse, audrasjb, valentinbora, bilgilabs, SergeyBiryukov.
Fixes #49087 .
Built from https://develop.svn.wordpress.org/trunk@47368
git-svn-id: http://core.svn.wordpress.org/trunk@47155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 18:16:07 +00:00
Sergey Biryukov
89689e5ba9
Docs: Clarify in `WP_Customize_Manager::remove_*()` methods that removing a setting, panel, section, or control does not destroy the class instance or remove its filters.
...
Props dlh, fgiannar, jon81, westonruter.
Fixes #48747 .
Built from https://develop.svn.wordpress.org/trunk@47367
git-svn-id: http://core.svn.wordpress.org/trunk@47154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 17:50:05 +00:00
Sergey Biryukov
5308f570cb
Comments: Restore the fourth parameter of `comments_number()` as `$post_id`, for consistency with `get_comments_number_text()`.
...
The parameter was previously used as the number of comments, marked as deprecated in [5101].
Given that it's been deprecated for the last 13 years, it should be safe to undeprecate and repurpose it for a cleaner function signature, instead of adding a fifth parameter.
Follow-up to [47276].
Fixes #48772 .
Built from https://develop.svn.wordpress.org/trunk@47366
git-svn-id: http://core.svn.wordpress.org/trunk@47153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 17:34:08 +00:00
Sergey Biryukov
b7c69ce058
Widgets: Avoid an overflow issue in widget controls that include `<select>` form fields.
...
Props alexischenal, audrasjb, dkarfa.
Fixes #49401 .
Built from https://develop.svn.wordpress.org/trunk@47365
git-svn-id: http://core.svn.wordpress.org/trunk@47152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 17:04:07 +00:00
Sergey Biryukov
d51c720d2f
Docs: Add a reference to `WP_Customize_Control::__construct()` for information on accepted arguments in `WP_Customize_Manager::add_control()`.
...
Synchronize the documentation between two places, use `WP_Customize_Control::__construct()` as the canonical source.
Props hAmpzter, marekdedic, SergeyBiryukov.
Fixes #48343 .
Built from https://develop.svn.wordpress.org/trunk@47364
git-svn-id: http://core.svn.wordpress.org/trunk@47151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 16:41:07 +00:00
Sergey Biryukov
cfc27d08ce
Docs: Add a reference to `WP_Customize_Control::__construct()` for information on accepted arguments to override class property defaults in child classes.
...
Props marcio-zebedeu, marekdedic.
Fixes #48348 .
Built from https://develop.svn.wordpress.org/trunk@47363
git-svn-id: http://core.svn.wordpress.org/trunk@47150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 16:21:07 +00:00
K. Adam White
44e1bbef85
REST API: Correctly infer empty objects passed via query parameters.
...
Permit passing an empty object as the string "?obj=". The type of the passed empty argument is inferred from the registered schema.
Props TimothyBlynJacobs, steffanhalv, schlessera, dd32.
Fixes #42961 .
Built from https://develop.svn.wordpress.org/trunk@47362
git-svn-id: http://core.svn.wordpress.org/trunk@47149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 15:34:07 +00:00
K. Adam White
a5f16272dd
REST API: Permit access to the themes controller if user can edit any post type.
...
Check a more exhaustive list of post type editing caps beyond "edit_post" to ensure custom user roles with access to to specific post types may still use block editor functionality depending on theme features.
Props miyauchi, TimothyBlynJacobs.
Fixes #46723 .
Built from https://develop.svn.wordpress.org/trunk@47361
git-svn-id: http://core.svn.wordpress.org/trunk@47148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 15:20:08 +00:00
K. Adam White
8faf366ab9
REST API: Apply all relevant block rendering filters when rendering block previews.
...
Several filters were introduced to the render_block method since the initial implementation of the block-renderer/ endpoints, causing the output of those endpoints to diverge from the rendered content of blocks on the frontend.
Props kadamwhite, TimothyBlynJacobs, miinasikk.
Fixes #49387 .
Built from https://develop.svn.wordpress.org/trunk@47360
git-svn-id: http://core.svn.wordpress.org/trunk@47147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 15:05:06 +00:00
Sergey Biryukov
67a6527d51
Script Loader: Improve performance of `wp_script_is()` for scripts registered with complex dependencies.
...
This switches `WP_Dependencies::recurse_deps()` from recursively checking the same handles over and over again to keep a flattened array of queued items and their dependencies for faster lookup in `WP_Dependencies::query()`.
Props superdav42.
Fixes #46469 .
Built from https://develop.svn.wordpress.org/trunk@47359
git-svn-id: http://core.svn.wordpress.org/trunk@47146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 13:42:05 +00:00
Sergey Biryukov
c60ea3261f
Docs: Add a `@since` note for including `delete_posts` in default capabilities in `get_post_type_capabilities()`.
...
Follow-up to [47357].
See #30991 .
Built from https://develop.svn.wordpress.org/trunk@47358
git-svn-id: http://core.svn.wordpress.org/trunk@47145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 12:55:08 +00:00
Sergey Biryukov
aaccfc063f
Posts, Post Types: Ensure `delete_posts` is included in default post type capabilities regardless of `map_meta_cap` value.
...
This resolves PHP notices in a few places in core where this capability is checked.
Props Mte90, johnbillion, dipesh.kakadiya, jipmoors, bamadesigner, dd32, johnjamesjacoby, xedin.unknown, flixos90, SergeyBiryukov.
Fixes #30991 .
Built from https://develop.svn.wordpress.org/trunk@47357
git-svn-id: http://core.svn.wordpress.org/trunk@47144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 12:50:06 +00:00
Sergey Biryukov
1a090b3385
Customize: When a menu item is removed from the menu, uncheck its source item on the available items panel.
...
Props donmhico, garrett-eclipse, audrasjb.
Fixes #46830 .
Built from https://develop.svn.wordpress.org/trunk@47356
git-svn-id: http://core.svn.wordpress.org/trunk@47143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 11:14:08 +00:00
Sergey Biryukov
556c6d80d8
Script Loader: Remove unnecessary reference sign from function definitions in script loader.
...
This resolves PHP warnings when extensions like `php_uopz` or `php_tideways_xhprof` are in use.
Object variables in PHP 5+ contain a reference to the object, and it's the reference that's passed around.
Props jqz, killerbishop, Mte90, TJNowell, jorbin, pento, pcarvalho, valentinbora, SergeyBiryukov.
Fixes #44979 .
Built from https://develop.svn.wordpress.org/trunk@47355
git-svn-id: http://core.svn.wordpress.org/trunk@47142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 00:59:06 +00:00
jorgefilipecosta
f616ffb9c1
Block Editor: Update WordPress Packages WordPress 5.4 Beta 3.
...
The following package versions were changed:
@wordpress/block-directory: 1.5.1 -> 1.5.2
@wordpress/block-editor: 3.7.1 -> 3.7.2
@wordpress/block-library: 2.14.1 -> 2.14.2
@wordpress/components: 9.2.1 -> 9.2.2
@wordpress/edit-post: 3.13.1 -> 3.13.2
@wordpress/editor: 9.12.1 -> 9.12.2
@wordpress/format-library: 1.14.1 -> 1.14.2
@wordpress/list-reusable-blocks: 1.13.1 -> 1.13.2
@wordpress/media-utils: 1.7.1 -> 1.7.2
@wordpress/nux: 3.12.1 -> 3.12.2
@wordpress/server-side-render: 1.8.1 -> 1.8.2
Fixes #49506 .
Built from https://develop.svn.wordpress.org/trunk@47354
git-svn-id: http://core.svn.wordpress.org/trunk@47141 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-25 00:18:15 +00:00
Sergey Biryukov
3209729f5f
Accessibility: Widgets: Restore missing string in script loader.
...
The string was previously added in [42794] and accidentally removed in [44163].
Props garrett-eclipse, audrasjb.
Fixes #49505 .
Built from https://develop.svn.wordpress.org/trunk@47353
git-svn-id: http://core.svn.wordpress.org/trunk@47140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-24 23:07:09 +00:00
Andrew Ozz
50be657d81
Build Tools:
...
- Update the DependencyExtractionWebpackPlugin to 2.3.0 and set it to output a single assets file.
- Grunt: copy the assets file to both `SOURCE_DIR` and `BUILD_DIR` as `wp-includes/assets/script-loader-packages.php`.
- "Unignore" the `wp-includes/assets` directory. Its content will be committed similarly to `wp-includes/blocks`.
- Update `wp_default_packages_scripts()` to use the above file. This also removes the hard-coded lists of packages and packages with translations.
Props gziolo, pbearne, johnbillion, isabel_brison, ocean90, azaozz.
Fixes #48154 .
Built from https://develop.svn.wordpress.org/trunk@47352
git-svn-id: http://core.svn.wordpress.org/trunk@47139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-24 21:22:08 +00:00
K. Adam White
480372b07c
REST API: Fix namespace shadowing issue in route matching logic.
...
Following [47260] a namespace such as "test-ns" prevents any namespace such as "test-ns/v1" from being found when matching routes.
While not best practice, this was an unintentional back-compat break; this patch restores the original behavior.
Props david.binda, TimothyBlynJacobs.
Fixes #48530 .
Built from https://develop.svn.wordpress.org/trunk@47351
git-svn-id: http://core.svn.wordpress.org/trunk@47138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-24 18:07:08 +00:00
Sergey Biryukov
4aeebf03a5
Menus: Introduce `wp_nav_menu_item_custom_fields_customize_template` action that fires at the end of the form field template for nav menu items in the customizer.
...
This brings parity with the `wp_nav_menu_item_custom_fields` action added in [47190] for the Menus screen.
Props celloexpressions.
Fixes #47056 .
Built from https://develop.svn.wordpress.org/trunk@47350
git-svn-id: http://core.svn.wordpress.org/trunk@47137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-24 14:58:19 +00:00
Sergey Biryukov
735d31ffbb
Coding Standards: Add missing braces to `if` conditions and use strict comparison in `js/_enqueues/wp/media/editor.js`.
...
Props ankitmaru.
Fixes #49317 .
Built from https://develop.svn.wordpress.org/trunk@47349
git-svn-id: http://core.svn.wordpress.org/trunk@47136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-23 08:58:05 +00:00
Sergey Biryukov
9f8f54bfbb
Built/Test Tools: Ignore the `node_modules` folder in Twenty Nineteen when running `grunt jshint:themes`.
...
Follow-up to [45060], [46352], [46450].
Fixes #49494 . See #46706 .
Built from https://develop.svn.wordpress.org/trunk@47348
git-svn-id: http://core.svn.wordpress.org/trunk@47135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-23 08:28:06 +00:00
Sergey Biryukov
5a23e3fabd
Docs: Use third-person singular verbs for function descriptions in `wp-includes/option.php`, per the documentation standards.
...
See #48303 .
Built from https://develop.svn.wordpress.org/trunk@47347
git-svn-id: http://core.svn.wordpress.org/trunk@47134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-23 01:07:08 +00:00
Sergey Biryukov
30572ef8ed
Docs: Add a `@staticvar` entry for `$transports` in `WP_Http::_dispatch_request()`.
...
Props utsav72640.
Fixes #48774 .
Built from https://develop.svn.wordpress.org/trunk@47346
git-svn-id: http://core.svn.wordpress.org/trunk@47133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-22 19:12:06 +00:00
Sergey Biryukov
e0a2660719
I18N: Replace `.htaccess` with placeholders in the strings for Site Health custom rules check.
...
Props ramiy.
Fixes #48864 .
Built from https://develop.svn.wordpress.org/trunk@47345
git-svn-id: http://core.svn.wordpress.org/trunk@47132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-22 18:56:06 +00:00
Sergey Biryukov
b4cea6ae93
I18N: Use a consistent wording for "Unable to write to file" strings.
...
Props ramiy.
Fixes #48862 .
Built from https://develop.svn.wordpress.org/trunk@47344
git-svn-id: http://core.svn.wordpress.org/trunk@47131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-22 18:33:08 +00:00
desrosj
b92155f273
General: Introduce a pull request template.
...
This ensures that contributors opening a pull request on GitHub for code review have proper guidance.
See https://make.wordpress.org/core/2020/02/21/working-on-trac-tickets-using-github-pull-requests/ and https://meta.trac.wordpress.org/ticket/4903 .
Props noisysocks, desrosj.
Fixes #49489 .
Built from https://develop.svn.wordpress.org/trunk@47342
git-svn-id: http://core.svn.wordpress.org/trunk@47129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-21 18:25:07 +00:00
Sergey Biryukov
92050d6499
Build/Test Tools: Remove unused `::assertPostHasTerms()` method from `tests/term.php`.
...
The associated test was removed in [30241].
See #49485 .
Built from https://develop.svn.wordpress.org/trunk@47341
git-svn-id: http://core.svn.wordpress.org/trunk@47128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-21 17:06:06 +00:00
Adam Silverstein
2c5ebcee68
Comments: improve styling on mobile for comments marked as spam.
...
Correct an issue where comments marked as spam in a mobile view displayed incorrectly, filling a narrow and very tall column with the notice that a comment was marked as spam.
Props jeremyfelt, lorenzof, mukesh27, razamalik, xkon.
Fixes #48814 .
Built from https://develop.svn.wordpress.org/trunk@47340
git-svn-id: http://core.svn.wordpress.org/trunk@47127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-02-21 17:04:08 +00:00