WordPress.org

Plugin Directory

Changeset 1608917


Ignore:
Timestamp:
03/06/17 18:47:22 (5 months ago)
Author:
coffee2code
Message:

Release v2.2.1:

  • Fix: Fix unit tests by not declaring test class variable as static
  • Change: Update unit test bootstrap
    • Default WP_TESTS_DIR to /tmp/wordpress-tests-lib rather than erroring out if not defined via environment variable
    • Enable more error output for unit tests
  • Change: Note compatibility through WP 4.7+
  • Change: Minor readme.txt content and formatting tweaks
  • Change: Update copyright date (2017)
Location:
linkify-authors
Files:
6 edited
7 copied

Legend:

Unmodified
Added
Removed
  • linkify-authors/tags/2.2.1/linkify-authors.php

    r1395896 r1608917  
    22/** 
    33 * Plugin Name: Linkify Authors 
    4  * Version:     2.2 
     4 * Version:     2.2.1 
    55 * Plugin URI:  http://coffee2code.com/wp-plugins/linkify-authors/ 
    66 * Author:      Scott Reilly 
     
    1111 * Description: Turn a string, list, or array of author IDs and/or slugs into a list of links to those authors. Includes widget and template tag. 
    1212 * 
    13  * Compatible with WordPress 3.3 through 4.5+. 
     13 * Compatible with WordPress 3.3 through 4.7+. 
    1414 * 
    1515 * =>> Read the accompanying readme.txt file for instructions and documentation. 
     
    1919 * @package Linkify_Authors 
    2020 * @author  Scott Reilly 
    21  * @version 2.2 
     21 * @version 2.2.1 
    2222 */ 
    2323 
    2424/* 
    25     Copyright (c) 2009-2016 by Scott Reilly (aka coffee2code) 
     25    Copyright (c) 2009-2017 by Scott Reilly (aka coffee2code) 
    2626 
    2727    This program is free software; you can redistribute it and/or 
  • linkify-authors/tags/2.2.1/linkify-authors.widget.php

    r1374812 r1608917  
    33 * Linkify Authors plugin widget code 
    44 * 
    5  * Copyright (c) 2011-2016 by Scott Reilly (aka coffee2code) 
     5 * Copyright (c) 2011-2017 by Scott Reilly (aka coffee2code) 
    66 * 
    77 * @package Linkify_Authors_Widget 
  • linkify-authors/tags/2.2.1/readme.txt

    r1395896 r1608917  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    77Requires at least: 3.3 
    8 Tested up to: 4.5 
    9 Stable tag: 2.2 
    10  
    11 Turn a string, list, or array of author IDs and/or slugs into a list of links to those authors. Includes widget and template tag. 
     8Tested up to: 4.7 
     9Stable tag: 2.2.1 
     10 
     11Turn a string, list, or array of author IDs and/or slugs into a list of links to those authors. Provides a widget and template tag. 
    1212 
    1313 
    1414== Description == 
    1515 
    16 The plugin provides a widget called "Linkify Authors" as well as a template tag, `c2c_linkify_authors()`, which allow you to easily specify authors to list and how to list them.  Authors are specified by either ID or slug. See other parts of the documentation for example usage and capabilities. 
     16The plugin provides a widget called "Linkify Authors" as well as a template tag, `c2c_linkify_authors()`, which allow you to easily specify authors to list and how to list them. Authors are specified by either ID or slug. See other parts of the documentation for example usage and capabilities. 
    1717 
    1818Links: [Plugin Homepage](http://coffee2code.com/wp-plugins/linkify-authors/) | [Plugin Directory Page](https://wordpress.org/plugins/linkify-authors/) | [Author Homepage](http://coffee2code.com) 
     
    2121== Installation == 
    2222 
    23 1. Unzip `linkify-authors.zip` inside the `/wp-content/plugins/` directory for your site (or install via the built-in WordPress plugin installer) 
    24 1. Activate the plugin through the 'Plugins' admin menu in WordPress 
    25 1. Use the provided widget or the `c2c_linkify_authors()` 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. 
     231. Install via the built-in WordPress plugin installer. Or download and unzip `linkify-authors.zip` inside the plugins directory for your site (typically `wp-content/plugins/`) 
     242. Activate the plugin through the 'Plugins' admin menu in WordPress 
     253. Use the provided widget or the `c2c_linkify_authors()` 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. 
    2626 
    2727 
     
    154154 
    155155== Changelog == 
     156 
     157= 2.2.1 (2017-02-24) = 
     158* Fix: Fix unit tests by not declaring test class variable as static 
     159* Change: Update unit test bootstrap 
     160    * Default `WP_TESTS_DIR` to `/tmp/wordpress-tests-lib` rather than erroring out if not defined via environment variable 
     161    * Enable more error output for unit tests 
     162* Change: Note compatibility through WP 4.7+ 
     163* Change: Minor readme.txt content and formatting tweaks 
     164* Change: Update copyright date (2017) 
    156165 
    157166= 2.2 (2016-03-11) = 
     
    263272== Upgrade Notice == 
    264273 
     274= 2.2.1 = 
     275Trivial update: fixed some unit tests, noted compatibility through WP 4.7+, updated copyright date 
     276 
    265277= 2.2 = 
    266278Minor update: minor updates to widget code and unit tests; verified compatibility through WP 4.4; updated copyright date (2016). 
  • linkify-authors/tags/2.2.1/tests/bootstrap.php

    r826463 r1608917  
    11<?php 
     2/** 
     3 * PHPUnit bootstrap file 
     4 * 
     5 * @package Linkify_Authors 
     6 */ 
    27 
    3 require_once getenv( 'WP_TESTS_DIR' ) . '/includes/functions.php'; 
     8ini_set('display_errors','on'); 
     9error_reporting(E_ALL); 
    410 
     11$_tests_dir = getenv( 'WP_TESTS_DIR' ); 
     12if ( ! $_tests_dir ) { 
     13        $_tests_dir = '/tmp/wordpress-tests-lib'; 
     14} 
     15 
     16// Give access to tests_add_filter() function. 
     17require_once $_tests_dir . '/includes/functions.php'; 
     18 
     19/** 
     20 * Manually load the plugin being tested. 
     21 */ 
    522function _manually_load_plugin() { 
    6     require dirname( __FILE__ ) . '/../linkify-authors.php'; 
     23        require dirname( dirname( __FILE__ ) ) . '/linkify-authors.php'; 
    724} 
    825tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); 
    926 
    10 require getenv( 'WP_TESTS_DIR' ) . '/includes/bootstrap.php'; 
     27// Start up the WP testing environment. 
     28require $_tests_dir . '/includes/bootstrap.php'; 
  • linkify-authors/tags/2.2.1/tests/test-linkify-authors.php

    r1374812 r1608917  
    55class Linkify_Authors_Test extends WP_UnitTestCase { 
    66 
    7     private static $user_ids = array(); 
     7    private $user_ids = array(); 
    88 
    99    public function setUp() { 
  • linkify-authors/trunk/linkify-authors.php

    r1395896 r1608917  
    22/** 
    33 * Plugin Name: Linkify Authors 
    4  * Version:     2.2 
     4 * Version:     2.2.1 
    55 * Plugin URI:  http://coffee2code.com/wp-plugins/linkify-authors/ 
    66 * Author:      Scott Reilly 
     
    1111 * Description: Turn a string, list, or array of author IDs and/or slugs into a list of links to those authors. Includes widget and template tag. 
    1212 * 
    13  * Compatible with WordPress 3.3 through 4.5+. 
     13 * Compatible with WordPress 3.3 through 4.7+. 
    1414 * 
    1515 * =>> Read the accompanying readme.txt file for instructions and documentation. 
     
    1919 * @package Linkify_Authors 
    2020 * @author  Scott Reilly 
    21  * @version 2.2 
     21 * @version 2.2.1 
    2222 */ 
    2323 
    2424/* 
    25     Copyright (c) 2009-2016 by Scott Reilly (aka coffee2code) 
     25    Copyright (c) 2009-2017 by Scott Reilly (aka coffee2code) 
    2626 
    2727    This program is free software; you can redistribute it and/or 
  • linkify-authors/trunk/linkify-authors.widget.php

    r1374812 r1608917  
    33 * Linkify Authors plugin widget code 
    44 * 
    5  * Copyright (c) 2011-2016 by Scott Reilly (aka coffee2code) 
     5 * Copyright (c) 2011-2017 by Scott Reilly (aka coffee2code) 
    66 * 
    77 * @package Linkify_Authors_Widget 
  • linkify-authors/trunk/readme.txt

    r1395896 r1608917  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    77Requires at least: 3.3 
    8 Tested up to: 4.5 
    9 Stable tag: 2.2 
    10  
    11 Turn a string, list, or array of author IDs and/or slugs into a list of links to those authors. Includes widget and template tag. 
     8Tested up to: 4.7 
     9Stable tag: 2.2.1 
     10 
     11Turn a string, list, or array of author IDs and/or slugs into a list of links to those authors. Provides a widget and template tag. 
    1212 
    1313 
    1414== Description == 
    1515 
    16 The plugin provides a widget called "Linkify Authors" as well as a template tag, `c2c_linkify_authors()`, which allow you to easily specify authors to list and how to list them.  Authors are specified by either ID or slug. See other parts of the documentation for example usage and capabilities. 
     16The plugin provides a widget called "Linkify Authors" as well as a template tag, `c2c_linkify_authors()`, which allow you to easily specify authors to list and how to list them. Authors are specified by either ID or slug. See other parts of the documentation for example usage and capabilities. 
    1717 
    1818Links: [Plugin Homepage](http://coffee2code.com/wp-plugins/linkify-authors/) | [Plugin Directory Page](https://wordpress.org/plugins/linkify-authors/) | [Author Homepage](http://coffee2code.com) 
     
    2121== Installation == 
    2222 
    23 1. Unzip `linkify-authors.zip` inside the `/wp-content/plugins/` directory for your site (or install via the built-in WordPress plugin installer) 
    24 1. Activate the plugin through the 'Plugins' admin menu in WordPress 
    25 1. Use the provided widget or the `c2c_linkify_authors()` 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. 
     231. Install via the built-in WordPress plugin installer. Or download and unzip `linkify-authors.zip` inside the plugins directory for your site (typically `wp-content/plugins/`) 
     242. Activate the plugin through the 'Plugins' admin menu in WordPress 
     253. Use the provided widget or the `c2c_linkify_authors()` 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. 
    2626 
    2727 
     
    154154 
    155155== Changelog == 
     156 
     157= 2.2.1 (2017-02-24) = 
     158* Fix: Fix unit tests by not declaring test class variable as static 
     159* Change: Update unit test bootstrap 
     160    * Default `WP_TESTS_DIR` to `/tmp/wordpress-tests-lib` rather than erroring out if not defined via environment variable 
     161    * Enable more error output for unit tests 
     162* Change: Note compatibility through WP 4.7+ 
     163* Change: Minor readme.txt content and formatting tweaks 
     164* Change: Update copyright date (2017) 
    156165 
    157166= 2.2 (2016-03-11) = 
     
    263272== Upgrade Notice == 
    264273 
     274= 2.2.1 = 
     275Trivial update: fixed some unit tests, noted compatibility through WP 4.7+, updated copyright date 
     276 
    265277= 2.2 = 
    266278Minor update: minor updates to widget code and unit tests; verified compatibility through WP 4.4; updated copyright date (2016). 
  • linkify-authors/trunk/tests/bootstrap.php

    r826463 r1608917  
    11<?php 
     2/** 
     3 * PHPUnit bootstrap file 
     4 * 
     5 * @package Linkify_Authors 
     6 */ 
    27 
    3 require_once getenv( 'WP_TESTS_DIR' ) . '/includes/functions.php'; 
     8ini_set('display_errors','on'); 
     9error_reporting(E_ALL); 
    410 
     11$_tests_dir = getenv( 'WP_TESTS_DIR' ); 
     12if ( ! $_tests_dir ) { 
     13        $_tests_dir = '/tmp/wordpress-tests-lib'; 
     14} 
     15 
     16// Give access to tests_add_filter() function. 
     17require_once $_tests_dir . '/includes/functions.php'; 
     18 
     19/** 
     20 * Manually load the plugin being tested. 
     21 */ 
    522function _manually_load_plugin() { 
    6     require dirname( __FILE__ ) . '/../linkify-authors.php'; 
     23        require dirname( dirname( __FILE__ ) ) . '/linkify-authors.php'; 
    724} 
    825tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); 
    926 
    10 require getenv( 'WP_TESTS_DIR' ) . '/includes/bootstrap.php'; 
     27// Start up the WP testing environment. 
     28require $_tests_dir . '/includes/bootstrap.php'; 
  • linkify-authors/trunk/tests/test-linkify-authors.php

    r1374812 r1608917  
    55class Linkify_Authors_Test extends WP_UnitTestCase { 
    66 
    7     private static $user_ids = array(); 
     7    private $user_ids = array(); 
    88 
    99    public function setUp() { 
Note: See TracChangeset for help on using the changeset viewer.