Skip to content

Commit

Permalink
Fix recent commit typo, Props @Cai333.
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Feb 15, 2017
1 parent 5efe601 commit 851ed69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/CMB2.php
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ public function add_field( array $field, $position = 0 ) {
add_filter( 'wp_prepare_attachment_for_js', array( 'CMB2_Type_File_Base', 'prepare_image_sizes_for_js' ), 10, 3 );
break;

case 'file_list':
case 'oembed':

// Initiate oembed Ajax hooks
cmb2_ajax();
Expand Down

0 comments on commit 851ed69

Please sign in to comment.