@@ 2965-2969 (lines=5) @@ | ||
2962 | } |
|
2963 | } |
|
2964 | ||
2965 | if ( ! is_multisite() && current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { |
|
2966 | $theme->customize_url = add_query_arg( array( |
|
2967 | 'return' => urlencode( network_admin_url( 'theme-install.php', 'relative' ) ), |
|
2968 | ), wp_customize_url( $theme->slug ) ); |
|
2969 | } |
|
2970 | ||
2971 | $theme->name = wp_kses( $theme->name, $themes_allowedtags ); |
|
2972 | $theme->author = wp_kses( $theme->author, $themes_allowedtags ); |
|
@@ 3449-3453 (lines=5) @@ | ||
3446 | } |
|
3447 | } |
|
3448 | ||
3449 | if ( ! is_multisite() && current_user_can( 'edit_theme_options' ) && current_user_can( 'customize' ) ) { |
|
3450 | $status['customizeUrl'] = add_query_arg( array( |
|
3451 | 'return' => urlencode( network_admin_url( 'theme-install.php', 'relative' ) ), |
|
3452 | ), wp_customize_url( $slug ) ); |
|
3453 | } |
|
3454 | ||
3455 | /* |
|
3456 | * See WP_Theme_Install_List_Table::_get_theme_status() if we wanted to check |