Changes between Version 1 and Version 2 of Ticket #61890, comment 26
- Timestamp:
- 08/29/2024 06:03:48 PM (7 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61890, comment 26
v1 v2 4 4 IMO Approach 2 is not a backward compatibility (BC) break. 5 5 6 Why? The `WP_Term::to_array()` method has been available since `WP_Term` introduction back in WP 4.4.0. While [https://3v4l.org/IPLfu type casting returned the same result], this method is there to be used as the means to convert the term object to an array.6 Why? The `WP_Term::to_array()` method has been available since `WP_Term` introduction back in WP 4.4.0. While [https://3v4l.org/IPLfu type casting returned the same result], this method is there to be used as the means/mechanism to convert the term object to an array.