{"id":5686,"date":"2009-06-12T04:23:36","date_gmt":"2009-06-12T04:23:36","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/linkify-authors\/"},"modified":"2025-04-25T15:22:47","modified_gmt":"2025-04-25T15:22:47","slug":"linkify-authors","status":"publish","type":"plugin","link":"https:\/\/ewe.wordpress.org\/plugins\/linkify-authors\/","author":3606,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.5","stable_tag":"2.5","tested":"6.8.5","requires":"3.3","requires_php":"","requires_plugins":null,"header_name":"Linkify Authors","header_author":"Scott Reilly","header_description":"","assets_banners_color":"288ab1","last_updated":"2025-04-25 15:22:47","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=6ARCFJ9TX3522","header_plugin_uri":"https:\/\/coffee2code.com\/wp-plugins\/linkify-authors\/","header_author_uri":"https:\/\/coffee2code.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":6176,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq"],"tags":{"1.0":{"tag":"1.0","author":"coffee2code","date":"2009-06-12 04:23:36"},"1.1":{"tag":"1.1","author":"coffee2code","date":"2010-01-06 20:07:39"},"1.2":{"tag":"1.2","author":"coffee2code","date":"2010-08-28 14:52:55"},"2.0":{"tag":"2.0","author":"coffee2code","date":"2011-02-24 22:10:51"},"2.0.1":{"tag":"2.0.1","author":"coffee2code","date":"2011-06-22 02:36:46"},"2.0.2":{"tag":"2.0.2","author":"coffee2code","date":"2011-12-06 05:08:05"},"2.0.3":{"tag":"2.0.3","author":"coffee2code","date":"2012-06-04 05:14:59"},"2.0.4":{"tag":"2.0.4","author":"coffee2code","date":"2012-12-10 18:37:45"},"2.1":{"tag":"2.1","author":"coffee2code","date":"2013-12-21 07:04:39"},"2.1.1":{"tag":"2.1.1","author":"coffee2code","date":"2014-08-27 06:06:36"},"2.1.2":{"tag":"2.1.2","author":"coffee2code","date":"2015-02-12 07:33:46"},"2.1.3":{"tag":"2.1.3","author":"coffee2code","date":"2015-08-13 06:17:46"},"2.2":{"tag":"2.2","author":"coffee2code","date":"2016-04-14 20:15:54"},"2.2.1":{"tag":"2.2.1","author":"coffee2code","date":"2017-03-06 18:47:22"},"2.2.2":{"tag":"2.2.2","author":"coffee2code","date":"2019-03-08 05:44:56"},"2.2.3":{"tag":"2.2.3","author":"coffee2code","date":"2019-11-26 07:12:42"},"2.2.4":{"tag":"2.2.4","author":"coffee2code","date":"2020-05-07 05:51:09"},"2.2.5":{"tag":"2.2.5","author":"coffee2code","date":"2020-08-17 06:20:05"},"2.2.6":{"tag":"2.2.6","author":"coffee2code","date":"2021-04-27 07:02:06"},"2.3":{"tag":"2.3","author":"coffee2code","date":"2021-10-17 06:58:23"},"2.3.1":{"tag":"2.3.1","author":"coffee2code","date":"2023-08-22 22:18:52"},"2.4":{"tag":"2.4","author":"coffee2code","date":"2024-08-15 19:24:37"},"2.5":{"tag":"2.5","author":"coffee2code","date":"2025-04-25 15:22:47"}},"upgrade_notice":{"2.5":"<p>Recommended update: prevented unsafe markup from being output, versioned widget base class to prevent potential use of incompatible version, noted compatibility through WP 6.8+ and PHP 8.3+, and updated copyright date (2025)<\/p>","2.4":"<p>Recommended update: improved widget implementation, added some hardening measures, noted compatibility through WP 6.6+, removed unit tests from release packaging, updated copyright date (2024), and other code improvements and minor changes.<\/p>","2.3.1":"<p>Trivial update: noted compatibility through WP 6.3+, updated unit tests to run against latest WordPress, fixed some typos in inline documentation, and updated copyright date (2023)<\/p>","2.3":"<p>Minor update: removed support for long-deprecated <code>linkify_authors()<\/code>, added DEVELOPER-DOCS.md, noted compatibility through WP 5.8+, and minor reorganization and tweaks to unit tests<\/p>","2.2.6":"<p>Trivial update: noted compatibility through WP 5.7+ and updated copyright date (2021).<\/p>","2.2.5":"<p>Trivial update: Restructured unit test file structure, added a TODO.md file, and noted compatibility through WP 5.5+.<\/p>","2.2.4":"<p>Trivial update: Updated a few URLs to be HTTPS and noted compatibility through WP 5.4+.<\/p>","2.2.3":"<p>Trivial update: modernized unit tests, created CHANGELOG.md to store historical changelog outside of readme.txt, noted compatibility through WP 5.3+, and updated copyright date (2020)<\/p>","2.2.2":"<p>Trivial update: noted compatibility through WP 5.1+ and updated copyright date (2019)<\/p>","2.2.1":"<p>Trivial update: fixed some unit tests, noted compatibility through WP 4.7+, updated copyright date (2017)<\/p>","2.2":"<p>Minor update: minor updates to widget code and unit tests; verified compatibility through WP 4.4; updated copyright date (2016).<\/p>","2.1.3":"<p>Bugfix update: Prevented PHP notice under PHP7+ for widget; noted compatibility through WP 4.3+<\/p>","2.1.2":"<p>Trivial update: noted compatibility through WP 4.1+ and updated copyright date<\/p>","2.1.1":"<p>Trivial update: noted compatibility through WP 4.0+; added plugin icon.<\/p>","2.1":"<p>Moderate update: fallback failed user_login check to user_nicename; better validate data received; added unit tests; noted compatibility through WP 3.8+<\/p>","2.0.4":"<p>Trivial update: noted compatibility through WP 3.5+<\/p>","2.0.3":"<p>Trivial update: noted compatibility through WP 3.4+; explicitly stated license<\/p>","2.0.2":"<p>Trivial update: noted compatibility through WP 3.3+ and minor readme.txt tweaks<\/p>","2.0.1":"<p>Trivial update: noted compatibility through WP 3.2+ and minor code formatting changes (spacing)<\/p>","2.0":"<p>Feature update: added widget, deprecated <code>linkify_authors()<\/code> in favor of <code>c2c_linkify_authors()<\/code>, renamed action from &#039;linkify_authors&#039; to &#039;c2c_linkify_authors&#039;, noted compatibility with WP 3.1+, added Template Tags and FAQ sections to readme, and updated copyright date (2011).<\/p>","1.2":"<p>Minor update. Highlights: switched away from use of deprecated function; added filter to allow alternative safe invocation of function; verified WP 3.0 compatibility.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":973754,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":826463,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","2.0","2.0.1","2.0.2","2.0.3","2.0.4","2.1","2.1.1","2.1.2","2.1.3","2.2","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6","2.3","2.3.1","2.4","2.5"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":636442,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"The plugin's widget configuration."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[3621,132,537,7871,162],"plugin_category":[43],"plugin_contributors":[78189],"plugin_business_model":[],"class_list":["post-5686","plugin","type-plugin","status-publish","hentry","plugin_tags-archives","plugin_tags-author","plugin_tags-link","plugin_tags-linkify","plugin_tags-widget","plugin_category-customization","plugin_contributors-coffee2code","plugin_committers-coffee2code"],"banners":{"banner":"https:\/\/ps.w.org\/linkify-authors\/assets\/banner-772x250.png?rev=826463","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/linkify-authors\/assets\/icon-128x128.png?rev=973754","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/linkify-authors\/assets\/screenshot-1.png?rev=636442","caption":"The plugin's widget configuration."}],"raw_content":"<!--section=description-->\n<p>The plugin provides a widget called \"Linkify Authors\" as well as a template tag, <code>c2c_linkify_authors()<\/code>, which allow you to easily specify authors to list and how to list them. Authors are specified by either ID or slug. Each link will point to the post archive for each user. See other parts of the documentation for example usage and capabilities.<\/p>\n\n<p>Links: <a href=\"https:\/\/coffee2code.com\/wp-plugins\/linkify-authors\/\">Plugin Homepage<\/a> | <a href=\"https:\/\/wordpress.org\/plugins\/linkify-authors\/\">Plugin Directory Page<\/a> | <a href=\"https:\/\/github.com\/coffee2code\/linkify-authors\/\">GitHub<\/a> | <a href=\"https:\/\/coffee2code.com\">Author Homepage<\/a><\/p>\n\n<h3>Developer Documentation<\/h3>\n\n<p>Developer documentation can be found in <a href=\"https:\/\/github.com\/coffee2code\/linkify-authors\/blob\/master\/DEVELOPER-DOCS.md\">DEVELOPER-DOCS.md<\/a>. That documentation covers the template tag and hook provided by the plugin.<\/p>\n\n<p>As an overview, this is the template tag provided by the plugin:<\/p>\n\n<ul>\n<li><code>c2c_linkify_authors()<\/code> : Display links to each of any number of authors specified via author IDs\/slugs. You can customize text to show before and\/or after the entire listing, between each author, and what to display (if anything) when no authors are listed.<\/li>\n<\/ul>\n\n<p>This is the hook provided by the plugin:<\/p>\n\n<ul>\n<li><code>c2c_linkify_authors<\/code> : Allows use of an alternative approach to safely invoke <code>c2c_linkify_authors()<\/code> in such a way that if the plugin were deactivated or deleted, then your calls to the function won't cause errors in your site.<\/li>\n<\/ul>\n\n<h3>2.5 _(2025-04-24)_<\/h3>\n\n<ul>\n<li>Hardening: Prevent unsafe markup from being output<\/li>\n<li>Update widget base class to v006:\n\n<ul>\n<li>Hardening: Prevent unsafe markup from being output<\/li>\n<li>Change: Include version number in class name to prevent using older version<\/li>\n<li>Change: Move PHPCS-related inline comment with the associated <code>phpcs:ignore<\/code> comment<\/li>\n<\/ul><\/li>\n<li>Change: Note compatibility through WP 6.8+<\/li>\n<li>Change: Note compatibility through PHP 8.3+<\/li>\n<li>Change: Update copyright date (2025)<\/li>\n<li>Unit tests:\n\n<ul>\n<li>Change: Remove vestiges of testing for now-removed <code>linkify_authors()<\/code><\/li>\n<li>Change: Explicitly define return type for overridden methods<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<h4>2.4 (2024-08-15)<\/h4>\n\n<p>Highlights:<\/p>\n\n<p>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.<\/p>\n\n<p>Details:<\/p>\n\n<ul>\n<li>Widget:\n\n<ul>\n<li>New: Extract base widget functionality common amongst my Linkify family of plugins into reusable base class<\/li>\n<li>Change: Define a default 'none' message so that something is shown when no authors are specified<\/li>\n<li>Change: Improve spacing in block editor around widget input field help text<\/li>\n<li>New: Add <code>get_config()<\/code> to retrieve configuration<\/li>\n<li>New: Add unit tests<\/li>\n<li>Change: Update version to 005<\/li>\n<\/ul><\/li>\n<li>New: Extract code for creating link to author's post archive into new <code>__c2c_linkify_authors_get_author_link()<\/code><\/li>\n<li>Hardening: Escape some variables prior to being output<\/li>\n<li>Change: Tweak descriptions to clarify that the links are to each author's post archive<\/li>\n<li>Change: Add default values for optional arguments to inline parameter documentation<\/li>\n<li>Change: Note compatibility through WP 6.6+<\/li>\n<li>Change: Prevent unwarranted PHPCS complaints about unescaped output (HTML is allowed)<\/li>\n<li>Change: Update copyright date (2024)<\/li>\n<li>Change: Reduce number of 'Tags' from <code>readme.txt<\/code><\/li>\n<li>Change: Remove development and testing-related files from release packaging<\/li>\n<li>Hardening: Unit tests: Prevent direct web access to <code>bootstrap.php<\/code><\/li>\n<li>New: Add some potential TODO items<\/li>\n<\/ul>\n\n<h4>2.3.1 (2023-08-22)<\/h4>\n\n<ul>\n<li>Fix: Fix some typos in documentation<\/li>\n<li>Change: Note compatibility through WP 6.3+<\/li>\n<li>Change: Update copyright date (2023)<\/li>\n<li>New: Add <code>.gitignore<\/code> file<\/li>\n<li>Unit tests:\n\n<ul>\n<li>Allow tests to run against current versions of WordPress<\/li>\n<li>New: Add <code>composer.json<\/code> for PHPUnit Polyfill dependency<\/li>\n<li>Change: Prevent PHP warnings due to missing core-related generated files<\/li>\n<\/ul><\/li>\n<\/ul>\n\n<p><em>Full changelog is available in <a href=\"https:\/\/github.com\/coffee2code\/linkify-authors\/blob\/master\/CHANGELOG.md\">CHANGELOG.md<\/a>.<\/em><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Install via the built-in WordPress plugin installer. Or install the plugin code inside the plugins directory for your site (typically <code>\/wp-content\/plugins\/<\/code>).<\/li>\n<li>Activate the plugin through the 'Plugins' admin menu in WordPress<\/li>\n<li>Use the provided widget or the <code>c2c_linkify_authors()<\/code> template tag in one of your templates (be sure to pass it at least the first argument indicating what author IDs and\/or slugs to linkify -- the argument can be an array, a space-separate list, or a comma-separated list). Other optional arguments are available to customize the output.<\/li>\n<li>Optional: Use the \"Linkify Authors\" widget in one of the sidebars provided by your theme.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20happens%20if%20i%20tell%20it%20to%20list%20something%20that%20i%20have%20mistyped%2C%20haven%27t%20created%20yet%2C%20or%20have%20deleted%3F'><h3>What happens if I tell it to list something that I have mistyped, haven't created yet, or have deleted?<\/h3><\/dt>\n<dd><p>If a given ID\/slug doesn't match up with an existing author then that item is ignored without error.<\/p><\/dd>\n<dt id='how%20do%20i%20get%20items%20to%20appear%20as%20a%20list%20%28using%20html%20tags%29%3F'><h3>How do I get items to appear as a list (using HTML tags)?<\/h3><\/dt>\n<dd><p>Whether you use the template tag or the widget, specify the following information for the appropriate fields\/arguments:<\/p>\n\n<p>Before text: <code>&lt;ul&gt;&lt;li&gt;<\/code> (or <code>&lt;ol&gt;&lt;li&gt;<\/code>)\nAfter text: <code>&lt;\/li&gt;&lt;\/ul&gt;<\/code> (or <code>&lt;\/li&gt;&lt;\/ol&gt;<\/code>)\nBetween authors: <code>&lt;\/li&gt;&lt;li&gt;<\/code><\/p><\/dd>\n<dt id='does%20this%20plugin%20have%20unit%20tests%3F'><h3>Does this plugin have unit tests?<\/h3><\/dt>\n<dd><p>Yes. The tests are not packaged in the release .zip file or included in plugins.svn.wordpress.org, but can be found in the <a href=\"https:\/\/github.com\/coffee2code\/linkify-authors\/\">plugin's GitHub repository<\/a>.<\/p><\/dd>\n\n<\/dl>","raw_excerpt":"Turn a string, list, or array of author IDs and\/or slugs into a list of links to the post archive for each author. Provides a widget and template tag.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/5686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"author":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/users\/3606"}],"replies":[{"embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=5686"}],"wp:attachment":[{"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=5686"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=5686"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=5686"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=5686"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=5686"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ewe.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=5686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}