WordPress.org

Make WordPress Core

Changeset 21203


Ignore:
Timestamp:
06/30/12 15:07:39 (22 months 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.