From b56b57bc2c0c527d0aa30cdf293b0bb5ab160853 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Fri, 9 Nov 2012 11:28:43 +0000 Subject: [PATCH] Media: Make "update featured image" button primary. see #21776, #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22500 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/includes/meta-boxes.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp-admin/includes/meta-boxes.php b/wp-admin/includes/meta-boxes.php index c0ac23b452..bd81cb1e32 100644 --- a/wp-admin/includes/meta-boxes.php +++ b/wp-admin/includes/meta-boxes.php @@ -1036,7 +1036,8 @@ function post_thumbnail_meta_box( $post ) { frame.toolbar.on( 'activate:select', function() { frame.toolbar.view().add({ select: { - text: update, + style: 'primary', + text: update, click: function() { var selection = frame.state().get('selection'),