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

Deprecated function: print_inline_script #53

Open
veerap000 opened this issue Oct 14, 2024 · 1 comment · Fixed by #54
Open

Deprecated function: print_inline_script #53

veerap000 opened this issue Oct 14, 2024 · 1 comment · Fixed by #54

Comments

@veerap000
Copy link

Getting deprecation warning when exporting a OpenAPI HTML with WP Cli.

Deprecated: Function WP_Scripts::print_inline_script is deprecated since version 6.3.0! Use WP_Scripts::get_inline_script_data() or WP_Scripts::get_inline_script_tag() instead.

used in:

$wp_scripts->print_inline_script('elements-js');

@moon0326
Copy link
Owner

Thank you @veerap000. I'll look into it soon.

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 a pull request may close this issue.

2 participants