Make WordPress Core

Changeset 23879


Ignore:
Timestamp:
03/29/2013 11:25:06 PM (12 years ago)
Author:
SergeyBiryukov
Message:

Consistently show "Customize" item in the admin menu. props ethitter. fixes #21413.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-header.php

    r23036 r23879  
    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?>
Note: See TracChangeset for help on using the changeset viewer.