Skip to content

Commit

Permalink
update from review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rrennick committed Jul 27, 2020
1 parent d3ab19b commit d8edcb4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion includes/admin/class-wc-admin-post-types.php
Original file line number Diff line number Diff line change
Expand Up @@ -895,7 +895,7 @@ public function woocommerce_media_upload_downloadable_product() {
* @deprecated 3.3.0 and moved to post-data class.
*/
public function process_product_file_download_paths( $product_id, $variation_id, $downloadable_files ) {
wc_deprecated_function( 'WC_Admin_Post_Types::process_product_file_download_paths', '3.3', 'WC_Post_Data::process_product_file_download_paths' );
wc_deprecated_function( 'WC_Admin_Post_Types::process_product_file_download_paths', '3.3', '' );
WC_Post_Data::process_product_file_download_paths( $product_id, $variation_id, $downloadable_files );
}

Expand Down
2 changes: 1 addition & 1 deletion includes/admin/views/html-admin-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
self::show_messages();

do_action( 'woocommerce_settings_' . $current_tab );
do_action( 'woocommerce_settings_tabs_' . $current_tab ); // @deprecated 3.4.0 hook. @todo remove in 4.6.0.
do_action( 'woocommerce_settings_tabs_' . $current_tab ); // @deprecated 3.4.0 hook.
?>
<p class="submit">
<?php if ( empty( $GLOBALS['hide_save_button'] ) ) : ?>
Expand Down
2 changes: 0 additions & 2 deletions includes/class-wc-order-item-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,11 @@ public function get_formatted( $hideprefix = '_' ) {
* Return an array of formatted item meta in format e.g.
* Handles @deprecated args.
*
* @deprecated 4.4.0
* @param string $hideprefix Hide prefix.
*
* @return array
*/
public function get_formatted_legacy( $hideprefix = '_' ) {
wc_deprecated_function( 'WC_Order_Item_Product::get_formatted_legacy', '4.4.0', '' );
if ( ! is_ajax() ) {
wc_deprecated_argument( 'WC_Order_Item_Meta::get_formatted', '2.4', 'Item Meta Data is being called with legacy arguments' );
}
Expand Down

0 comments on commit d8edcb4

Please sign in to comment.