Skip to content
This repository has been archived by the owner on Feb 1, 2019. It is now read-only.

Commit

Permalink
Add brackets for WP PHP Coding Standards
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtw committed Mar 27, 2015
1 parent e79bf86 commit 942405b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion inc/meta-box-models.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,8 +377,9 @@ public function validate_datetime($field, $post_ID) {
$date = DateTime::createFromFormat('F j Y h:ia T', $data[$field['taxonomy']]);
}
}
if ( $date )
if ( $date ) {
$this->Callbacks->date( $post_ID, $field['taxonomy'], $multiple = $field['multiple'], $data, null );
}
}

public function validate_file( $field, $post_ID ) {
Expand Down

0 comments on commit 942405b

Please sign in to comment.