PluginProbe
Polylang / trunk
Polylang vtrunk
3.8.10 3.8.9 3.8.8 3.8.7 3.8.6 3.8.5 3.8.4 3.8.3 2.7 2.7.0.1 2.7.1 2.7.2 2.7.3 2.7.4 2.8 2.8.1 2.8.2 2.8.3 2.8.4 2.9 2.9.1 2.9.2 3.0 3.0.1 3.0.2 All 234 releases
← All changes | src/integrations/wp-importer/wordpress-importer.php +0 -3 3.8.6 → trunk View file →
@@ -37,11 +37,8 @@
37 37 *
38 38 * @since 1.2
39 39 */
40 40 public function wordpress_importer_init() {
41 - $class = new ReflectionClass( 'WP_Import' );
42 - load_plugin_textdomain( 'wordpress-importer', false, basename( dirname( $class->getFileName() ) ) . '/languages' );
43 -
44 41 $GLOBALS['wp_import'] = new PLL_WP_Import();
45 42 register_importer( 'wordpress', 'WordPress', __( 'Import <strong>posts, pages, comments, custom fields, categories, and tags</strong> from a WordPress export file.', 'polylang' ), array( $GLOBALS['wp_import'], 'dispatch' ) ); // phpcs:ignore WordPress.WP.CapitalPDangit.MisspelledInText
46 43 }
47 44