Rename meta box
This commit is contained in:
parent
78b2a2cf80
commit
e21ac530ad
|
@ -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' ),
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue