Dashboard: Update the existing WordPress News dashboard widget to also include upcoming meetup events and WordCamps near the current user’s location.
Props @afercia, @andreamiddleton, @azaozz, @camikaos, @coreymckrill, @chanthaboune, @courtneypk, @dd32, @iandunn, @iseulde, @mapk, @mayukojpn, @melchoyce, @nao, @obenland, @pento, @samuelsidler, @stephdau, @tellyworth. See #40702. Built from https://develop.svn.wordpress.org/trunk@40607 git-svn-id: http://core.svn.wordpress.org/trunk@40477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -54,6 +54,7 @@ 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();
|
||||
|
||||
@@ -73,4 +74,6 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' );
|
||||
|
||||
</div><!-- wrap -->
|
||||
|
||||
<?php include( ABSPATH . 'wp-admin/admin-footer.php' ); ?>
|
||||
<?php
|
||||
wp_print_community_events_templates();
|
||||
include( ABSPATH . 'wp-admin/admin-footer.php' );
|
||||
|
||||
Reference in New Issue
Block a user