Changes between Initial Version and Version 1 of Ticket #43392, comment 45
- Timestamp:
- 09/12/2019 07:35:35 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43392, comment 45
initial v1 26 26 The inline documentation still needs to be updated for the support or arrays and objects in `register_meta()` 27 27 https://github.com/WordPress/WordPress/blob/master/wp-includes/meta.php#L1126-L1127 28 29 I also noticed with the help of PHPCS that `in_array()` is not using strict comparison. 30 {{{ 31 if ( ! in_array( $type, array( 'string', 'boolean', 'integer', 'number', 'array', 'object' ) ) ) { 32 }}} 33