Skip to content

Updated: Use 6th parmeter of wp_enqueue_script() and wp_register_script()#5073

Closed
mrinal013 wants to merge 6 commits intoWordPress:trunkfrom
mrinal013:58634
Closed

Updated: Use 6th parmeter of wp_enqueue_script() and wp_register_script()#5073
mrinal013 wants to merge 6 commits intoWordPress:trunkfrom
mrinal013:58634

Conversation

@mrinal013
Copy link
Copy Markdown

@mrinal013 mrinal013 commented Aug 24, 2023

In the previous PR, at twentytwentyone/functions.php line #424, 433 wp_register_script() missed array at 6th parameter. Here, added this.
Trac Ticket: https://core.trac.wordpress.org/ticket/58634


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

In the @nirav7707's PR, at twentytwentyone/functions.php line WordPress#424, 433 wp_register_script() missed array at 6th paramerter.
Here, added this.
Ticket: https://core.trac.wordpress.org/ticket/58634
Copy link
Copy Markdown
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mrinal013 Thank you for the updated PR! Looks good mostly, just one thing that needs to be addressed.

mrinal013 and others added 5 commits August 31, 2023 20:26
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Copy link
Copy Markdown
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @mrinal013, LGTM!

@felixarntz
Copy link
Copy Markdown
Member

@felixarntz felixarntz closed this Sep 6, 2023
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.

2 participants