@@ 1761-1765 (lines=5) @@ | ||
1758 | $reserved_query_vars = array_merge( $reserved_query_vars, array_keys( $wp_query->fill_query_vars( array() ) ) ); |
|
1759 | } |
|
1760 | ||
1761 | if ( isset( $pod[ 'options' ][ 'query_var_string' ] ) ) { |
|
1762 | if ( in_array( $pod[ 'options' ][ 'query_var_string' ], $reserved_query_vars ) ) { |
|
1763 | $pod[ 'options' ][ 'query_var_string' ] = $pod[ 'options' ][ 'type' ] . '_' . $pod[ 'options' ][ 'query_var_string' ]; |
|
1764 | } |
|
1765 | } |
|
1766 | ||
1767 | if ( isset( $pod[ 'options' ][ 'query_var' ] ) ) { |
|
1768 | if ( in_array( $pod[ 'options' ][ 'query_var' ], $reserved_query_vars ) ) { |
|
@@ 1767-1771 (lines=5) @@ | ||
1764 | } |
|
1765 | } |
|
1766 | ||
1767 | if ( isset( $pod[ 'options' ][ 'query_var' ] ) ) { |
|
1768 | if ( in_array( $pod[ 'options' ][ 'query_var' ], $reserved_query_vars ) ) { |
|
1769 | $pod[ 'options' ][ 'query_var' ] = $pod[ 'options' ][ 'type' ] . '_' . $pod[ 'options' ][ 'query_var' ]; |
|
1770 | } |
|
1771 | } |
|
1772 | ||
1773 | if ( strlen( $pod[ 'label' ] ) < 1 ) |
|
1774 | $pod[ 'label' ] = $pod[ 'name' ]; |