WordPress.org

Make WordPress Core

Changeset 26884


Ignore:
Timestamp:
12/31/2013 10:32:18 AM (8 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.

Location:
trunk/src
Files:
2 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
  • trunk/src/wp-includes/post.php

    r26664 r26884  
    11321132 *     * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme.
    11331133 *      This should begin with 'data:image/svg+xml;base64,'.
    1134  *     * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-piechart'.
     1134 *     * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'.
    11351135 *     * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS.
    11361136 * - capability_type - The string to use to build the read, edit, and delete capabilities. Defaults to 'post'.
Note: See TracChangeset for help on using the changeset viewer.