Sergey Biryukov
4518255c93
Themes: Allow template loading functions to pass additional arguments to the template via the `$args` parameter.
...
This affects:
* `get_header()`
* `get_footer()`
* `get_sidebar()`
* `get_template_part()`
* `locate_template()`
* `load_template()`
Note: `get_search_form()` already passes additional arguments to the template as of [44956].
Props enrico.sorcinelli, sc0ttkclark, scribu, nacin, wonderboymusic, GeertDD, beatpanda, amaschas, mintindeed, ysalame, caiocrcosta, bigdawggi, julianm, eddiemoya, shawnz, sayedwp, shamai, mboynes, mihai2u, guidobras, Mte90, apedog, stuffradio, overclokk, johnbillion, joyously, afercia, audrasjb, justlevine, SergeyBiryukov.
See #21676 .
Built from https://develop.svn.wordpress.org/trunk@48370
git-svn-id: http://core.svn.wordpress.org/trunk@48139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 11:01:59 +00:00
Sergey Biryukov
82d9974f8c
Upload: Introduce `pre_wp_unique_filename_file_list` filter to allow for short-circuiting the `scandir()` call in `wp_unique_filename()`.
...
This allows plugins to override the file fetching behavior to provide performance improvements for large directories.
Props joehoyle.
Fixes #50587 .
Built from https://develop.svn.wordpress.org/trunk@48369
git-svn-id: http://core.svn.wordpress.org/trunk@48138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 10:20:03 +00:00
Andrea Fercia
afa6bb4f1a
Accessibility: Improve color contrast for the blue links `:hover` state.
...
For a number of years, WordPress has been using a `#00a0d2` blue shade for the links `:hover` state. This blue shade doesn't have a sufficient color contrast with the various (too many) background colors used in the admin interface.
The new `#006799` blue shade is part of the official WordPress color palette and does have a sufficient color contrast with most of the admin backgrounds.
Props ryokuhi, audrasjb, joedolson, mapk.
See #47682 .
Built from https://develop.svn.wordpress.org/trunk@48368
git-svn-id: http://core.svn.wordpress.org/trunk@48137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 10:11:05 +00:00
Sergey Biryukov
24ed3a9a30
REST API: Correct the check for `$version` argument in `rest_handle_doing_it_wrong()`.
...
Move `WP_REST_Response` and `WP_Error` class names out of the translatable string.
Follow-up to [48327], [48361].
See #36271 .
Built from https://develop.svn.wordpress.org/trunk@48367
git-svn-id: http://core.svn.wordpress.org/trunk@48136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:56:02 +00:00
Sergey Biryukov
371dbf6dcf
Docs: Miscellaneous DocBlock corrections.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48365
git-svn-id: http://core.svn.wordpress.org/trunk@48134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:30:04 +00:00
Sergey Biryukov
156fcc21be
Docs: Improve DocBlocks in `wp-includes/nav-menu-template.php` per the documentation standards.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48364
git-svn-id: http://core.svn.wordpress.org/trunk@48133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:28:01 +00:00
Sergey Biryukov
adb9f003ed
Site Health: Correct translator comment for the message displayed after clicking "remind me later" on the admin email confirmation.
...
Adjust the logic for displaying the message for better readability.
Follow-up to [48359].
See #48333 .
Built from https://develop.svn.wordpress.org/trunk@48363
git-svn-id: http://core.svn.wordpress.org/trunk@48132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 09:20:02 +00:00
Andrea Fercia
b7ed7cb184
Administration: Fix typo in `forms.css` after [46866].
...
A stray `e` made browsers ignore a CSS ruleset preventing select elements from changing color on hover.
Props ryokuhi.
See #48420 .
Fixes #50580 .
Built from https://develop.svn.wordpress.org/trunk@48362
git-svn-id: http://core.svn.wordpress.org/trunk@48131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 07:05:03 +00:00
whyisjake
ad1c6c9586
REST API: Trigger `_doing_it_wrong()` if `wp_send_json()` is used on a REST API request
...
In addition to triggering the `_doing_it_wrong()` logging, also adds a `X-WP-DoingItWrong` header.
Fixes #36271 .
Props rmccue, TimothyBlynJacobs.
Built from https://develop.svn.wordpress.org/trunk@48361
git-svn-id: http://core.svn.wordpress.org/trunk@48130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 05:01:07 +00:00
whyisjake
93b69e27d4
Administration: Ensure that disabled buttons look disabled.
...
This change removes the disabled state from the admin scheme specific styles.
Fixes #48709 .
Props drw158, SergeyBiryukov, afercia, kennethroberson5556, melchoyce, joedolson, valentinbora, audrasjb, larrach, nrqsnchz, youknowriad.
Built from https://develop.svn.wordpress.org/trunk@48360
git-svn-id: http://core.svn.wordpress.org/trunk@48129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 04:21:07 +00:00
whyisjake
aad1fa48ea
Site Health: Ensure that the user will be notified after a successful snooze action.
...
After clicking remind me later, the user is shown an admin notification.
Fixes #48333 .
Props desrosj, sathyapulse, Clorith, azaozz, audrasjb, afragen, whyisjake.
Built from https://develop.svn.wordpress.org/trunk@48359
git-svn-id: http://core.svn.wordpress.org/trunk@48128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 03:59:02 +00:00
whyisjake
6542769c56
Coding standards: Fix a few phpcs errors to get tests passing.
...
See [48356], #43517 .
Built from https://develop.svn.wordpress.org/trunk@48358
git-svn-id: http://core.svn.wordpress.org/trunk@48127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 03:55:02 +00:00
TimothyBlynJacobs
d76e635459
REST API: Add support for the uniqueItems keyword.
...
Props sorenbronsted.
Fixes #48821 .
Built from https://develop.svn.wordpress.org/trunk@48357
git-svn-id: http://core.svn.wordpress.org/trunk@48126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 03:22:03 +00:00
whyisjake
49d23a2bbe
Taxonomy: Add support for default terms for custom taxonomies.
...
The new default_term argument is added to `register_taxonomy()` allowing a user to define the default term `name` and optionally `slug` and `description`.
Fixes #43517 .
Props enrico.sorcinelli, SergeyBiryukov, desrosj, davidbaumwald, whyisjake.
Built from https://develop.svn.wordpress.org/trunk@48356
git-svn-id: http://core.svn.wordpress.org/trunk@48125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-07 00:55:03 +00:00
whyisjake
a7ad4e288e
Bundled theme: Ensure appropriate title for author archives for that don't have posts.
...
Rather then displaying `Author: `, show `Nothing Found`.
Fixes #50421 .
Props SGr33n, williampatton, ianbelanger, rebasaurus, priyomukul, virginienacci, audrasjb.
Built from https://develop.svn.wordpress.org/trunk@48355
git-svn-id: http://core.svn.wordpress.org/trunk@48124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 23:12:03 +00:00
whyisjake
216ea50a03
Coding Standards: Add newlines to package files.
...
See [48353].
Built from https://develop.svn.wordpress.org/trunk@48354
git-svn-id: http://core.svn.wordpress.org/trunk@48123 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 23:03:05 +00:00
whyisjake
8dfe21b246
Coding standards: Revert the changes from [48352] to package.json and package-lock.json.
...
These changes were included accidentally.
See [48352].
Unprops: whyisjake.
Built from https://develop.svn.wordpress.org/trunk@48353
git-svn-id: http://core.svn.wordpress.org/trunk@48122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 22:09:19 +00:00
whyisjake
81b809e3d6
Administration: Move more table strings to sentence casing.
...
WordPress as a project has moved largely to sentence casing for UI elements in the admin. This commit moves several string$
* Move to trash
* Mark as spam
* Permanently delete comment
* Approve comment
* In response to
* Bulk actions
* Not spam
* Sumitted on
* Delete permanently
* Add media
* Upload files
* Upload images
* Add media
* Bulk select
* Restore from trash
* Search media
* Attachment details
* Create gallery
* Edit gallery
* Cancel gallery
* Add to gallery
* Image details
* Replace image
* Cancel edit
* Edit image
* Choose image
* Select and crop
* Skip cropping
* Crop image
* Audio details
* Replace audio
* Add audio source
* Video details
* Replace video
* Add video source
* Select poster image
* Add subtitles
* Create audio playlist
* Edit audio playlist.
* Cancel audio playlist
* Create video playlist
* Edit video playlist
* Add to video playlist
* Filter media
Fixes #40244 .
Props afercia, bhargavbhandari90, rcutmore, webzunft, manojlovic, jeremyfelt, desrosj, lschuyler, SergeyBiryukov, whyisjake.
Built from https://develop.svn.wordpress.org/trunk@48352
git-svn-id: http://core.svn.wordpress.org/trunk@48121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 21:52:21 +00:00
Dominik Schilling
93662e1d32
I18N: Fix typo in [48348].
...
Props swizzzpidy.
See #50578 .
Built from https://develop.svn.wordpress.org/trunk@48351
git-svn-id: http://core.svn.wordpress.org/trunk@48120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 21:34:04 +00:00
Dominik Schilling
3d95a45675
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/tags-box.js` and `wp-admin/js/tags-suggest.js`.
...
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.
Props swissspidy, ocean90.
See #20491 .
Fixes #50579 .
Built from https://develop.svn.wordpress.org/trunk@48350
git-svn-id: http://core.svn.wordpress.org/trunk@48119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 21:00:03 +00:00
Andrea Fercia
04921ffd45
Accessibility: Widgets: Add theme support to make widgets output list of links wrapped within a `<nav>` element.
...
Widgets that output list of links can now be wrapped within `<nav>` elements to improve semantics and accessibility.
The `<nav>` elements are also native landmark regions, which helps assistive technology users to navigate through them. Themes can opt-in to this new behavior by declaring support for the new `html5` feature `navigation-widgets`.
Props joedolson, simonjanin, audrasjb, afercia.
Fixes #48170 .
Built from https://develop.svn.wordpress.org/trunk@48349
git-svn-id: http://core.svn.wordpress.org/trunk@48118 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 20:44:02 +00:00
Dominik Schilling
1145607a85
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/edit-comments.js`.
...
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.
Props swissspidy, ocean90.
See #20491 .
Fixes #50578 .
Built from https://develop.svn.wordpress.org/trunk@48348
git-svn-id: http://core.svn.wordpress.org/trunk@48117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 20:17:02 +00:00
Dominik Schilling
31d93c553a
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/tags.js`.
...
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.
Props swissspidy, ocean90.
See #20491 .
Fixes #50577 .
Built from https://develop.svn.wordpress.org/trunk@48347
git-svn-id: http://core.svn.wordpress.org/trunk@48116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 19:47:03 +00:00
Dominik Schilling
163e0ac228
I18N: Use `wp.i18n` for translatable strings in `wp-admin/js/theme-plugin-editor.js`.
...
This removes the usage of `wp_localize_script()` for passing translations to the script and instead adds the translatable strings in the script directly through the use of `wp.i18n` and its utilities.
Fixes #50576 .
Built from https://develop.svn.wordpress.org/trunk@48346
git-svn-id: http://core.svn.wordpress.org/trunk@48115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 19:35:07 +00:00
desrosj
bc7de32645
Coding Standards: Correct two coding standards issues introduced in [48277] and [48334].
...
See #50504 , #50550 .
Built from https://develop.svn.wordpress.org/trunk@48345
git-svn-id: http://core.svn.wordpress.org/trunk@48114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 19:23:02 +00:00
desrosj
77af0e5982
Docs: Correct instances of “auto update” with “auto-update” for consistency.
...
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48344
git-svn-id: http://core.svn.wordpress.org/trunk@48113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 19:15:03 +00:00
desrosj
ef0881750c
Docs: Correct typo introduced in [48288].
...
See #42775 .
Built from https://develop.svn.wordpress.org/trunk@48343
git-svn-id: http://core.svn.wordpress.org/trunk@48112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 19:10:02 +00:00
youknowriad
1fd50f7b2d
Administration: Adapts the secondary buttons colors to the admin schemes.
...
The admin schemes that don't meet the contrast guidelines are excluded from this change.
Props mapk, michaelarestad, mcsf, ocean90.
Closes #50537 .
Built from https://develop.svn.wordpress.org/trunk@48342
git-svn-id: http://core.svn.wordpress.org/trunk@48111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 19:00:04 +00:00
Sergey Biryukov
ecd07ddada
Tests: Temporarily skip PDF tests if they fail due to ImageMagick permission errors.
...
See #50573 .
Built from https://develop.svn.wordpress.org/trunk@48341
git-svn-id: http://core.svn.wordpress.org/trunk@48110 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 18:22:02 +00:00
Andrea Fercia
454dab13c1
Accessibility: Administration: Improve the sortable postboxes areas on the Dashboard and Classic Editor pages.
...
- makes the postboxes areas in the Dashboard visible also on large screens
- uses a more meaningful text when all postboxes areas are empty instead of "Drag boxes here"
- restores the ability to drag boxes to the "advanced" area in the Classic Editor page
- makes the postboxes areas in the Classic Editor page visible while dragging so that users have a clue what the available areas are
- improves the color contrast of the postboxes areas while dragging
- uses `wp.i18n` for translatable strings in `wp-admin/js/postbox.js`
Props xkon, karmatosed, audrasjb, ocean90, joedolson, afercia, azaozz.
See #20491 .
Fixes #49288 , #47541 .
Built from https://develop.svn.wordpress.org/trunk@48340
git-svn-id: http://core.svn.wordpress.org/trunk@48109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 18:03:02 +00:00
Sergey Biryukov
5ad2cf365e
Coding Standards: Fix JSHint issue in `js/_enqueues/lib/auth-check.js`
...
See #49573 .
Built from https://develop.svn.wordpress.org/trunk@48339
git-svn-id: http://core.svn.wordpress.org/trunk@48108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 16:27:02 +00:00
Sergey Biryukov
b99cce4e7a
Tests: Add some assertions to PDF tests for better debugging.
...
Props enrico.sorcinelli.
See #50573 .
Built from https://develop.svn.wordpress.org/trunk@48338
git-svn-id: http://core.svn.wordpress.org/trunk@48107 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 16:16:02 +00:00
Andrew Ozz
b93b409976
Heartbeat: Do not disable the login prompts when the user needs to log in again but has closed the log in modal. Add a 5 minutes timeout before asking them to log in again.
...
Props dsixinetu, adamsilverstein, azaozz.
Fixes #49573 .
Built from https://develop.svn.wordpress.org/trunk@48337
git-svn-id: http://core.svn.wordpress.org/trunk@48106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 16:14:04 +00:00
youknowriad
f867b02772
Block Editor: Requires title and content when registering block patterns.
...
Props poena.
See #50550 .
Built from https://develop.svn.wordpress.org/trunk@48336
git-svn-id: http://core.svn.wordpress.org/trunk@48105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 12:04:02 +00:00
youknowriad
4fa05e90e8
Block Editor: Remove the Testimonials block pattern.
...
This ensures we have the same patterns used in the Gutenberg plugin.
Props poena.
See #50550 .
Built from https://develop.svn.wordpress.org/trunk@48335
git-svn-id: http://core.svn.wordpress.org/trunk@48104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 11:19:04 +00:00
youknowriad
777872bdb1
Block Editor: Add the initial set of block patterns.
...
Included patterns:
text-two-columns
two-buttons
two-images
text-two-columns-with-images
text-three-columns-buttons
large-header
large-header-paragraph
three-buttons
quote
testimonials
Props mcsf, nrqsnchz.
See #50550 .
Built from https://develop.svn.wordpress.org/trunk@48334
git-svn-id: http://core.svn.wordpress.org/trunk@48103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 10:50:02 +00:00
Sergey Biryukov
c69101301b
Tests: Correct hardcoded "3 months ago" assertion in `tests/rest-api/rest-block-directory-controller.php`.
...
Now that more than 3 months have passed since 2020-03-23, this was causing test failures.
Follow-up to [48242].
See #50321 .
Built from https://develop.svn.wordpress.org/trunk@48333
git-svn-id: http://core.svn.wordpress.org/trunk@48102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 09:51:03 +00:00
youknowriad
82487d4b29
Administration: Fix link colors for admin schemes that personalize it using the $link SASS variable.
...
The new "moderne" admin scheme color personalizes the link color using the $link SASS variable.
The link color doesn't apply consistently in the admin to all links, especiall button links.
Fixes #50536 .
Built from https://develop.svn.wordpress.org/trunk@48332
git-svn-id: http://core.svn.wordpress.org/trunk@48101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 09:25:02 +00:00
Sergey Biryukov
234d0aff5c
Coding Standards: Fix WPCS issues in `tests/media.php`.
...
See #50543 .
Built from https://develop.svn.wordpress.org/trunk@48331
git-svn-id: http://core.svn.wordpress.org/trunk@48100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 09:19:05 +00:00
Sergey Biryukov
8a815f22e7
Privacy: Simplify the logic for updating the meta values for personal data export requests from absolute to relative paths.
...
Follow-up to [48127].
See #44038 .
Built from https://develop.svn.wordpress.org/trunk@48330
git-svn-id: http://core.svn.wordpress.org/trunk@48099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-06 00:34:04 +00:00
Andrew Ozz
08dbc4c3bb
Media:
...
- Introduce `wp_image_file_matches_image_meta()` utility function to check whether the image meta (retrieved by attachment ID) matches an image path or URI. A mismatch may happen in some cases, for example after the posts have been exported from one website and imported in another.
- Add unit tests for the new function.
- Improve `wp_image_src_get_dimensions()` a bit and use the new function to prevent these edge cases.
Fixes #50543 .
Built from https://develop.svn.wordpress.org/trunk@48329
git-svn-id: http://core.svn.wordpress.org/trunk@48098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 23:32:03 +00:00
Sergey Biryukov
4e3bad1770
Query: Make sure the `found_posts` property of `WP_Query` is always an integer, to match the documented type.
...
This makes the property consistent with similar properties of other classes:
* `WP_Comment_Query::$found_comments`
* `WP_Network_Query::$found_networks`
* `WP_Site_Query::$found_sites`
* `WP_User_Query::$total_users`
Props birgire, PressLabs.
Fixes #42469 .
Built from https://develop.svn.wordpress.org/trunk@48328
git-svn-id: http://core.svn.wordpress.org/trunk@48097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 21:34:02 +00:00
Sergey Biryukov
69e7e7681b
Plugins: Consistently use an empty string as the default value for `$replacement` and `$message` parameters in:
...
* `_deprecated_function()`
* `_deprecated_constructor()`
* `_deprecated_file()`
* `_deprecated_argument()`
* `_deprecated_hook()`
* `apply_filters_deprecated()`
* `do_action_deprecated()`
This matches the documented type of `string` for these parameters and removes unnecessarily strict `! is_null()` checks.
Follow-up to [46792].
Props jignesh.nakrani, renathoc, SergeyBiryukov.
Fixes #49698 .
Built from https://develop.svn.wordpress.org/trunk@48327
git-svn-id: http://core.svn.wordpress.org/trunk@48096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 21:09:03 +00:00
Sergey Biryukov
87f464c283
Plugins: Use `include_once` instead of `include` in `uninstall_plugin()`, in case the plugin file is already included.
...
Props valchovski, pcfreak30.
Fixes #47796 .
Built from https://develop.svn.wordpress.org/trunk@48326
git-svn-id: http://core.svn.wordpress.org/trunk@48095 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 20:32:03 +00:00
Sergey Biryukov
514ba95009
Docs: Fix typos in comments in `tests/dependencies/jquery.php`.
...
Props hareesh-pillai.
See #49572 .
Built from https://develop.svn.wordpress.org/trunk@48325
git-svn-id: http://core.svn.wordpress.org/trunk@48094 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 20:29:00 +00:00
Andrew Ozz
e0d2307ec5
Build/Test Tools: update PHPUnit tests after [48323]. Disable and keep the specific jQuery Migrate dependency tests for use in WP 5.6.
...
See #37110 .
Built from https://develop.svn.wordpress.org/trunk@48324
git-svn-id: http://core.svn.wordpress.org/trunk@48093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 19:24:08 +00:00
Andrew Ozz
bc54b15893
External Libraries: First step of updating jQuery. Disable jQuery Migrate 1.4.1, keep jQuery at 1.12.4-wp, and UI at 1.11.4. Also keep the `jquery-core` script handle for full backwards compatibility.
...
Props jorbin, adamsilverstein, westonruter, retlehs, pento, onokazu, galbaras, netweb, zakkath, dmethvin, LittleBigThing, markgoho, iandunn, remzicavdar, bigcloudmedia, jacklinkers, levdbas, a4jpcom, azaozz.
See #37110 .
Built from https://develop.svn.wordpress.org/trunk@48323
git-svn-id: http://core.svn.wordpress.org/trunk@48092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 18:28:04 +00:00
Sergey Biryukov
f14f0c1ddf
XML-RPC: Explicitly unset the reference to the parser resource after calling `xml_parser_free()` to avoid memory leaks in PHP 7.0.0 or higher.
...
Props procifer, ayeshrajans.
Fixes #49700 .
Built from https://develop.svn.wordpress.org/trunk@48322
git-svn-id: http://core.svn.wordpress.org/trunk@48091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 15:22:01 +00:00
Sergey Biryukov
b0703f3749
Options, Meta APIs: Introduce `register_setting` and `unregister_setting` actions.
...
Props Howdy_McGee, Pionect.
Fixes #37245 .
Built from https://develop.svn.wordpress.org/trunk@48321
git-svn-id: http://core.svn.wordpress.org/trunk@48090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 15:07:06 +00:00
Sergey Biryukov
93abb3b3d0
Docs: Improve documentation for various option functions.
...
Props andfinally, david.binda, SergeyBiryukov.
Fixes #49566 .
Built from https://develop.svn.wordpress.org/trunk@48320
git-svn-id: http://core.svn.wordpress.org/trunk@48089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-07-05 14:46:03 +00:00