Comments: Open comment quick edit on double click.

In [42767] the quick edit button changed from a link to a button. This caused the jQuery code that selects on a link to no longer work. This commit restores the previous behavior.

Fixes #47572.
See #43382, #38677.

Built from https://develop.svn.wordpress.org/trunk@45553


git-svn-id: http://core.svn.wordpress.org/trunk@45364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
atimmer 2019-06-20 10:06:51 +00:00
parent 470177a906
commit 8756207ef2
3 changed files with 3 additions and 3 deletions

View File

@ -639,7 +639,7 @@ window.commentReply = {
toggle : function(el) {
if ( 'none' !== $( el ).css( 'display' ) && ( $( '#replyrow' ).parent().is('#com-reply') || window.confirm( adminCommentsL10n.warnQuickEdit ) ) ) {
$( el ).find( 'a.vim-q' ).click();
$( el ).find( 'button.vim-q' ).click();
}
},

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.3-alpha-45551';
$wp_version = '5.3-alpha-45553';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.