Permalink
Browse files

remove unecessary input from file_list type

  • Loading branch information...
jtsternberg committed Jan 30, 2014
1 parent 90f67ac commit fdb39af9d9f7ea14c603bd78058ff19864aa66b6
Showing with 1 addition and 1 deletion.
  1. +1 −1 helpers/cmb_Meta_Box_types.php
@@ -484,7 +484,7 @@ public static function taxonomy_multicheck_inline( $field, $meta ) {
public static function file_list( $field, $meta, $object_id ) {
- echo '<input class="cmb_upload_file cmb_upload_list" type="hidden" size="45" id="', $field['id'], '" name="', $field['id'], '" value="', self::esc( $meta, 'esc_url' ), '" />';
+ // echo '<input class="cmb_upload_file cmb_upload_list" type="hidden" size="45" id="', $field['id'], '" name="', $field['id'], '" value="', self::esc( $meta, 'esc_url' ), '" />';
echo '<input class="cmb_upload_button button cmb_upload_list" type="button" value="'. __( 'Add or Upload File', 'cmb' ) .'" />', self::desc( true );
echo '<ul id="', $field['id'], '_status" class="cmb_media_status attach_list">';

0 comments on commit fdb39af

Please sign in to comment.