2
我創建一個插件,我試圖在構造使用此代碼:WordPress插件保持垂死
if(!isset($root, $version, $itemID, $codeKey, $authKey, $channelKey)) {
wp_die('Missing params in $config for KM_Updates constructor');
}else{
echo 'getting here';
}
凡它讓垂死的,我贊同一切:
$root = 'localhost/testplugin'
$version = null
$itemID = 1
$codeKey = '00000A'
$authKey = '123456789qwertyuio'
$channelKey = 1
然而,它始終在死亡,即使你的一切都設置了
謝謝!我從中獲得了它,現在一切都像魅力一樣 –