diff --git a/themes/wporg-5ftf/archive.php b/themes/wporg-5ftf/archive.php index a805c6b..65154db 100644 --- a/themes/wporg-5ftf/archive.php +++ b/themes/wporg-5ftf/archive.php @@ -2,7 +2,7 @@ namespace WordPressdotorg\Five_for_the_Future\Theme; -// If we don't have any posts to display for the archive, then send a 404 status. See #meta4151 +// If we don't have any posts to display for the archive, then send a 404 status. See #meta4151. if ( ! have_posts() ) { status_header( 404 ); nocache_headers(); diff --git a/themes/wporg-5ftf/functions.php b/themes/wporg-5ftf/functions.php index 90f4cca..7588c1d 100644 --- a/themes/wporg-5ftf/functions.php +++ b/themes/wporg-5ftf/functions.php @@ -64,7 +64,7 @@ function setup() { 'core/group', array( 'name' => 'wporg-parallelogram', - 'label' => __( 'Parallelogram' ), + 'label' => __( 'Parallelogram', 'wporg-5ftf' ), 'style_handle' => 'wporg-style', ) ); @@ -73,14 +73,12 @@ function setup() { 'core/paragraph', array( 'name' => 'wporg-tldr', - 'label' => __( 'TL;DR summary paragraph' ), + 'label' => __( 'Summary paragraph', 'wporg-5ftf' ), 'style_handle' => 'wporg-style', ) ); - - // todo also setup block styles for other things, like the quote symbol, etc - + // todo also setup block styles for other things, like the quote symbol, etc. } add_action( 'after_setup_theme', __NAMESPACE__ . '\setup' ); diff --git a/themes/wporg-5ftf/header.php b/themes/wporg-5ftf/header.php index 4e6c7fd..1454098 100644 --- a/themes/wporg-5ftf/header.php +++ b/themes/wporg-5ftf/header.php @@ -5,11 +5,11 @@ namespace WordPressdotorg\Five_for_the_Future\Theme; global $wporg_global_header_options; $GLOBALS['pagetitle'] = wp_get_document_title(); -if ( ! isset( $wporg_global_header_options[ 'in_wrapper' ] ) ) { - $wporg_global_header_options[ 'in_wrapper' ] = ''; +if ( ! isset( $wporg_global_header_options['in_wrapper'] ) ) { + $wporg_global_header_options['in_wrapper'] = ''; } -$wporg_global_header_options[ 'in_wrapper' ] .= '' . esc_html__( 'Skip to content', 'wporg-5ftf' ) . ''; +$wporg_global_header_options['in_wrapper'] .= '' . esc_html__( 'Skip to content', 'wporg-5ftf' ) . ''; require WPORGPATH . 'header.php'; @@ -48,10 +48,12 @@ require WPORGPATH . 'header.php';