@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | add_action( 'save_post', array( $this->controller, 'export_post' ) ); |
163 | 163 | add_action( 'delete_post', array( $this->controller, 'delete_post' ) ); |
164 | 164 | add_action( 'wp_ajax_nopriv_wogh_push_request', array( $this->controller, 'pull_posts' ) ); |
165 | - add_action( 'wogh_export', array( $this->controller, 'export_all' ), 10, 2 ); |
|
165 | + add_action( 'wogh_export', array( $this->controller, 'export_all' ), 10, 2 ); |
|
166 | 166 | add_action( 'wogh_import', array( $this->controller, 'import_master' ), 10, 1 ); |
167 | 167 | add_filter( 'get_edit_post_link', array( $this, 'edit_post_link' ), 10, 3 ); |
168 | 168 | |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | } |
182 | 182 | } |
183 | 183 | |
184 | - return $link; |
|
184 | + return $link; |
|
185 | 185 | } |
186 | 186 | |
187 | 187 | public function ignore_post_meta($meta) { |
@@ -436,9 +436,9 @@ discard block |
||
436 | 436 | /** |
437 | 437 | * Kicks of an import or export cronjob. |
438 | 438 | * |
439 | - * @param bool $force |
|
440 | - * @param string $type |
|
441 | - */ |
|
439 | + * @param bool $force |
|
440 | + * @param string $type |
|
441 | + */ |
|
442 | 442 | protected function start_cron( $type, $force = false ) { |
443 | 443 | update_option( '_wogh_' . $type . '_started', 'yes' ); |
444 | 444 | $user_id = get_current_user_id(); |