Twenty Seventeen: Unifies the labels for front page sections

Front page sesctions # Content were labelled in Customizer Theme Options but the preview called it Panel # placeholder. This unifies that.

Props Clorith, ahortin, celloexpressions, davidakennedy
Fixes #38567



git-svn-id: https://develop.svn.wordpress.org/trunk@39094 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Tammie Lister 2016-11-02 19:08:11 +00:00
parent bbbf3a97fa
commit 4ab3f9fc3a

View File

@ -151,7 +151,7 @@ function twentyseventeen_front_page_section( $partial = null, $id = 0 ) {
wp_reset_postdata(); wp_reset_postdata();
} elseif ( is_customize_preview() ) { } elseif ( is_customize_preview() ) {
// The output placeholder anchor. // The output placeholder anchor.
echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Panel %1$s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>'; echo '<article class="panel-placeholder panel twentyseventeen-panel twentyseventeen-panel' . $id . '" id="panel' . $id . '"><span class="twentyseventeen-panel-title">' . sprintf( __( 'Front Page Section %1$s Placeholder', 'twentyseventeen' ), $id ) . '</span></article>';
} }
} }