Make WordPress Core

Ticket #21413: 21413.5.patch

File 21413.5.patch, 527 bytes (added by ethitter, 11 years ago)
  • wp-admin/admin-header.php

     
    100100<?php
    101101// If the customize-loader script is enqueued, make sure the customize
    102102// body classes are correct as early as possible.
    103 if ( wp_script_is( 'customize-loader', 'queue' ) && current_user_can( 'edit_theme_options' ) )
     103if ( current_user_can( 'edit_theme_options' ) )
    104104        wp_customize_support_script();
    105105?>
    106106