[wp-trac] [WordPress Trac] #61369: Refactor fixture replacements for the "class_list" REST API field.
WordPress Trac
noreply at wordpress.org
Tue Jun 4 17:42:20 UTC 2024
#61369: Refactor fixture replacements for the "class_list" REST API field.
---------------------------+-----------------------------
Reporter: antonvlasenko | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: minor | Keywords:
Focuses: |
---------------------------+-----------------------------
As https://github.com/WordPress/gutenberg/pull/60642 was rushed to be
backported to Core due to time constraints, the fixture replacements for
the "class_list" REST API field were not designed optimally.
These fixtures replacements need to be implemented using the
`WP_Test_REST_Schema_Initialization::$fixture_replacements` class
property, and part of the code added in https://github.com/WordPress
/wordpress-develop/pull/6716 needs to be removed.
This is not an issue but rather some technical debt that must be
refactored.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61369>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list