Use dashes instead of dots as separator for jQuery events in shiny updates
`.` is used for namespaces, so better to use dashes. see #31819 props iseulde Built from https://develop.svn.wordpress.org/trunk@32063 git-svn-id: http://core.svn.wordpress.org/trunk@32042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
99d6c67148
commit
1facff5425
|
@ -228,7 +228,7 @@ window.wp = window.wp || {};
|
|||
|
||||
wp.updates.updateDoneSuccessfully = true;
|
||||
|
||||
$(document).trigger( 'wp.plugin.update.success', response );
|
||||
$(document).trigger( 'wp-plugin-update-success', response );
|
||||
|
||||
/*
|
||||
* The lock can be released since the update was successful,
|
||||
|
@ -265,7 +265,7 @@ window.wp = window.wp || {};
|
|||
$message.text( wp.updates.l10n.updateFailed );
|
||||
wp.a11y.speak( wp.updates.l10n.updateFailed );
|
||||
|
||||
$(document).trigger( 'wp.plugin.update.error', response );
|
||||
$(document).trigger( 'wp-plugin-update-error', response );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.2-beta4-32062';
|
||||
$wp_version = '4.2-beta4-32063';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue