Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ vendor/

# ignore system files
.DS_Store
.vscode

# plugin build folder
build/
2 changes: 1 addition & 1 deletion admin/create-theme/form-messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static function admin_notice_blank_success() {
printf(
// translators: %1$s: Theme name
esc_html__( 'Blank theme created, head over to Appearance > Themes to activate %1$s', 'create-block-theme' ),
esc_html( $theme_name )
esc_html( stripslashes( $theme_name ) )
);
?>
</p>
Expand Down
6 changes: 3 additions & 3 deletions admin/create-theme/theme-styles.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ class Theme_Styles {
*/
public static function build_child_style_css( $theme ) {
$slug = $theme['slug'];
$name = $theme['name'];
$description = $theme['description'];
$name = stripslashes( $theme['name'] );
$description = stripslashes( $theme['description'] );
$uri = $theme['uri'];
$author = $theme['author'];
$author = stripslashes( $theme['author'] );
$author_uri = $theme['author_uri'];
$wp_version = get_bloginfo( 'version' );
$template = $theme['template'];
Expand Down