@@ -33,13 +33,13 @@ |
||
| 33 | 33 | $this->sfic = new Simple_Featured_Image_Column; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - function create_post( $post = array() ) { |
|
| 36 | + function create_post($post = array()) { |
|
| 37 | 37 | $defaults = array( |
| 38 | 38 | 'post_title' => 'My Post', |
| 39 | 39 | 'post_content' => 'This is my post', |
| 40 | 40 | 'post_status' => 'publish', |
| 41 | 41 | 'post_author' => 1, |
| 42 | 42 | ); |
| 43 | - return wp_insert_post( array_merge( $defaults, $post ) ); |
|
| 43 | + return wp_insert_post(array_merge($defaults, $post)); |
|
| 44 | 44 | } |
| 45 | 45 | } |