Skip to content

Commit 5abc91e

Browse files
gzioloclaude
andcommitted
Connectors: Remove method_exists() check for getLogoPath().
The check is no longer needed after bringing upstream changes from trunk. Co-Authored-By: Claude Opus 4.6 <[email protected]>
1 parent 408d5c4 commit 5abc91e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp-includes/connectors.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function _wp_connectors_init(): void {
183183

184184
$name = $provider_metadata->getName();
185185
$description = $provider_metadata->getDescription();
186-
$logo_url = method_exists( $provider_metadata, 'getLogoPath' ) && $provider_metadata->getLogoPath()
186+
$logo_url = $provider_metadata->getLogoPath()
187187
? _wp_connectors_resolve_ai_provider_logo_url( $provider_metadata->getLogoPath() )
188188
: null;
189189

0 commit comments

Comments
 (0)