Skip to content

Commit

Permalink
Removed flash messages display from footer
Browse files Browse the repository at this point in the history
In the next framework version, flash messages will be displayed from framework via `wp_footer` action
  • Loading branch information
moldcraft committed Dec 19, 2014
1 parent b7ba22b commit c03639d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions scratch-parent/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,5 @@
</div><!-- #page -->

<?php wp_footer(); ?>

<?php if( defined('FW') ) : ?>
<div id="flash-messages"><?php FW_Flash_Messages::_print_frontend(); ?></div>
<script type="text/javascript">
jQuery(function ($) {
$('#flash-messages').prependTo( $('#content') );
});
</script>
<?php endif ?>
</body>
</html>
</html>

0 comments on commit c03639d

Please sign in to comment.