WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2017 02:33:04 PM (12 months ago)
Author:
obenland
Message:

Dashboard: Properly localize data for events

Moves localization to script-loader and removes dependency for two strings.

Props dd32, iandunn.
See #40702.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/network/index.php

    r40607 r40776  
    5555
    5656wp_enqueue_script( 'dashboard' );
    57 wp_localize_script( 'dashboard', 'communityEventsData', wp_get_community_events_script_data() );
    5857wp_enqueue_script( 'plugin-install' );
    5958add_thickbox();
Note: See TracChangeset for help on using the changeset viewer.