From 0ddaa76f3e4990b78c35230546fad8d9d5e0054c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 31 Dec 2013 10:33:11 +0000 Subject: [PATCH] Use correct example of a Dashicons helper class in add_menu_page() and register_post_type() docs. props Rarst. fixes #26617 for trunk. Built from https://develop.svn.wordpress.org/trunk@26884 git-svn-id: http://core.svn.wordpress.org/trunk@26767 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/plugin.php | 2 +- wp-includes/post.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php index 21743e10f8..e85ac5bda7 100644 --- a/wp-admin/includes/plugin.php +++ b/wp-admin/includes/plugin.php @@ -969,7 +969,7 @@ function uninstall_plugin($plugin) { * @param string $icon_url The url to the icon to be used for this menu. * * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. * This should begin with 'data:image/svg+xml;base64,'. - * * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-piechart'. + * * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'. * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. * @param int $position The position in the menu order this one should appear * diff --git a/wp-includes/post.php b/wp-includes/post.php index 857cd17a8e..04625c3d0f 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -1131,7 +1131,7 @@ function get_post_types( $args = array(), $output = 'names', $operator = 'and' ) * - menu_icon - The url to the icon to be used for this menu. Defaults to use the posts icon. * * Pass a base64-encoded SVG using a data URI, which will be colored to match the color scheme. * This should begin with 'data:image/svg+xml;base64,'. - * * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-piechart'. + * * Pass the name of a Dashicons helper class to use a font icon, e.g. 'dashicons-chart-pie'. * * Pass 'none' to leave div.wp-menu-image empty so an icon can be added via CSS. * - capability_type - The string to use to build the read, edit, and delete capabilities. Defaults to 'post'. * * May be passed as an array to allow for alternative plurals when using this argument as a base to construct the