Fixed WC_Product::get_price_html_from_text deprecated message, closes #12779

This commit is contained in:
Claudio Sanches 2017-01-09 15:52:17 -02:00
parent 53451548a6
commit ca47661388
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ abstract class WC_Abstract_Legacy_Product extends WC_Data {
* @return string
*/
public function get_price_html_from_text() {
wc_deprecated_function( 'WC_Product::get_price_html_from_text', '2.7', 'wc_get_price_from_prefix' );
wc_deprecated_function( 'WC_Product::get_price_html_from_text', '2.7', 'wc_get_price_html_from_text' );
return wc_get_price_html_from_text();
}