Make WordPress Core


Ignore:
Timestamp:
02/25/2016 12:52:33 PM (10 years ago)
Author:
ocean90
Message:

Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective).

Props obrienlabs, thewanderingbrit.
Fixes #34887.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/featured-content.php

    r31250 r36709  
    99 * will designate a featured post tag to associate posts with. Since
    1010 * this tag now has special meaning beyond that of a normal tags, users
    11  * will have the ability to hide it from the front-end of their site.
     11 * will have the ability to hide it from the front end of their site.
    1212 */
    1313class Featured_Content {
     
    9696
    9797    /**
    98      * Hide "featured" tag from the front-end.
     98     * Hide "featured" tag from the front end.
    9999     *
    100100     * Has to run on wp_loaded so that the preview filters of the Customizer
     
    289289
    290290    /**
    291      * Hide featured tag from displaying when global terms are queried from the front-end.
     291     * Hide featured tag from displaying when global terms are queried from the front end.
    292292     *
    293293     * Hooks into the "get_terms" filter.
     
    305305    public static function hide_featured_term( $terms, $taxonomies, $args ) {
    306306
    307         // This filter is only appropriate on the front-end.
     307        // This filter is only appropriate on the front end.
    308308        if ( is_admin() ) {
    309309            return $terms;
     
    337337    /**
    338338     * Hide featured tag from display when terms associated with a post object
    339      * are queried from the front-end.
     339     * are queried from the front end.
    340340     *
    341341     * Hooks into the "get_the_terms" filter.
     
    354354    public static function hide_the_featured_term( $terms, $id, $taxonomy ) {
    355355
    356         // This filter is only appropriate on the front-end.
     356        // This filter is only appropriate on the front end.
    357357        if ( is_admin() ) {
    358358            return $terms;
Note: See TracChangeset for help on using the changeset viewer.