Ticket #18301: 18301.diff
File 18301.diff, 1.2 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-ms-themes-list-table.php
284 284 else 285 285 $actions['disable'] = '<a href="' . esc_url( wp_nonce_url($url . 'action=disable&theme=' . $theme_key . '&paged=' . $page . '&s=' . $s, 'disable-theme_' . $theme_key) ) . '" title="' . esc_attr__('Disable this theme') . '">' . ( $this->is_site_themes ? __( 'Disable' ) : __( 'Network Disable' ) ) . '</a>'; 286 286 287 if ( $this->is_site_themes ) 288 $actions['activate'] = '<a href="' . esc_url( wp_nonce_url( get_admin_url( $this->site_id, 'themes.php?action=activate&template=' . $theme['Template'] . '&stylesheet=' . $theme_key ), 'switch-theme_' . $theme['Template'] ) ) . '" title="' . esc_attr__('Activate this theme') . '">' . __( 'Activate' ) . '</a>'; 289 287 290 if ( current_user_can('edit_themes') ) 288 291 $actions['edit'] = '<a href="' . esc_url('theme-editor.php?theme=' . urlencode( $theme['Name'] )) . '" title="' . esc_attr__('Open this theme in the Theme Editor') . '" class="edit">' . __('Edit') . '</a>'; 289 292