Skip to content
Permalink
Browse files

wp_body_open() backwards compatibility

You are keeping up with udpates on your WordPress core, right??!
  • Loading branch information...
Jonnyauk committed Aug 20, 2019
1 parent 2266fa2 commit acee1155051b90a898f298b5c3d863bfab3e95be
Showing with 4 additions and 1 deletion.
  1. +4 −1 header.php
@@ -39,7 +39,10 @@

<?php
wp_body_open(); // WordPress v5.2 new hook
// BACKPAT: wp_body_open() new in WordPress 5.2
if ( WF_WORDPRESS_VERSION >= 5.2 ) {
wp_body_open();
}
wfbody_before_wrapper(); //WF display hook
wfheader_before_wrapper(); //WF display hook

0 comments on commit acee115

Please sign in to comment.
You can’t perform that action at this time.