--- a/wp/wp-includes/js/wp-custom-header.js Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-includes/js/wp-custom-header.js Tue Dec 15 13:49:49 2020 +0100
@@ -50,7 +50,7 @@
CustomHeader.prototype = {
/**
- * Initalize the custom header.
+ * Initialize the custom header.
*
* If the environment supports video, loops through registered handlers
* until one is found that can handle the video.
@@ -79,7 +79,7 @@
* @return {boolean}
*/
supportsVideo: function() {
- // Don't load video on small screens. @todo: consider bandwidth and other factors.
+ // Don't load video on small screens. @todo Consider bandwidth and other factors.
if ( window.innerWidth < settings.minWidth || window.innerHeight < settings.minHeight ) {
return false;
}
@@ -108,7 +108,7 @@
/**
* Initialize the video handler.
*
- * @param {object} settings Video settings.
+ * @param {Object} settings Video settings.
*/
initialize: function( settings ) {
var handler = this,
@@ -217,7 +217,7 @@
* Whether the handler can process a video.
*
* @abstract
- * @param {object} settings Video settings.
+ * @param {Object} settings Video settings.
* @return {boolean}
*/
test: function() {
@@ -239,7 +239,7 @@
*
* @memberOf wp
*
- * @param {object} protoProps Properties to apply to the prototype.
+ * @param {Object} protoProps Properties to apply to the prototype.
* @return CustomHandler The subclass.
*/
BaseHandler.extend = function( protoProps ) {
@@ -271,7 +271,7 @@
/**
* Whether the native handler supports a video.
*
- * @param {object} settings Video settings.
+ * @param {Object} settings Video settings.
* @return {boolean}
*/
test: function( settings ) {
@@ -345,7 +345,7 @@
/**
* Whether the handler supports a video.
*
- * @param {object} settings Video settings.
+ * @param {Object} settings Video settings.
* @return {boolean}
*/
test: function( settings ) {