Hide get_formatted_legacy notices when doing ajax.
This commit is contained in:
parent
faa8ab02e0
commit
5b786261e1
|
@ -140,7 +140,9 @@ class WC_Order_Item_Meta {
|
|||
* @return array
|
||||
*/
|
||||
public function get_formatted_legacy( $hideprefix = '_' ) {
|
||||
if ( ! is_ajax() ) {
|
||||
_deprecated_function( 'get_formatted_legacy', '2.4', 'Item Meta Data is being called with legacy arguments' );
|
||||
}
|
||||
|
||||
$formatted_meta = array();
|
||||
|
||||
|
|
|
@ -166,6 +166,7 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
|
|||
* Tweak - Made tab panel selector more specific to avoid theme conflicts.
|
||||
* Tweak - Made checkout make use of new ajax endpoints.
|
||||
* Tweak - woocommerce_force_ssl_checkout no longer needs to check for admin-ajax actions.
|
||||
* Tweak - Hide get_formatted_legacy notices when doing ajax.
|
||||
|
||||
= 2.4.1 - 10/08/2015 =
|
||||
* Fix - Tweaked the 2.4 upgrade routine to disable refund emails during update.
|
||||
|
|
Loading…
Reference in New Issue