Rename meta box

This commit is contained in:
Mike Jolley 2012-04-03 09:55:26 +01:00
parent 78b2a2cf80
commit e21ac530ad
2 changed files with 4 additions and 3 deletions

View File

@ -31,7 +31,7 @@ function woocommerce_meta_boxes() {
// Excerpt // Excerpt
if ( function_exists('wp_editor') ) { if ( function_exists('wp_editor') ) {
remove_meta_box( 'postexcerpt', 'product', 'normal' ); remove_meta_box( 'postexcerpt', 'product', 'normal' );
add_meta_box( 'postexcerpt', __('Product Summary', 'woocommerce'), 'woocommerce_product_summary_meta_box', 'product', 'normal' ); add_meta_box( 'postexcerpt', __('Short Description', 'woocommerce'), 'woocommerce_product_short_description_meta_box', 'product', 'normal' );
} }
// Orders // Orders
@ -86,11 +86,11 @@ function woocommerce_meta_boxes_save( $post_id, $post ) {
} }
/** /**
* Product Summary * Product Short Description
* *
* Replaces excerpt with a visual editor * Replaces excerpt with a visual editor
*/ */
function woocommerce_product_summary_meta_box( $post ) { function woocommerce_product_short_description_meta_box( $post ) {
$settings = array( $settings = array(
'quicktags' => array( 'buttons' => 'em,strong,link' ), 'quicktags' => array( 'buttons' => 'em,strong,link' ),

View File

@ -148,6 +148,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
* Tweak - Don't send password in new account email (some customers complained/privacy concerns) * Tweak - Don't send password in new account email (some customers complained/privacy concerns)
* Localization - Canada post code locale * Localization - Canada post code locale
* Localization - RMB paypal * Localization - RMB paypal
* Localization - Bundled translation updates
= 1.5.3 - 29/03/2012 = = 1.5.3 - 29/03/2012 =
* Feature - Debug/status page with some handy functions to resolve common issues * Feature - Debug/status page with some handy functions to resolve common issues