We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca08514 commit 88c4b1cCopy full SHA for 88c4b1c
includes/class-create-block-theme-api.php
@@ -490,6 +490,7 @@ private function sanitize_theme_data( $theme ) {
490
$sanitized_theme['tags_custom'] = sanitize_text_field( $theme['tags_custom'] ?? '' );
491
$sanitized_theme['subfolder'] = sanitize_text_field( $theme['subfolder'] ?? '' );
492
$sanitized_theme['version'] = sanitize_text_field( $theme['version'] ?? '' );
493
+ $sanitized_theme['screenshot'] = sanitize_text_field( $theme['screenshot'] ?? '' );
494
$sanitized_theme['recommended_plugins'] = sanitize_textarea_field( $theme['recommended_plugins'] ?? '' );
495
$sanitized_theme['template'] = '';
496
$sanitized_theme['slug'] = sanitize_title( $theme['name'] );
0 commit comments