`wp.media.view.Button` should create `<button>`s, not `<a href="#">`s.
Props afercia. See #32236. Built from https://develop.svn.wordpress.org/trunk@32464 git-svn-id: http://core.svn.wordpress.org/trunk@32434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a417b2cf1a
commit
2c42a665a2
|
@ -4211,9 +4211,9 @@ module.exports = ButtonGroup;
|
|||
* @augments Backbone.View
|
||||
*/
|
||||
var Button = wp.media.View.extend({
|
||||
tagName: 'a',
|
||||
tagName: 'button',
|
||||
className: 'media-button',
|
||||
attributes: { href: '#' },
|
||||
attributes: { type: 'button' },
|
||||
|
||||
events: {
|
||||
'click': 'click'
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.3-alpha-32463';
|
||||
$wp_version = '4.3-alpha-32464';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue