Make WordPress Core


Ignore:
Timestamp:
05/18/2017 02:33:04 PM (8 years 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/index.php

    r40607 r40776  
    1616
    1717wp_enqueue_script( 'dashboard' );
    18 wp_localize_script( 'dashboard', 'communityEventsData', wp_get_community_events_script_data() );
    1918
    2019if ( current_user_can( 'edit_theme_options' ) )
Note: See TracChangeset for help on using the changeset viewer.