Make WordPress Core

Ticket #26617: 26617.2.patch

File 26617.2.patch, 1.8 KB (added by SergeyBiryukov, 11 years ago)
  • src/wp-admin/includes/plugin.php

     
    969969 * @param string $icon_url The url to the icon to be used for this menu.
    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
    975975 *
  • src/wp-includes/post.php

     
    11311131 * - menu_icon - The url to the icon to be used for this menu. Defaults to use the posts icon.
    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'.
    11371137 *     * May be passed as an array to allow for alternative plurals when using this argument as a base to construct the