Make WordPress Core


Ignore:
Timestamp:
06/04/2024 07:16:48 AM (2 years ago)
Author:
gziolo
Message:

Interactivity API: Print debug warning when server directives processing encounters errors

Aims to improve the developer experience of the Interactivity API server directives processing.

Props cbravobernal, jonsurrell, westonruter, darerodz, czapla, gziolo.
Fixes #61044.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-class.php

    r57836 r58321  
    238238         *
    239239         * @covers ::process_directives
     240         * @expectedIncorrectUsage WP_Interactivity_API::evaluate
    240241         */
    241242        public function test_wp_class_doesnt_change_class_attribute_with_empty_value() {
     
    252253         *
    253254         * @covers ::process_directives
     255         * @expectedIncorrectUsage WP_Interactivity_API::evaluate
    254256         */
    255257        public function test_wp_class_doesnt_change_class_attribute_without_value() {
Note: See TracChangeset for help on using the changeset viewer.