WordPress.org

Make WordPress Core

Ticket #21413: 21413.6.patch

File 21413.6.patch, 619 bytes (added by SergeyBiryukov, 16 months ago)
  • wp-admin/admin-header.php

     
    9898</script> 
    9999 
    100100<?php 
    101 // If the customize-loader script is enqueued, make sure the customize 
    102 // body classes are correct as early as possible. 
    103 if ( wp_script_is( 'customize-loader', 'queue' ) && current_user_can( 'edit_theme_options' ) ) 
     101// Make sure the customize body classes are correct as early as possible.  
     102if ( current_user_can( 'edit_theme_options' ) ) 
    104103        wp_customize_support_script(); 
    105104?> 
    106105