Logo
Explore Help
Register Sign In
vhad/wordpress-develop
1
0
Fork 0
You've already forked wordpress-develop
mirror of https://github.com/gosticks/wordpress-develop.git synced 2026-05-18 18:24:39 +00:00
Code Issues Actions Packages Projects Releases Wiki Activity
Files
98a29718722c8b710c8028a3563a13c50f92ec20
wordpress-develop/src/wp-includes/rest-api
History
Gary Pendergast 2da7f9f524 Code Modernisation: Fix known instances of array access on data types that can't be accessed as arrays.
PHP 7.4 addes a warning when trying access a null/bool/int/float/resource (everything but array, string and object) as if it were an array.

This change fixes all of these warnings visible in unit tests.

Props jrf.
See #47704.




git-svn-id: https://develop.svn.wordpress.org/trunk@45639 602fd350-edb4-49c9-b593-d223f7449a82
2019-07-15 06:24:08 +00:00
..
endpoints
REST API: Allow rest_get_avatar_urls() to accept full user, post, or comment objects, rather than just an email address, to provide better flexibility for alternative avatar data.
2019-07-14 14:34:02 +00:00
fields
REST API: Slash existing meta values when comparing with incoming meta upates.
2018-12-13 16:29:57 +00:00
search
Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock.
2019-05-14 14:58:09 +00:00
class-wp-rest-request.php
Code Modernisation: Fix known instances of array access on data types that can't be accessed as arrays.
2019-07-15 06:24:08 +00:00
class-wp-rest-response.php
Docs: Correct and improve various inline documentation.
2018-08-27 14:27:22 +00:00
class-wp-rest-server.php
Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged.
2019-07-09 05:44:42 +00:00
Powered by Gitea Version: 1.25.5 Page: 120ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API