Make WordPress Core


Ignore:
Timestamp:
12/31/2013 10:32:18 AM (11 years ago)
Author:
SergeyBiryukov
Message:

Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs.

props Rarst.
fixes #26617 for trunk.

File:
1 edited

Legend:

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

    r26868 r26884  
    970970 *     * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme.
    971971 *       This should begin with 'data:image/svg+xml;base64,'.
    972  *     * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-piechart'.
     972 *     * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'.
    973973 *     * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS.
    974974 * @param int $position The position in the menu order this one should appear
Note: See TracChangeset for help on using the changeset viewer.