This recommended release drops support for versions of WP older than 5.5, prevents translations from including unintended markup, verifies compatibility through WP 6.8+ and PHP 8.3+, and a few more minor changes.
- Change: Remove code supporting versions of WP older than 5.5
- Change: Escape output of all translated strings
- Change: Discontinue explicit and unnecessary loading of textdomain
- Change: Remove
is_wp_55_or_later() - Change: Sanitize the plugin's setting value
- New: Add
sanitize_boolean() - Change: Note compatibility through WP 6.8+
- Change: Drop compatiblity with versions of WP older than 5.5
- Change: Confirm compatiblity through PHP 8.3+
- Change: Shorten plugin description in plugin header and readme.txt
- Fix: Fix typo in 'Author URI' plugin header value
- Change: Update copyright date (2025)
- Unit tests:
- Change: Explicitly define return type for overridden method
- Change: Delete tests for removed back-compatibility
- Change: Note compatibility through WP 6.6+
- Change: Update copyright date (2024)
- Change: Reduce number of 'Tags' in readme.txt
- Change: Remove development and testing related files from release packaging
- Unit tests:
- Hardening: Prevent direct web access to
bootstrap.php - Change: In bootstrap, store path to plugin file constant
- Change: In bootstrap, add backcompat for PHPUnit pre-v6.0
- Hardening: Prevent direct web access to
- Change: Note compatibility through WP 6.3+
- Change: Update copyright date (2023)
- Change: Add link to DEVELOPER-DOCS.md in README.md
- New: Add
.gitignorefile - Unit tests:
- Fix: Allow tests to run against current versions of WordPress
- New: Add
composer.jsonfor PHPUnit Polyfill dependency - Change: Prevent PHP warnings due to missing core-related generated files
This minor release refactors some code, extracts developer docs out from readme and into new DEVELOPER-DOCS.md, restructures unit test files, and notes compatibility through WP 5.7.
- Change: Refactor some code to prevent code duplication
- Change: Check if the plugin's main class exists before defining it
- Change: Note compatibility through WP 5.7+
- Change: Correct documentation regarding the
c2c_wpuntexturize_convert_curly_quotesfilter - Change: Update copyright date (2021)
- New: Add DEVELOPER-DOCS.md and move hooks documentation into it
- Unit tests:
- Change: Restructure unit test directories and files into new
tests/top-level directory- Change: Move
phpunit/bin/intotests/ - Change: Move
phpunit/bootstrap.phpintotests/ - Change: In bootstrap, store path to plugin file constant so its value can be used within that file and in test file
- Change: Move
phpunit/tests/*.phpintotests/phpunit/tests/ - Change: Remove 'test-' prefix from unit test file
- Change: Move
- Fix: Fix test that expected a deprecation notice that wasn't going to happen
- New: Add test for
allowed_options()that expects a deprecation notice if WP < 5.5
- Change: Restructure unit test directories and files into new
- Change: Tweak formatting for older readme.txt changelog entries
- New: Add a few more possible TODO items
This minor release mirrors and handles some WP 5.5 terminology changes for inclusion, restructures the unit test file structure, adds a TODO.md file, and notes compatibility through WP 5.5+.
- Change: Escape settings name before being output as HTML attribute (hardening)
- Change: Rename
whitelist_options()toallowed_options() - Change: Handle renamings that took place in WP 5.5
- New: Add
is_wp_55_or_later()for determining if the site is WP 5.5 or later - Change: Hook
allowed_optionsinstead ofwhitelist_optionsfor WP 5.5+ - Change: Call
add_allowed_options()instead ofadd_option_whitelist()for WP 5.5+
- New: Add
- Change: Convert storage of setting name from private class variable to a class constant
- New: Add TODO.md for newly added potential TODO items
- Change: Restructure unit test file structure
- New: Create new subdirectory
phpunit/to house all files related to unit testing - Change: Move
bin/tophpunit/bin/ - Change: Move
tests/bootstrap.phptophpunit/ - Change: Move
tests/tophpunit/tests/ - Change: Rename
phpunit.xmltophpunit.xml.distper best practices
- New: Create new subdirectory
- Change: Note compatibility through WP 5.5+
- Unit tests:
- New: Add test for setting name
- New: Add test for
whitelist_options() - Change: Rearrange, label the group, enhance, and expand tests for
initialize_setting()
Recommended update that reverts an ill-advised change in default behavior added in v1.7 that automatically converted existing curly quotation marks into their non-curly alternatives. This behavior is now disabled by default, but can be optionally enabled on the Settings -> Reading admin page via the checkbox labeled "Convert existing curly quotes in posts to their non-curly alternatives".
Additionally, much of the plugin's code has been reorganized, the long-deprecated wpuntexturize() has been removed, a few URLs were updated to be HTTPS, and compatibility through WP 5.4+ has been noted.
- Change: Revert default uncurling of native curly quotes and make it an optional behavior controlled by new setting
- New: Add setting to Settings -> Reading page
- New: Add "Settings" link to plugin's action links in admin listing of plugins
- New: Add
initialize_setting(),whitelist_options(),display_option(),should_convert_native_quotes(),plugin_action_links() - Change: Switch default for converting native curly quotes to false
- Change: Update plugin description and documentation to reflect new behavior
- New: Add class
c2c_wpuntexturizeto encapsulate new (largely admin-related) and existing functionality- New: Add
version(),init()
- New: Add
- Change: Extract logic for determining if native curly quotes should be handled into
should_convert_native_quotes() - Change: Extract code for getting the list of replacements into
get_replacements() - Change: Remove function
c2c_init_wpuntexturize()(its functionality added toinit()) - Change: Remove function
c2c_wpuntexturize_get_default_filters()(moved to class functionget_default_filters()) - Change: Remove deprecated function
wpuntexturize()and its associated filterwpuntexturize - Change: Use HTTPS for link to WP SVN repository in bin script for configuring unit tests
- Change: Note compatibility through WP 5.4+
- Change: Update links to coffee2code.com to be HTTPS
- Change: Unit tests: Remove unnecessary unregistering of hooks, and thus
tearDown() - New: Add a screenshot
- Change: Note compatibility through WP 5.3+
- Change: Use full URL for readme.txt link to full changelog
- Change: Update copyright date (2020)
- New: Convert native curly quotation marks to their non-curly alternatives
- New: Add filter
c2c_wpuntexturize_convert_curly_quotesto allow disabling of conversion of native curly quotes - New: Untexturize three recently introduced core filters:
get_the_post_type_description,the_post_thumbnail_caption,widget_text_content - New: Add CHANGELOG.md and move all but most recent changelog entries into it
- Change: Update unit test install script and bootstrap to use latest WP unit test repo
- Change: Note compatibility through WP 5.2+
- Fix: Correct typo in GitHub URL
- Change: Modify formatting of hook name in readme to prevent being uppercased when shown in the Plugin Directory
- Change: Split paragraph in README.md's "Support" section into two
- Change: Remove extra space character between some sentences
- New: Add inline documentation for hooks
- Change: Rename readme.txt section from 'Filters' to 'Hooks'
- Change: Note compatibility through WP 5.1+
- Change: Update copyright date (2019)
- Change: Update License URI to be HTTPS
- New: Add README.md
- Change: Add GitHub link to readme
- Change: Minor readme tweak regarding suggested location for custom code
- Change: Note compatibility through WP 4.9+
- Change: Update copyright date (2018)
- Change: Minor whitespace tweaks in unit test bootstrap
- New: Add LICENSE file.
- Change: Enable more error ourput for unit tests.
- Change: Default
WP_TESTS_DIRto/tmp/wordpress-tests-librather than erroring out if not defined via environment variable. - Change: Note compatibility through WP 4.7+.
- Change: Update copyright date (2017).
- New: Add filter
c2c_wpuntexturize_replacementsfor customizing the replacements. - New: Convert single low 9 quotation mark (
‚) to single quote'. - New: Convert double low 9 quotation mark (
„) to double quote". - New: Add 'Text Domain' to plugin header.
- Change: Prevent web invocation of unit test bootstrap.php.
- Change: Tweak installation instructions.
- Change: Note compatibility through WP 4.6+.
- Add: Untexturize newly introduced core filter
the_excerpt_embed. - Change: Note compatibility through WP 4.4+.
- Change: Explicitly declare methods in unit tests as public.
- Change: Update copyright date (2016).
- Add: Create empty index.php to prevent files from being listed if web server has enabled directory listings.
- Bugfix:
c2c_wpuntexturizehook should be a filter and not an action - Update: Correct documentation regarding
c2c_wpuntexturizehook - Update: Add more unit tests for indirect hook invocation method
- Update: Add inline documentation to readme code example
- Update: Note compatibility through WP 4.3+
- Note compatibility through WP 4.1+
- Update copyright date (2015)
- Die early if script is directly invoked
- Remove unnecessary function from unit tests
- Minor plugin header reformatting
- Change documentation links to wp.org to be https
- Note compatibility through WP 4.0+
- Add plugin icon
- Add
c2c_wpuntexturize_get_default_filters()and changec2c_init_wpuntexturize()to use it - Add unit tests
- Minor code formatting tweak (add curly braces)
- Note compatibility through WP 3.8+
- Update copyright date (2014)
- Change donate link
- Note compatibility through WP 3.5+
- Update copyright date (2013)
- Re-license as GPLv2 or later (from X11)
- Add 'License' and 'License URI' header tags to readme.txt and plugin file
- Add banner image for plugin page
- Remove ending PHP close tag
- Minor code reformatting (indentation)
- Miscellaneous readme.txt changes
- Note compatibility through WP 3.4+
- Note compatibility through WP 3.3+
- Minor code formatting (spacing)
- Add link to plugin directory page to readme.txt
- Update copyright date (2012)
- Note compatibility through WP 3.2+
- Fix plugin homepage and author links in description in readme.txt
- Rename
wpuntexturize()toc2c_wpuntexturize()(but maintain a deprecated version for backwards compatibility) - Add link to plugin homepage in readme.txt description
- Note compatibility through WP 3.1+
- Update copyright date (2011)
- Fix two bugs (missing close parenthesis and typo)
- Rename
wpuntexturizefilter towpuntexturize_filtersto more accurately reflect its purpose (and to prevent conflict for new use of the filter name) - Add filter
wpuntexturizeso that users can use thedo_action('wpuntexturize')notation for invoking the function - Add
c2c_init_wpuntexturize()to handle initialization - Remove docs from top of plugin file (all that and more are in readme.txt)
- Add Filters section to readme.txt
- Allow filtering of the list of filters to be untexturized, via
wpuntexturizefilter - Now unfilter everything that wptexturize is applied to by default, which now includes these filters:
comment_author,term_name,link_name,link_description,link_notes,bloginfo,wp_title,widget_title,single_cat_title,single_tag_title,single_month_title,nav_menu_attr_title,nav_menu_description,term_description - Wrap functions in
function_exists()check to be safe - Note compatibility with WP 3.0+
- Add Upgrade Notice section to readme.txt
- Convert
′and″back to single and double quotes, respectively - Add PHPDoc documentation
- Update readme.txt changelog with info from earlier releases
- Now also filter widget_text
- Note compatibility with WP 2.9+
- Update readme.txt (including adding Changelog)
- Modify core code to consolidate multiple
str_replace()calls into one - Change description
- Add extended description, installation instructions, and compatibility note
- Change from BSD license to GPL
- Update copyright date and version to 1.0
- Add readme.txt
- Tested compatibility with WP 2.3.3 and 2.5
- Add missing untexturization of
”
- Initial release
