diff --git a/wp-admin/themes.php b/wp-admin/themes.php index 247bd2ddc2..4fd1883edb 100644 --- a/wp-admin/themes.php +++ b/wp-admin/themes.php @@ -179,13 +179,20 @@ foreach ( $cols as $col => $theme_name ) { $thickbox_class = 'thickbox thickbox-preview'; $activate_link = wp_nonce_url("themes.php?action=activate&template=".urlencode($template)."&stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template); $activate_text = attribute_escape( sprintf( __('Activate "%s"'), $title ) ); + $actions = array(); + $actions[] = '' . __('Activate') . ''; + $actions[] = '' . __('Preview') . ''; + $actions = apply_filters('theme_action_links', $actions, $themes[$theme_name]); + + $actions = implode ( ' | ', $actions ); ?> -

+

+