Changeset 29170 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 07/14/2014 07:00:24 PM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/includes/theme.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r28253 r29170 431 431 'actions' => array( 432 432 'activate' => current_user_can( 'switch_themes' ) ? wp_nonce_url( admin_url( 'themes.php?action=activate&stylesheet=' . $encoded_slug ), 'switch-theme_' . $slug ) : null, 433 'customize' => current_user_can( 'edit_theme_options') ? wp_customize_url( $slug ) : null,433 'customize' => ( current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) ? wp_customize_url( $slug ) : null, 434 434 'preview' => add_query_arg( array( 435 435 'preview' => 1,
Note: See TracChangeset
for help on using the changeset viewer.