|
@@ -225,7 +225,7 @@ discard block |
|
|
block discarded – undo |
|
225
|
225
|
$tax_options = array(); |
|
226
|
226
|
foreach ( $taxonomies as $taxonomy ) { |
|
227
|
227
|
|
|
228
|
|
- $tax_options[ $taxonomy->name ] = $taxonomy->labels->name; |
|
|
228
|
+ $tax_options[$taxonomy->name] = $taxonomy->labels->name; |
|
229
|
229
|
|
|
230
|
230
|
} |
|
231
|
231
|
return $tax_options; |
|
@@ -246,7 +246,7 @@ discard block |
|
|
block discarded – undo |
|
246
|
246
|
|
|
247
|
247
|
foreach ( $post_type_objects as $post_type_object ) { |
|
248
|
248
|
if ( $post_type_object->show_ui && $post_type_object->name !== 'meta_box' ) { |
|
249
|
|
- $post_types[ $post_type_object->name ] = $post_type_object->label; |
|
|
249
|
+ $post_types[$post_type_object->name] = $post_type_object->label; |
|
250
|
250
|
} |
|
251
|
251
|
} |
|
252
|
252
|
|
Please login to merge, or discard this patch.