Skip to content

Commit 9ef4106

Browse files
Copilotswissspidy
andcommitted
Add clarifying comment about WordPress slug sanitization in test
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com>
1 parent 09ecad9 commit 9ef4106

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

features/media-import.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,7 @@ Feature: Manage WordPress attachments
314314
"""
315315
my-image-png
316316
"""
317+
# Note: WordPress sanitizes the post_name (slug) by converting dots to hyphens
317318

318319
Scenario: Fail to import from STDIN when no input provided
319320
When I try `wp media import - </dev/null`

0 commit comments

Comments
 (0)