Prevents emojis in plugin titles from floating to the front of text when WordPress uses emoji fallback rendering. When emoji feature detection fails, WordPress replaces emoji characters with `<img>` elements that were incorrectly affected by CSS float rules intended for plugin icons. Updates CSS selectors to target specific icon types (dashicons, icon classes, and data URI images) rather than all images, ensuring emoji images remain inline with plugin title text while preserving proper layout for actual plugin icons. - Consolidates `.plugins .plugin-title img` and `.plugins .plugin-title .dashicons` rules - Adds support for `img.dashicons`, `img[class*="icon"]`, and `img[src*="data:image"]` selectors - Maintains 64px sizing and left float for legitimate plugin icons - Fixes visual issue where "myplugin❤️wordpress" displayed as "❤️mypluginwordpress" Props slimndap, ankitkumarshah, sandeepdahiya, sabernhardt, tomdevisser, debarghyabanerjee, nusrat21, SirLouen, wpfy, hmbashar, klevismiho, rollybueno, jamesgiroux, jorbin, whyisjake. Fixes #63120. Built from https://develop.svn.wordpress.org/trunk@60673 git-svn-id: http://core.svn.wordpress.org/trunk@60009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
58 lines
1.1 KiB
PHP
58 lines
1.1 KiB
PHP
<?php
|
|
/**
|
|
* WordPress Version
|
|
*
|
|
* Contains version information for the current WordPress release.
|
|
*
|
|
* @package WordPress
|
|
* @since 1.2.0
|
|
*/
|
|
|
|
/**
|
|
* The WordPress version string.
|
|
*
|
|
* Holds the current version number for WordPress core. Used to bust caches
|
|
* and to enable development mode for scripts when running from the /src directory.
|
|
*
|
|
* @global string $wp_version
|
|
*/
|
|
$wp_version = '6.9-alpha-60673';
|
|
|
|
/**
|
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
|
*
|
|
* @global int $wp_db_version
|
|
*/
|
|
$wp_db_version = 60497;
|
|
|
|
/**
|
|
* Holds the TinyMCE version.
|
|
*
|
|
* @global string $tinymce_version
|
|
*/
|
|
$tinymce_version = '49110-20250317';
|
|
|
|
/**
|
|
* Holds the minimum required PHP version.
|
|
*
|
|
* @global string $required_php_version
|
|
*/
|
|
$required_php_version = '7.2.24';
|
|
|
|
/**
|
|
* Holds the names of required PHP extensions.
|
|
*
|
|
* @global string[] $required_php_extensions
|
|
*/
|
|
$required_php_extensions = array(
|
|
'json',
|
|
'hash',
|
|
);
|
|
|
|
/**
|
|
* Holds the minimum required MySQL version.
|
|
*
|
|
* @global string $required_mysql_version
|
|
*/
|
|
$required_mysql_version = '5.5.5';
|