Ticket #26617: 26617.2.patch
File 26617.2.patch, 1.8 KB (added by , 11 years ago) |
---|
-
src/wp-admin/includes/plugin.php
969 969 * @param string $icon_url The url to the icon to be used for this menu. 970 970 * * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. 971 971 * 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'. 973 973 * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. 974 974 * @param int $position The position in the menu order this one should appear 975 975 * -
src/wp-includes/post.php
1131 1131 * - menu_icon - The url to the icon to be used for this menu. Defaults to use the posts icon. 1132 1132 * * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. 1133 1133 * 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'. 1135 1135 * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. 1136 1136 * - capability_type - The string to use to build the read, edit, and delete capabilities. Defaults to 'post'. 1137 1137 * * May be passed as an array to allow for alternative plurals when using this argument as a base to construct the