|
$submenu[$this->slug][50] = [$sub[$edit_key][0], $capability, esc_url(admin_url('admin.php?page=' . $this->slug))]; |
|
$submenu[$this->slug][$c] = [$item[0], $item[1], esc_url(admin_url($url))]; |
Those 2 lines throw an error if the open_basedir restriction is in effect.
The issue comes from WP Core that checks if the file (menu URL) exists.
The menu URL should be a relative URL from the admin URL.
PR is comming
wp-nested-pages/app/Entities/AdminMenu/AdminSubmenu.php
Line 49 in ccfaaa4
wp-nested-pages/app/Entities/AdminMenu/AdminSubmenu.php
Line 59 in ccfaaa4
Those 2 lines throw an error if the
open_basedirrestriction is in effect.The issue comes from WP Core that checks if the file (menu URL) exists.
The menu URL should be a relative URL from the admin URL.
PR is comming