Changeset 61885
- Timestamp:
- 03/10/2026 12:41:33 PM (3 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/interactivity-api/class-wp-interactivity-api.php
r61659 r61885 1028 1028 if ( empty( $entry['suffix'] ) || null !== $entry['unique_id'] ) { 1029 1029 return; 1030 } 1031 1032 // Skip if the suffix is an event handler. 1033 if ( str_starts_with( $entry['suffix'], 'on' ) ) { 1034 _doing_it_wrong( 1035 __METHOD__, 1036 sprintf( 1037 /* translators: %s: The directive, e.g. data-wp-on--click. */ 1038 __( 'Binding event handler attributes is not supported. Please use "%s" instead.' ), 1039 esc_attr( 'data-wp-on--' . substr( $entry['suffix'], 2 ) ) 1040 ), 1041 '6.9.2' 1042 ); 1043 continue; 1030 1044 } 1031 1045
Note: See TracChangeset
for help on using the changeset viewer.