Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #58087, comment 6


Ignore:
Timestamp:
04/05/2023 07:36:16 PM (3 years ago)
Author:
antonvlasenko
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58087, comment 6

    initial v1  
    44
    55This will cause the `$data` property to be returned when calling  `foreach ($wp_term as $property_value)` and `(array) $wp_term` (please see [https://3v4l.org/a4NBe this code example]).
    6 However, this leads to fatal errors when adding new categories and tags on the `wp-admin/edit-tags.php` page.
     6However, adding new categories and tags on the `wp-admin/edit-tags.php` page still leads to fatal errors as of March 2023.
    77
    88As @hellofromTonya clearly pointed out in her detailed note above, [https://core.trac.wordpress.org/ticket/34348#comment:3 it was decided] to abandon the explicit declaration of the `WP_Term::$data` property earlier for this very reason.