Skip to content

Remove duplicate entry#1

Merged
soderlind merged 2 commits intomainfrom
020
Mar 26, 2026
Merged

Remove duplicate entry#1
soderlind merged 2 commits intomainfrom
020

Conversation

@soderlind
Copy link
Copy Markdown
Owner

This pull request releases version 0.2.0 of the AI Router plugin, focusing on removing duplicate connector registrations and improving documentation and metadata. The update ensures that only a single AI Router entry appears in the Settings → Connectors page and introduces GitHub issue templates. Additionally, all relevant version numbers and changelogs are updated to reflect the new release.

Release and Documentation Updates:

  • Bump version numbers to 0.2.0 in ai-router.php, package.json, and readme.txt to reflect the new release. [1] [2] [3] [4]
  • Update changelogs in CHANGELOG.md and readme.txt with details for version 0.2.0, including the fix for duplicate connector entries and the addition of GitHub issue templates. [1] [2] [3]

Bug Fixes:

  • Remove duplicate PHP connector registration so only one AI Router entry appears in Settings → Connectors by deleting the register_connector method and its associated action in src/Router.php. [1] [2]

Maintenance:

  • Update build asset version in build/connectors.asset.php for cache busting.
  • Update contributor metadata in readme.txt.

Testing:

  • Update PHPUnit cache to reflect the latest test results.

The JavaScript registerConnector() already handles the UI.
The wpai_pre_has_valid_credentials_check filter handles credential detection.
The sync_connector_option() still sets the sentinel for additional compatibility.
@soderlind soderlind merged commit e24f1d7 into main Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant