Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing parameter names for theme JSON related filters #52394

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/class-wp-theme-json-resolver-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public static function get_core_data() {
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data Class to access and update the underlying data.
* @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_default', new WP_Theme_JSON_Data_Gutenberg( $config, 'default' ) );
$config = $theme_json->get_data();
Expand Down Expand Up @@ -251,7 +251,7 @@ public static function get_theme_data( $deprecated = array(), $options = array()
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data Class to access and update the underlying data.
* @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_theme', new WP_Theme_JSON_Data_Gutenberg( $theme_json_data, 'theme' ) );
$theme_json_data = $theme_json->get_data();
Expand Down Expand Up @@ -390,7 +390,7 @@ public static function get_block_data() {
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data Class to access and update the underlying data.
* @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_blocks', new WP_Theme_JSON_Data_Gutenberg( $config, 'blocks' ) );
$config = $theme_json->get_data();
Expand Down Expand Up @@ -524,7 +524,7 @@ public static function get_user_data() {
*
* @since 6.1.0
*
* @param WP_Theme_JSON_Data Class to access and update the underlying data.
* @param WP_Theme_JSON_Data $theme_json Class to access and update the underlying data.
*/
$theme_json = apply_filters( 'wp_theme_json_data_user', new WP_Theme_JSON_Data_Gutenberg( $config, 'custom' ) );
$config = $theme_json->get_data();
Expand Down