Skip to content

Commit abeaf4f

Browse files
committed
fill
1 parent f3cdee9 commit abeaf4f

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

‎composer.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
"src/WpStarter/Reflection/helpers.php",
9696
"src/WpStarter/Support/functions.php",
9797
"src/WpStarter/Support/helpers.php",
98+
"src/WpStarter/Wordpress/fill.php",
9899
"src/WpStarter/Wordpress/helpers.php",
99100
"lib/prompts/src/helpers.php"
100101
],

‎src/WpStarter/Wordpress/fill.php‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
/**
3+
* Fill WP_User class if missing for WordPress
4+
*/
5+
if(!class_exists(WP_User::class)){
6+
class WP_User{
7+
public function __construct()
8+
{
9+
}
10+
}
11+
}

0 commit comments

Comments
 (0)