Changeset 55703 for trunk/src/wp-admin/menu.php
- Timestamp:
- 05/02/2023 03:43:03 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/menu.php
r55435 r55703 131 131 if ( is_string( $ptype_obj->menu_icon ) ) { 132 132 // Special handling for data:image/svg+xml and Dashicons. 133 if ( 0 === strpos( $ptype_obj->menu_icon, 'data:image/svg+xml;base64,' ) || 0 === strpos( $ptype_obj->menu_icon, 'dashicons-' ) ) {133 if ( str_starts_with( $ptype_obj->menu_icon, 'data:image/svg+xml;base64,' ) || str_starts_with( $ptype_obj->menu_icon, 'dashicons-' ) ) { 134 134 $menu_icon = $ptype_obj->menu_icon; 135 135 } else {
Note: See TracChangeset
for help on using the changeset viewer.