WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #30780, comment 5


Ignore:
Timestamp:
12/19/2014 04:32:13 PM (5 years ago)
Author:
ipm-frommen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30780, comment 5

    initial v1  
    3535                'parent'  => $the_parent,
    3636        );
    37         $siblings_with_the_same_slug = get_terms( $term->taxonomy,$args );
     37        $siblings_with_the_same_slug = get_terms( $term->taxonomy, $args );
    3838        if ( is_wp_error( $siblings_with_the_same_slug ) || empty( $siblings_with_the_same_slug ) ) {
    3939                return $slug;
     
    6464                'parent'  => $the_parent,
    6565        );
    66         $siblings_with_the_same_slug = get_terms( $term->taxonomy,$args );
     66        $siblings_with_the_same_slug = get_terms( $term->taxonomy, $args );
    6767        if ( is_wp_error( $siblings_with_the_same_slug ) || empty( $siblings_with_the_same_slug ) ) {
    6868                return $slug;