PluginProbe
WP Ultimate Post Grid / 1.6
WP Ultimate Post Grid v1.6
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
← All changes | helpers/meta_boxes/meta_box_limit_posts.php +3 -3 2.7.01.6 View file →
@@ -51,9 +51,9 @@
51 51 echo '<option value="' . esc_attr( $post_type ) . '|' . esc_attr( $taxonomy ) . '"' . $selected . '>' . $tax_options->labels->name . '</option>';
52 52
53 53 $rule_fields[] = $post_type . '|' . $taxonomy;
54 54 if( !isset( $rule_field_terms[$taxonomy] ) ) {
55 - $rule_field_terms[$taxonomy] = get_terms( $taxonomy, array( 'hide_empty' => false ) );
55 + $rule_field_terms[$taxonomy] = get_terms( $taxonomy );
56 56 }
57 57 }
58 58 echo '</optgroup>';
59 59 }
@@ -125,10 +125,10 @@
125 125 <td>
126 126 <select name="wpupg_limit_posts_rule[0][type]" id="wpupg_limit_posts_rule_type_0">
127 127 <?php
128 128 $rule_type_options = array(
129 - 'restrict' => __( 'Only these items', 'wp-ultimate-post-grid' ),
130 - 'exclude' => __( 'Exclude these items', 'wp-ultimate-post-grid' ),
129 + 'restrict' => __( 'Only these posts', 'wp-ultimate-post-grid' ),
130 + 'exclude' => __( 'Exclude these posts', 'wp-ultimate-post-grid' ),
131 131 );
132 132
133 133 foreach( $rule_type_options as $rule_type => $rule_type_name ) {
134 134 $selected = '';//$rule_type == $grid->filter_type() ? ' selected="selected"' : '';