From 669cefe58723b3d5c7912282b94f41ea5b2c236c Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 31 Oct 2019 17:49:12 +0000 Subject: [PATCH] Docs: Correct some incorrect docblock tags. See #48303 git-svn-id: https://develop.svn.wordpress.org/trunk@46623 602fd350-edb4-49c9-b593-d223f7449a82 --- src/js/_enqueues/wp/customize/controls.js | 4 ++-- src/wp-admin/includes/post.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/js/_enqueues/wp/customize/controls.js b/src/js/_enqueues/wp/customize/controls.js index 2edc498e42..ca1529d20d 100644 --- a/src/js/_enqueues/wp/customize/controls.js +++ b/src/js/_enqueues/wp/customize/controls.js @@ -1152,8 +1152,8 @@ /** * @since 4.1.0 * - * @params {Boolean} active - * @param {Object} [params] + * @param {Boolean} active + * @param {Object} [params] * @returns {Boolean} false if state already applied */ _toggleActive: function ( active, params ) { diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index f2d85e969d..40dfd3971b 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -2428,7 +2428,7 @@ function the_block_editor_meta_box_post_form_hidden_fields( $post ) { * * @since 5.0.0 * - * @params WP_Post $post The post that is being edited. + * @param WP_Post $post The post that is being edited. */ do_action( 'block_editor_meta_box_hidden_fields', $post ); }