Logo
Explore Help
Register Sign In
HostForge-Systems/wordpress
Template
1
0
Fork 0
You've already forked wordpress
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
1c331e893151eccdc81cb0fd1d84cab30f08251d
wordpress/wp-includes/rest-api
History
Gary Pendergast a571a7d621 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.



Built from https://develop.svn.wordpress.org/trunk@45639


git-svn-id: http://core.svn.wordpress.org/trunk@45450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-15 06:25:57 +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:35:56 +00:00
fields
REST API: Slash existing meta values when comparing with incoming meta upates.
2018-12-13 16:30:37 +00:00
search
Docs: Add missing @see tag to WP_REST_Post_Search_Handler DocBlock.
2019-05-14 15:00:07 +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:25:57 +00:00
class-wp-rest-response.php
Docs: Correct and improve various inline documentation.
2018-08-27 14:28:26 +00:00
class-wp-rest-server.php
Coding Standards: Fix instances of WordPress.PHP.NoSilencedErrors.Discouraged.
2019-07-09 05:45:58 +00:00
Powered by Gitea Version: 1.25.5 Page: 773ms Template: 56ms
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