Skip to content

Commit

Permalink
Fix lint issues in WP_Theme_JSON::sanitize method.
Browse files Browse the repository at this point in the history
Add @SInCE tag and indent the parameter properly.

Props mukesh27.
Fixes #58462.



git-svn-id: https://develop.svn.wordpress.org/trunk@55915 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
oandregal committed Jun 14, 2023
1 parent 2888daf commit 5d544a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/wp-includes/class-wp-theme-json.php
Original file line number Diff line number Diff line change
Expand Up @@ -671,11 +671,12 @@ protected static function do_opt_in_into_settings( &$context ) {
*
* @since 5.8.0
* @since 5.9.0 Added the `$valid_block_names` and `$valid_element_name` parameters.
* @since 6.3.0 Added the `$valid_variations` parameter.
*
* @param array $input Structure to sanitize.
* @param array $valid_block_names List of valid block names.
* @param array $valid_element_names List of valid element names.
* @param array $valid_variations List of valid variations per block.
* @param array $valid_variations List of valid variations per block.
* @return array The sanitized output.
*/
protected static function sanitize( $input, $valid_block_names, $valid_element_names, $valid_variations ) {
Expand Down

0 comments on commit 5d544a5

Please sign in to comment.