Make WordPress Core

Changeset 39094


Ignore:
Timestamp:
11/02/2016 07:08:11 PM (8 years ago)
Author:
karmatosed
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/inc/template-tags.php

    r38998 r39094  
    152152    } elseif ( is_customize_preview() ) {
    153153        // The output placeholder anchor.
    154         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>';
     154        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>';
    155155    }
    156156}
Note: See TracChangeset for help on using the changeset viewer.