[wp-trac] [WordPress Trac] #40492: Twenty Fifteen: Jumping if there is content just before the closing body tag
WordPress Trac
noreply at wordpress.org
Sat Mar 12 10:09:02 UTC 2022
#40492: Twenty Fifteen: Jumping if there is content just before the closing body
tag
-------------------------------------------------+-------------------------
Reporter: stephenharris | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.0
Component: Bundled Theme | Version: 4.7.1
Severity: minor | Resolution:
Keywords: has-patch needs-testing dev- | Focuses: javascript
feedback |
-------------------------------------------------+-------------------------
Changes (by audrasjb):
* keywords: has-patch needs-testing => has-patch needs-testing dev-
feedback
Comment:
Hi,
I tried to reproduce the issue on Twenty Fifteen using the following hook
but I wasn't able to see the bug (see the above video capture). Does it
still occurs on your side @sabernhardt?
{{{
function sabwp_twenty_fifteen_top_link() {
echo '<a href="#page"
style="background:rgba(255,244,111,0.8);color:#157;position:fixed;bottom:10px;right:10px;padding:10px;">Back
to top</a>';
}
add_action('wp_footer', 'sabwp_twenty_fifteen_top_link', 10);
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40492#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list