refactor: Divi-Reiter und divi-check in die Divi-Integration verschoben; CoreIndependenceTest prüft auch Cli, ChangeLog, Pods und die Wurzeldateien, erkennt Alias-Importe und kennt nur noch Plugin.php als Ausnahme
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
d0d3488df8
commit
7f9a087b8b
@@ -165,7 +165,7 @@ pass "site status: only page-write incompatible (problem and tools named), refus
|
||||
# The tab is taken from the settings page filter, as the plugin wires it (with the tools of every integration).
|
||||
NOTICE=$(wp --user="$ADMIN_LOGIN" eval '$tab = null;
|
||||
foreach (apply_filters(LIT\MCP\Admin\SettingsPage::TABS_FILTER, []) as $candidate) {
|
||||
if ($candidate instanceof LIT\MCP\Admin\DiviTab) {
|
||||
if ($candidate instanceof LIT\MCP\Integrations\Divi\Admin\DiviTab) {
|
||||
$tab = $candidate;
|
||||
}
|
||||
}
|
||||
@@ -177,7 +177,7 @@ TAB=$(wp --user="$ADMIN_LOGIN" eval '
|
||||
require_once ABSPATH . "wp-admin/includes/template.php";
|
||||
$tab = null;
|
||||
foreach (apply_filters(LIT\MCP\Admin\SettingsPage::TABS_FILTER, []) as $candidate) {
|
||||
if ($candidate instanceof LIT\MCP\Admin\DiviTab) {
|
||||
if ($candidate instanceof LIT\MCP\Integrations\Divi\Admin\DiviTab) {
|
||||
$tab = $candidate;
|
||||
}
|
||||
}
|
||||
@@ -198,7 +198,7 @@ echo "$STATUS" | jq -e '.components[] | select(.id == "divi") | .features | all(
|
||||
|| fail "every feature must be released again: $STATUS"
|
||||
[ -z "$(wp --user="$ADMIN_LOGIN" eval '$tab = null;
|
||||
foreach (apply_filters(LIT\MCP\Admin\SettingsPage::TABS_FILTER, []) as $candidate) {
|
||||
if ($candidate instanceof LIT\MCP\Admin\DiviTab) {
|
||||
if ($candidate instanceof LIT\MCP\Integrations\Divi\Admin\DiviTab) {
|
||||
$tab = $candidate;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user