[wp-trac] [WordPress Trac] #63899: Undefined array key 1 in /var/www/html/wp-includes/interactivity-api/class-wp-interactivity-api.php on line 1014 Deprecated: trim():
WordPress Trac
noreply at wordpress.org
Sat Aug 30 12:30:44 UTC 2025
#63899: Undefined array key 1 in /var/www/html/wp-includes/interactivity-api/class-
wp-interactivity-api.php on line 1014 Deprecated: trim():
--------------------------+------------------------------
Reporter: tkay01 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 6.8.2
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by tkay01):
the code was not formatted correctly, so I reposting it here correctly:
{{{
list( $name, $value ) = explode( ':', $style_assignment );
if ( trim( $name ) !== $style_property_name ) {
$result[] = ($name ? trim( $name ) : '') .
':' . ($value ? trim( $value ) : '') . ';';
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63899#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list