Correct deprecated arg message. Fixes #15443

Fixes #15443
This commit is contained in:
Mike Jolley 2017-06-05 10:43:13 +01:00
parent d5cb320b7e
commit 52356c5caf
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ class WC_Order_Item_Meta {
*/
public function get_formatted_legacy( $hideprefix = '_' ) {
if ( ! is_ajax() ) {
wc_deprecated_function( 'get_formatted_legacy', '2.4', 'Item Meta Data is being called with legacy arguments' );
wc_deprecated_argument( 'WC_Order_Item_Meta::get_formatted', '2.4', 'Item Meta Data is being called with legacy arguments' );
}
$formatted_meta = array();