Make WordPress Core


Ignore:
Timestamp:
07/28/2020 02:40:06 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Reformat a condifion for default taxonomy terms in map_meta_cap() for better readability.

Follow-up to [48356], [48480].

See #43517.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r48658 r48664  
    456456            );
    457457
    458             // Update term id in options.
     458            // Update `term_id` in options.
    459459            if ( ! is_wp_error( $term ) ) {
    460460                update_option( 'default_taxonomy_' . $taxonomy_object->name, $term['term_id'] );
Note: See TracChangeset for help on using the changeset viewer.