WordPress.org

Make WordPress Core

Ticket #18879: 18879.patch

File 18879.patch, 531 bytes (added by kurtpayne, 10 years ago)
  • wp-includes/admin-bar.php

     
    2222                return false;
    2323
    2424        /* Load the admin bar class code ready for instantiation */
    25         require( ABSPATH . WPINC . '/class-wp-admin-bar.php' );
     25        require_once( ABSPATH . WPINC . '/class-wp-admin-bar.php' );
    2626
    2727        /* Instantiate the admin bar */
    2828        $admin_bar_class = apply_filters( 'wp_admin_bar_class', 'WP_Admin_Bar' );