mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Fix syntax for single- and multi-line comments in wp-admin-directory files.
See #28931. git-svn-id: https://develop.svn.wordpress.org/trunk@29206 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -80,9 +80,12 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
|
||||
$img = $img_style = '';
|
||||
$img_class = ' dashicons-before';
|
||||
|
||||
// if the string 'none' (previously 'div') is passed instead of an URL, don't output the default menu image
|
||||
// so an icon can be added to div.wp-menu-image as background with CSS.
|
||||
// Dashicons and base64-encoded data:image/svg_xml URIs are also handled as special cases.
|
||||
/*
|
||||
* If the string 'none' (previously 'div') is passed instead of an URL, don't output
|
||||
* the default menu image so an icon can be added to div.wp-menu-image as background
|
||||
* with CSS. Dashicons and base64-encoded data:image/svg_xml URIs are also handled
|
||||
* as special cases.
|
||||
*/
|
||||
if ( ! empty( $item[6] ) ) {
|
||||
$img = '<img src="' . $item[6] . '" alt="" />';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user