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

Add wp_body_open() and shim for sites older than 5.2 #1350

Merged
merged 1 commit into from
Mar 18, 2020

Conversation

DannyCooper
Copy link
Contributor

@DannyCooper DannyCooper commented Mar 28, 2019

Changes proposed in this Pull Request:

wp_body_open() is introduced in 5.2 to allow the adding of <script> code. This pull request adds the functionality to _s and introduces a shim for older WordPress versions.

@DannyCooper DannyCooper changed the title Add wp_body_open() shim for sites older than 5.2 Add wp_body_open() and shim for sites older than 5.2 Mar 28, 2019
Aurorum added a commit to Aurorum/petals-theme that referenced this pull request Jul 20, 2019
@spacedmonkey
Copy link

I don’t understand why this hasn’t been merged yet?

@Ismail-elkorchi
Copy link
Contributor

Thank you @DannyCooper for the pull request. It looks good to me. Travis is failing due to an unrelated reason.

@Ismail-elkorchi Ismail-elkorchi merged commit 154ffe9 into Automattic:master Mar 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants