wp/wp-admin/js/custom-background.js
changeset 16 a86126ab1dd4
parent 9 177826044cd9
child 18 be944660c56a
--- a/wp/wp-admin/js/custom-background.js	Tue Oct 22 16:11:46 2019 +0200
+++ b/wp/wp-admin/js/custom-background.js	Tue Dec 15 13:49:49 2020 +0100
@@ -21,7 +21,7 @@
 		 *
 		 * @since 3.5.0
 		 *
-		 * @returns {void}
+		 * @return {void}
 		 */
 		$('#background-color').wpColorPicker({
 			change: function( event, ui ) {
@@ -37,7 +37,7 @@
 		 *
 		 * @since 4.7.0
 		 *
-		 * @returns {void}
+		 * @return {void}
 		 */
 		$( 'select[name="background-size"]' ).change( function() {
 			bgImage.css( 'background-size', $( this ).val() );
@@ -48,7 +48,7 @@
 		 *
 		 * @since 4.7.0
 		 *
-		 * @returns {void}
+		 * @return {void}
 		 */
 		$( 'input[name="background-position"]' ).change( function() {
 			bgImage.css( 'background-position', $( this ).val() );
@@ -59,7 +59,7 @@
 		 *
 		 * @since 3.0.0
 		 *
-		 * @returns {void}
+		 * @return {void}
 		 */
 		$( 'input[name="background-repeat"]' ).change( function() {
 			bgImage.css( 'background-repeat', $( this ).is( ':checked' ) ? 'repeat' : 'no-repeat' );
@@ -70,7 +70,7 @@
 		 *
 		 * @since 4.7.0
 		 *
-		 * @returns {void}
+		 * @return {void}
 		 */
 		$( 'input[name="background-attachment"]' ).change( function() {
 			bgImage.css( 'background-attachment', $( this ).is( ':checked' ) ? 'scroll' : 'fixed' );
@@ -81,7 +81,7 @@
 		 *
 		 * @since 3.5.0
 		 *
-		 * @returns {void}
+		 * @return {void}
 		 */
 		$('#choose-from-library-link').click( function( event ) {
 			var $el = $(this);
@@ -121,13 +121,13 @@
 			 *
 			 * @since 3.5.0
 			 *
-			 * @returns {void}
+			 * @return {void}
  			 */
 			frame.on( 'select', function() {
 				// Grab the selected attachment.
 				var attachment = frame.state().get('selection').first();
 
-				// Run an AJAX request to set the background image.
+				// Run an Ajax request to set the background image.
 				$.post( ajaxurl, {
 					action: 'set-background-image',
 					attachment_id: attachment.id,