Skip to content

Fix deleting a site by a slug that is an integer - #444

Merged
swissspidy merged 1 commit into
wp-cli:mainfrom
shawnhooper:441-delete-site-by-slug
Nov 16, 2023
Merged

Fix deleting a site by a slug that is an integer#444
swissspidy merged 1 commit into
wp-cli:mainfrom
shawnhooper:441-delete-site-by-slug

Conversation

@shawnhooper

Copy link
Copy Markdown
Contributor

Fixes: #441

Calls get_id_from_blogname to look up the slug before calling get_blog_details. This lookup works with slugs that are made up of strings or integers.

@shawnhooper
shawnhooper requested a review from a team as a code owner November 14, 2023 20:51
@swissspidy swissspidy added this to the 2.5.7 milestone Nov 15, 2023
@swissspidy
swissspidy merged commit 3f7c916 into wp-cli:main Nov 16, 2023
@shawnhooper
shawnhooper deleted the 441-delete-site-by-slug branch November 16, 2023 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants