Merge pull request #15014 from woocommerce/fix/14995

Setup postdata after grouped loop so description etc is correct
This commit is contained in:
Claudio Sanches 2017-05-10 18:35:22 -03:00 committed by GitHub
commit 1f11f1c5a5
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ do_action( 'woocommerce_before_add_to_cart_form' ); ?>
</tr> </tr>
<?php <?php
} }
$post = $previous_post; // Return data to original post.
setup_postdata( $post =& $previous_post );
?> ?>
</tbody> </tbody>
</table> </table>