Changeset 61247
- Timestamp:
- 11/14/2025 10:11:11 PM (3 months ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
-
wp-admin/includes/plugin.php (modified) (1 diff)
-
wp-includes/class-wp-duotone.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r61006 r61247 1428 1428 $menu[] = $new_menu; 1429 1429 } elseif ( isset( $menu[ (string) $position ] ) ) { 1430 $collision_avoider = base_convert( substr( md5( $menu_slug . $menu_title ), -4 ), 16, 10 ) * 0.00001;1430 $collision_avoider = (int) base_convert( substr( md5( $menu_slug . $menu_title ), -4 ), 16, 10 ) * 0.00001; 1431 1431 $position = (string) ( $position + $collision_avoider ); 1432 1432 $menu[ $position ] = $new_menu; -
trunk/src/wp-includes/class-wp-duotone.php
r58414 r61247 247 247 'g' => (int) base_convert( $hex[1] . $hex[1], 16, 10 ), 248 248 'b' => (int) base_convert( $hex[2] . $hex[2], 16, 10 ), 249 'a' => 4 === strlen( $hex ) ? round( base_convert( $hex[3] . $hex[3], 16, 10 ) / 255, 2 ) : 1,249 'a' => 4 === strlen( $hex ) ? round( (int) base_convert( $hex[3] . $hex[3], 16, 10 ) / 255, 2 ) : 1, 250 250 ); 251 251 }
Note: See TracChangeset
for help on using the changeset viewer.