Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Commit

Permalink
Add field description back to file field type. Fixes #543
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Apr 29, 2014
1 parent 0521e26 commit c3e44c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helpers/cmb_Meta_Box_types.php
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,8 @@ public function file() {
'size' => 45,
'desc' => '',
) ),
'<input class="cmb_upload_button button" type="button" value="'. __( 'Add or Upload File', 'cmb' ) .'" />';
'<input class="cmb_upload_button button" type="button" value="'. __( 'Add or Upload File', 'cmb' ) .'" />',
$this->_desc( true );

$cached_id = $this->_id();
// Reset field args for attachment ID
Expand Down

0 comments on commit c3e44c2

Please sign in to comment.