Code Duplication    Length = 2-2 lines in 2 locations

classes/PodsInit.php 2 locations

@@ 697-698 (lines=2) @@
694
            if ( is_array( $options[ 'rewrite' ] ) && isset( $options[ 'rewrite' ][ 'slug' ] ) && !empty( $options[ 'rewrite' ][ 'slug' ] ) )
695
                $options[ 'rewrite' ][ 'slug' ] = _x( $options[ 'rewrite' ][ 'slug' ], 'URL taxonomy slug', 'pods' );
696
697
            if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) )
698
                pods_debug( array( $taxonomy, $ct_post_types, $options ) );
699
700
            register_taxonomy( $taxonomy, $ct_post_types, $options );
701
@@ 724-725 (lines=2) @@
721
            if ( is_array( $options[ 'rewrite' ] ) && isset( $options[ 'rewrite' ][ 'slug' ] ) && !empty( $options[ 'rewrite' ][ 'slug' ] ) )
722
                $options[ 'rewrite' ][ 'slug' ] = _x( $options[ 'rewrite' ][ 'slug' ], 'URL slug', 'pods' );
723
724
            if ( 1 == pods_var( 'pods_debug_register', 'get', 0 ) && pods_is_admin( array( 'pods' ) ) )
725
                pods_debug( array( $post_type, $options ) );
726
727
            register_post_type( $post_type, $options );
728