Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #61890, comment 26


Ignore:
Timestamp:
08/29/2024 06:03:48 PM (7 months ago)
Author:
hellofromTonya
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61890, comment 26

    v1 v2  
    44IMO Approach 2 is not a backward compatibility (BC) break.
    55
    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.
     6Why? 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.