[wp-trac] [WordPress Trac] #65223: Connectors plugin install flow does not show filesystem credentials form when FTP is required

WordPress Trac noreply at wordpress.org
Tue May 12 16:25:20 UTC 2026


#65223: Connectors plugin install flow does not show filesystem credentials form
when FTP is required
-------------------------------------+-------------------------------------
 Reporter:  ekamran                  |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  AI                       |    Version:  trunk
 Severity:  normal                   |   Keywords:  needs-patch has-test-
  Focuses:  javascript,              |  info
  administration                     |
-------------------------------------+-------------------------------------
 When installing a connector plugin from Settings > Connectors on a site
 that requires filesystem credentials, the install attempt fails with a
 generic notice instead of showing the standard "Connection Information"
 filesystem credentials form.

 The regular Plugins > Add Plugin installer shows the credentials form
 correctly for the same plugin in the same environment.

 == Steps to Reproduce ==
 1. Install WordPress 7.0-RC3.
 2. Log in as an administrator.
 3. Force filesystem credentials, for example by setting FS_METHOD to
 ftpext in wp-config.php.
 4. Ensure the AI plugin is installed and active.
 5. Ensure one connector provider plugin is not installed, for example ai-
 provider-for-anthropic.
 6. Go to Settings > Connectors.
 7. Click Install for Anthropic.

 == Actual Results ==
 The page stays on Settings > Connectors and shows a generic notice:

 {{{
 Failed to install plugin for Anthropic.
 }}}

 No filesystem credentials modal is shown.

 == Expected Results ==
 The Connectors install flow should surface the standard WordPress
 "Connection Information" modal so the administrator can enter FTP
 credentials, matching the behavior of Plugins > Add Plugin.

 == Control Test ==
 Using the same environment and the same plugin:

 1. Go to Plugins > Add Plugin.
 2. Search for ai-provider-for-anthropic.
 3. Click Install Now.

 This correctly opens the "Connection Information" dialog with Hostname,
 FTP Username, FTP Password, and Connection Type fields.

 == Environment ==
 WordPress: 7.0-RC3
 AI plugin: 0.9.0
 Connector tested: AI Provider for Anthropic 1.0.2
 Filesystem method: ftpext
 Environment: Local Docker wp-env

 == Notes ==
 This appears to affect the Connectors page install flow that uses the REST
 plugin save flow. The standard plugin installer handles the filesystem
 credentials case correctly, so this may need special handling in the
 Connectors install action.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/65223>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list