[wp-trac] [WordPress Trac] #45271: Can't enqueue WordPress 5.0 builtin reactjs

WordPress Trac noreply at wordpress.org
Sun Nov 4 12:27:54 UTC 2018


#45271: Can't enqueue WordPress 5.0 builtin reactjs
-----------------------------------------+-------------------------
 Reporter:  CantoThemes                  |       Owner:  (none)
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  5.0
Component:  Script Loader                |     Version:  5.0
 Severity:  normal                       |  Resolution:
 Keywords:  reporter-feedback has-patch  |     Focuses:  javascript
-----------------------------------------+-------------------------

Comment (by CantoThemes):

 @ocean90 No is not working. After this patch load-scripts.php returning
 blank screen. After error reporting turning on I saw this error.

 `Fatal error: Uncaught Error: Call to undefined function get_site_option()
 in F:\wamp64\www\test\wp5\wp-includes\script-loader.php:2206 Stack trace:
 #0 F:\wamp64\www\test\wp5\wp-includes\script-loader.php(48):
 script_concat_settings() #1 F:\wamp64\www\test\wp5\wp-includes\script-
 loader.php(77): wp_register_tinymce_scripts(Object(WP_Scripts)) #2
 F:\wamp64\www\test\wp5\wp-includes\script-loader.php(583):
 wp_default_packages_vendor(Object(WP_Scripts)) #3 F:\wamp64\www\test\wp5
 \wp-admin\load-scripts.php(36): wp_default_packages(Object(WP_Scripts)) #4
 {main} thrown in F:\wamp64\www\test\wp5\wp-includes\script-loader.php on
 line 2206`

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45271#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list