summaryrefslogtreecommitdiffstatshomepage
path: root/src/js/_enqueues/wp/updates.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/_enqueues/wp/updates.js')
-rw-r--r--src/js/_enqueues/wp/updates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/_enqueues/wp/updates.js b/src/js/_enqueues/wp/updates.js
index ee5bf3cc58..d7e0de1c39 100644
--- a/src/js/_enqueues/wp/updates.js
+++ b/src/js/_enqueues/wp/updates.js
@@ -1598,7 +1598,7 @@
* @param {string} response.errorCode Error code for the error that occurred.
* @param {string} response.errorMessage The error that occurred.
* @param {string} action The type of request to perform.
- * @returns {boolean} Whether there is an error that needs to be handled or not.
+ * @return {boolean} Whether there is an error that needs to be handled or not.
*/
wp.updates.maybeHandleCredentialError = function( response, action ) {
if ( wp.updates.shouldRequestFilesystemCredentials && response.errorCode && 'unable_to_connect_to_filesystem' === response.errorCode ) {