Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of new ‘wp_body_open’ hook (?!) #1722

Closed
eri-trabiccolo opened this issue Mar 29, 2019 · 3 comments
Closed

Addition of new ‘wp_body_open’ hook (?!) #1722

eri-trabiccolo opened this issue Mar 29, 2019 · 3 comments
Assignees

Comments

@eri-trabiccolo eri-trabiccolo changed the title add new body open tag? Addition of new ‘wp_body_open’ hook (?!) Mar 29, 2019
@Nikeo

This comment has been minimized.

Copy link
Contributor

@Nikeo Nikeo commented Apr 11, 2019

Let's implement tadlock solution in comments https://make.wordpress.org/themes/2019/03/29/addition-of-new-wp_body_open-hook/#comment-43714

I’m pretty sure the Theme Sniffer is going to complain about unprefixed functions. Themers can just do this for the same:

do_action( 'wp_body_open' );

Or this for just back-compat:

if ( function_exists( 'wp_body_open' ) ) {
wp_body_open();
}

@Nikeo

This comment has been minimized.

Copy link
Contributor

@Nikeo Nikeo commented Apr 11, 2019

in your devs @eri-trabiccolo
we can chat about this during the next dev skype

@Nikeo Nikeo assigned Nikeo and unassigned eri-trabiccolo May 8, 2019
@Nikeo Nikeo added the done label May 8, 2019
@Nikeo

This comment has been minimized.

Copy link
Contributor

@Nikeo Nikeo commented May 8, 2019

@Nikeo Nikeo closed this in 96587d6 May 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.