Dashboard: Properly localize data for events
Moves localization to script-loader and removes dependency for two strings. Props dd32, iandunn. See #40702. Built from https://develop.svn.wordpress.org/trunk@40776 git-svn-id: http://core.svn.wordpress.org/trunk@40634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -54,7 +54,6 @@ get_current_screen()->set_help_sidebar(
|
||||
wp_dashboard_setup();
|
||||
|
||||
wp_enqueue_script( 'dashboard' );
|
||||
wp_localize_script( 'dashboard', 'communityEventsData', wp_get_community_events_script_data() );
|
||||
wp_enqueue_script( 'plugin-install' );
|
||||
add_thickbox();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user