Infinite Scroll: infinite-footer HTML at bottom of page when Infinite Scroll is not activated #5268
Labels
[Feature] Infinite Scroll
[Pri] Low
[Type] Bug
When a feature is broken and / or not performing as intended
Steps to reproduce the issue
What I expected
Infinite Scroll is not activated.
What happened instead
Infinite Scroll HTML
<div id="infinite-footer">
is included at bottom of page even though Infinite Scroll script and style have not been included.Link to example
http://grdkly.com/wordpress/
Possible root cause
infinity.php: Testing
is_last_batch()
infunction action_template_redirect()
correctly prevents inclusion of Infinite Scroll script and style; a similar test is needed infunction footer()
to prevent inclusion of Infinite Scroll footer HTML<div id="infinite-footer">
. The test was changed in #3553.The text was updated successfully, but these errors were encountered: