@@ -136,6 +136,9 @@ |
||
| 136 | 136 | return 'Imported'; |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | + /** |
|
| 140 | + * @param resource $file |
|
| 141 | + */ |
|
| 139 | 142 | protected function _import_from_file( $file ) { |
| 140 | 143 | if ( ! class_exists( 'WP_Import' ) ) { |
| 141 | 144 | return new WP_Error( 'missing_wp_import', 'The WP_Import class does not exist' ); |