WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/20/2015 07:02:53 PM (5 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: fix escaping and minor code style issues. See #29127.

File:
1 edited

Legend:

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

    r29903 r31250  
    326326
    327327        $settings = self::get_setting();
    328         foreach( $terms as $order => $term ) {
     328        foreach ( $terms as $order => $term ) {
    329329            if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) {
    330330                unset( $terms[ $order ] );
     
    370370
    371371        $settings = self::get_setting();
    372         foreach( $terms as $order => $term ) {
     372        foreach ( $terms as $order => $term ) {
    373373            if ( ( $settings['tag-id'] === $term->term_id || $settings['tag-name'] === $term->name ) && 'post_tag' === $term->taxonomy ) {
    374374                unset( $terms[ $term->term_id ] );
Note: See TracChangeset for help on using the changeset viewer.