Make WordPress Core

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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61890, comment 26

    initial v1  
    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 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 to convert the term object to an array.