Fixed WC_Product::get_price_html_from_text deprecated message, closes #12779
This commit is contained in:
parent
53451548a6
commit
ca47661388
|
@ -253,7 +253,7 @@ abstract class WC_Abstract_Legacy_Product extends WC_Data {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function get_price_html_from_text() {
|
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();
|
return wc_get_price_html_from_text();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue