Make WordPress Core

Changeset 27482


Ignore:
Timestamp:
03/09/2014 11:12:35 AM (13 years ago)
Author:
ocean90
Message:

Admin Menu: Set default value of $icon_url in add_menu_page() to dashicons-admin-generic, fixes #26630.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r27158 r27482  
    992992
    993993        if ( empty($icon_url) ) {
    994                 $icon_url = 'none';
     994                $icon_url = 'dashicons-admin-generic';
    995995                $icon_class = 'menu-icon-generic ';
    996996        } else {
Note: See TracChangeset for help on using the changeset viewer.