- Hardening: Prevent unsafe markup from being output
- Update widget base class to v006:
- Hardening: Prevent unsafe markup from being output
- Change: Include version number in class name to ensure use of expected version
- Change: Move PHPCS-related inline comments with their associated
phpcs:ignorecomments
- Fix: Use correct textdomain for a string translation
- Change: Note compatibility through WP 6.8+
- Change: Note compatibility through PHP 8.3+
- Change: Update copyright date (2025)
- Unit tests:
- Change: Remove vestiges of testing for now-removed
linkify_posts() - Change: Explicitly define return type for overridden methods
- Change: Remove vestiges of testing for now-removed
This recommended release features improvements to widget implementation, adds some hardening measures, notes compatibility through WP 6.6+, removes unit tests from release packaging, updates copyright date (2024), and other code improvements and minor changes.
- Widget:
- New: Extract base widget functionality common amongst my Linkify family of plugins into reusable base class
- Change: Define a default 'none' message so that something is shown when no categories are specified
- Change: Improve spacing in block editor around widget input field help text
- New: Add
get_config()to retrieve configuration - Hardening: Escape some variables prior to being output
- New: Add unit tests
- Change: Update version to 005
- New: Extract code for creating link to post's archive into new
__c2c_linkify_posts_get_post_link() - Change: Add default values for optional arguments to inline parameter documentation
- Change: Note compatibility through WP 6.6+
- Change: Prevent unwarranted PHPCS complaints about unescaped output (HTML is allowed)
- Change: Add inline comment for translators
- Change: Update copyright date (2024)
- Change: Reduce number of 'Tags' from
readme.txt - Change: Remove development and testing-related files from release packaging
- Hardening: Unit tests: Prevent direct web access to
bootstrap.php - New: Add some potential TODO items
- Fix: Fix a typo in documentation
- Change: Note compatibility through WP 6.3+
- Change: Update copyright date (2023)
- New: Add
.gitignorefile - Unit tests:
- 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 removes support for the long-deprecated linkify_post_ids(), adds DEVELOPER-DOCS.md, notes compatibility through WP 5.8+, and minor reorganization and tweaks to unit tests.
- Change: Remove long-deprecated function
linkify_post_ids() - New: Add DEVELOPER-DOCS.md and move template tag and hooks documentation into it
- Change: Tweak installation instruction
- Change: Note compatibility through WP 5.8+
- Unit tests:
- Change: Restructure unit test directories
- Change: Move
phpunit/intotests/phpunit/ - Change: Move
phpunit/bin/intotests/
- Change: Move
- Change: Remove 'test-' prefix from unit test file
- Change: In bootstrap, store path to plugin file constant
- Change: In bootstrap, add backcompat for PHPUnit pre-v6.0
- Change: Restructure unit test directories
- Change: Add textdomain for lone non-widget string
- Change: Fix Markdown formatting for code examples in readme.txt
- Change: Note compatibility through WP 5.7+
- Change: Update copyright date (2021)
- New: Add a few more possible TODO items
- New: Add TODO.md and move existing TODO list from top of main plugin file into it (and add another item)
- 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+
- 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: Update examples in documentation to use a proper example URL
- 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.3+
- Change: Update copyright date (2020)
- Change: Split paragraph in README.md's "Support" section into two
- New: Add README.md
- Change: Escape URL before use in attribute (hardening)
- Change: Add GitHub link to readme
- Change: Unit tests: Minor whitespace tweaks to bootstrap
- Change: Rename readme.txt section from 'Filters' to 'Hooks'
- Change: Modify formatting of hook name in readme to prevent being uppercased when shown in the Plugin Directory
- Change: Note compatibility through WP 5.1+
- Change: Update copyright date (2019)
- Change: Update License URI to be HTTPS
- Fix: Fix unit tests by not declaring test class variable as static
- Change: Update unit test bootstrap
- Default
WP_TESTS_DIRto/tmp/wordpress-tests-librather than erroring out if not defined via environment variable - Enable more error output for unit tests
- Default
- Change: Note compatibility through WP 4.7+
- Change: Minor readme.txt content and formatting tweaks
- Change: Update copyright date (2017)
- Change: Update widget to 004:
- Add
register_widget()and change to calling it when hooking 'admin_init'. - Add
version()to return the widget's version. - Reformat config array.
- Discontinue use of old-style constructor.
- Add inline docs for class variables.
- Late-escape attribute values.
- Reorder some conditional expressions.
- Add
- Change: Explicitly declare methods in unit tests as public or protected.
- Change: Fix and simplify unit tests. Add tests for widget.
- New: Add 'Text Domain' to plugin header.
- New: Add LICENSE file.
- New: Add empty index.php to prevent files from being listed if web server has enabled directory listings.
- Change: Use
DIRECTORY_SEPARATORin place of '/' when requiring widget file. - Change: Note compatibility through WP 4.4+.
- Change: Update copyright date (2016).
- Update: Discontinue use of PHP4-style constructor invocation of WP_Widget to prevent PHP notices in PHP7
- Update: Minor widget header reformatting
- Update: Minor widget file code tweaks (spacing, bracing)
- Update: Minor inline document tweaks (spacing)
- Note compatibility through WP 4.3+
- Note compatibility through WP 4.1+
- Update copyright date (2015)
- Minor plugin header reformatting
- Change donate link
- Change documentation links to wp.org to be https
- Note compatibility through WP 4.0+
- Add plugin icon
- Validate post is either int or string before handling
- Add unit tests
- Minor code tweaks (spacing, bracing)
- Minor documentation tweaks
- Note compatibility through WP 3.8+
- Update copyright date (2014)
- Change donate link
- Add banner
- Add check to prevent execution of code if file is directly accessed
- Note compatibility through WP 3.5+
- Update copyright date (2013)
- Create repo's WP.org assets directory
- Move screenshot into repo's assets directory
- Re-license as GPLv2 or later (from X11)
- Add 'License' and 'License URI' header tags to readme.txt and plugin file
- Remove ending PHP close tag
- Note compatibility through WP 3.4+
- Note compatibility through WP 3.3+
- Add link to plugin directory page to readme.txt
- Update copyright date (2012)
- Note compatibility through WP 3.2+
- Minor code formatting changes (spacing)
- Fix plugin homepage and author links in description in readme.txt
- Add Linkify Posts widget
- Note compatibility through WP 3.1+
- Add Screenshots and Frequently Asked Questions sections to readme.txt
- Add screenshot of widget admin
- Update copyright date (2011)
- Change tags in readme.txt
- Rename plugin from 'Linkify Post IDs' to 'Linkify Posts'
- Rename
linkify_post_ids()toc2c_linkify_posts()(but maintain a deprecated version for backwards compatibility) - Rename
linkify_post_idsfilter toc2c_linkify_posts(no backwards compatibility support since v1.5 was never released) - Allow linkifying posts specified by slug (in addition to existing support for posts specified by ID)
- Change description
- Drop support for version of WP older than 2.8
- Add filter
linkify_post_idsto respond to the function of the same name so that users can use thedo_action()notation for invoking template tags - Fix to prevent PHP notice
- Wrap function in
if(!function_exists())check - Reverse order of
implode()arguments - Remove docs from top of plugin file (all that and more are in readme.txt)
- Add package info to top of plugin file
- Add PHPDoc documentation
- Note compatibility with WP 2.8+, 2.9+, 3.0+
- Minor tweaks to code formatting (spacing)
- Add Changelog, Filters, and Upgrade Notice sections to readme.txt
- Update copyright date
- Remove trailing whitespace
- Initial release