Changes between Initial Version and Version 1 of Ticket #61890, comment 4
- Timestamp:
- 08/21/2024 05:39:26 PM (4 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61890, comment 4
initial v1 1 1 What's the current behavior? 2 2 3 See it in action https://3v4l.org/ 6F0nJ#veol.3 See it in action https://3v4l.org/3GnAK#veol. 4 4 5 5 Current behavior with known and unknown dynamic properties: … … 7 7 * ✅ get, isset, set, unset of unknown dynamic property works. 8 8 * ✅ `WP_Term::$data` is initialized on get and is not included when using `WP_Term::to_array()` or `(array) $term`. 9 * ✅ `WP_Term::to_array()` returns the declared properties and all dynamic properties. 9 * ✅ `WP_Term::to_array()` returns the declared properties and all dynamic properties. For example, the `link` and `unknown` dynamic properties in the test code were both included in the array. 10 10 * ✅ Same results when converting object to array via `WP_Term::to_array()` and `(array) $term`. 11 11 * No deprecation notices are thrown.