devgeniem / wp-sanitize-accented-uploads

Replaces accents from future uploads and includes wp-cli command which you can use to sanitize current content.
MIT License
26 stars 6 forks source link

Refactor Sanitize_Command::replace_content() in order to have better unittest coverage #1

Open onnimonni opened 8 years ago

onnimonni commented 8 years ago

This plugin should test wp-cli integration more thoroughly. In order to have better unittests Sanitize_Command::replace_content() should be factored into smaller parts for example: site_replace_content() replace_attachments() replace_attachment()