WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2017 02:33:04 PM (14 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-includes/default-filters.php

    r40676 r40776  
    435435add_action( 'wp_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 );
    436436add_action( 'admin_enqueue_scripts', 'wp_localize_jquery_ui_datepicker', 1000 );
     437add_action( 'admin_print_scripts-index.php', 'wp_localize_community_events' );
    437438add_filter( 'wp_print_scripts', 'wp_just_in_time_script_localization' );
    438439add_filter( 'print_scripts_array', 'wp_prototype_before_jquery' );
Note: See TracChangeset for help on using the changeset viewer.