We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09c2d17 commit 88aaf42Copy full SHA for 88aaf42
packages/playground/blueprints/src/lib/steps/import-wxr.ts
@@ -42,9 +42,8 @@ export const importWxr: StepHandler<ImportWxrStep<File>> = async (
42
await playground.run({
43
code: `<?php
44
require ${phpVar(docroot)} . '/wp-load.php';
45
- if ( ! function_exists( 'wp_crop_image' ) ) {
46
- require ${phpVar(docroot)} . '/wp-admin/includes/image.php';
47
- }
+ require ${phpVar(docroot)} . '/wp-admin/includes/admin.php';
+
48
kses_remove_filters();
49
$admin_id = get_users(array('role' => 'Administrator') )[0];
50
$importer = new WXR_Importer( array(
0 commit comments