- Timestamp:
- 07/14/2014 07:00:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r29137 r29170 150 150 . esc_attr( sprintf( __( 'Preview “%s”' ), $title ) ) . '">' . __( 'Preview' ) . '</a>'; 151 151 152 if ( current_user_can( 'edit_theme_options' ) )152 if ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { 153 153 $actions['preview'] .= '<a href="' . wp_customize_url( $stylesheet ) . '" class="load-customize hide-if-no-customize">' 154 154 . __( 'Live Preview' ) . '</a>'; 155 } 155 156 156 157 if ( ! is_multisite() && current_user_can( 'delete_themes' ) )
Note: See TracChangeset
for help on using the changeset viewer.