[wp-trac] [WordPress Trac] #58634: Update uses of script registration functions to use new function signature
WordPress Trac
noreply at wordpress.org
Wed Aug 23 10:30:38 UTC 2023
#58634: Update uses of script registration functions to use new function signature
-------------------------------------------------+-------------------------
Reporter: joemcgill | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: 6.4
Component: General | Version: 6.3
Severity: normal | Resolution:
Keywords: good-first-bug has-patch needs- | Focuses: javascript
testing |
-------------------------------------------------+-------------------------
Comment (by huzaifaalmesbah):
Thanks for the report @joemcgill and also, thanks for adding the patch
[https://github.com/WordPress/wordpress-develop/pull/4720] by nirav7707
=== Environment
- WordPress: 6.4-alpha-56267-src
- PHP: 7.4.33
- Server: nginx/1.25.2
- Database: MySQL Community Server (GPL) v5.7.43
=== Result
All is working fine, but I face two issues in 4720.diff on
6.4-alpha-56267-src and twentytwentyone v1.9. line does not match.
{{{
src/wp-content/themes/twentytwentyone/functions.php
@@ -470,7 +470,7 @@
src/wp-includes/script-loader.php
@@ -2698,7 +2698,7 @@
}}}
I solved this issue, and I added a new update patch
{{{
src/wp-content/themes/twentytwentyone/functions.php
@@ -473,7 +473,7 @@ add_action( 'wp_enqueue_scripts',
'twenty_twenty_one_scripts' );
src/wp-includes/script-loader.php
@@ -2692,7 +2692,7 @@ function enqueue_editor_block_styles_assets() {
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58634#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list