menu_order notices on IIS.

This commit is contained in:
Mike Jolley 2015-08-21 14:08:28 +01:00
parent c7f8e541cd
commit 2d8b3f0c1f
2 changed files with 3 additions and 1 deletions

View File

@ -56,7 +56,7 @@ extract( $variation_data );
}
?>
<input type="hidden" name="variable_post_id[<?php echo $loop; ?>]" value="<?php echo esc_attr( $variation_id ); ?>" />
<input type="hidden" class="variation_menu_order" name="variation_menu_order[<?php echo $loop; ?>]" value="<?php echo absint( $menu_order ); ?>" />
<input type="hidden" class="variation_menu_order" name="variation_menu_order[<?php echo $loop; ?>]" value="<?php echo isset( $menu_order ) ? absint( $menu_order ) : 0; ?>" />
</h3>
<div class="woocommerce_variable_attributes wc-metabox-content" style="display: none;">
<div class="data">

View File

@ -159,6 +159,8 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
== Changelog ==
* Fix - menu_order notices on IIS.
= 2.4.5 - 20/08/2015 =
* Fix - Global text based attribute saving on product page.
* Fix - save_account_details should check display name of current user.