From dac985cdc4a1958c31873d0b07d865bba4c5bc70 Mon Sep 17 00:00:00 2001
From: Ella Iseulde Van Dorpe <*@iseulde.com>
Date: Thu, 16 Jul 2015 19:38:23 +0000
Subject: [PATCH] Editor: Add Media should be a button
Props afercia.
Fixes #32969.
Built from https://develop.svn.wordpress.org/trunk@33298
git-svn-id: http://core.svn.wordpress.org/trunk@33270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
---
wp-admin/includes/media.php | 3 +--
wp-includes/version.php | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/wp-admin/includes/media.php b/wp-admin/includes/media.php
index bc08784639..fc8ce0fe97 100644
--- a/wp-admin/includes/media.php
+++ b/wp-admin/includes/media.php
@@ -552,10 +552,9 @@ function media_buttons($editor_id = 'content') {
$img = ' ';
$id_attribute = $instance === 1 ? ' id="insert-media-button"' : '';
- printf( '%s',
+ printf( '',
$id_attribute,
esc_attr( $editor_id ),
- esc_attr__( 'Add Media' ),
$img . __( 'Add Media' )
);
/**
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 3a1e5e6de8..9509ffb084 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
-$wp_version = '4.3-beta3-33297';
+$wp_version = '4.3-beta3-33298';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.