Make WordPress Core


Ignore:
Timestamp:
06/30/2012 03:07:39 PM (12 years ago)
Author:
nacin
Message:

require_once dashboard.php in wp_ajax_dashboard_widgets() so it is testable. props kurtpayne. fixes #UT41.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ajax-actions.php

    r21192 r21203  
    194194
    195195function wp_ajax_dashboard_widgets() {
    196     require ABSPATH . 'wp-admin/includes/dashboard.php';
     196    require_once ABSPATH . 'wp-admin/includes/dashboard.php';
    197197
    198198    switch ( $_GET['widget'] ) {
Note: See TracChangeset for help on using the changeset viewer.