WordPress.org

Plugin Directory

Changeset 1609063


Ignore:
Timestamp:
03/06/17 22:56:11 (3 weeks ago)
Author:
coffee2code
Message:

Release v2.4.1:

  • 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: Change description
  • Change: Minor readme.txt content and formatting tweaks
  • Change: Update copyright date (2017)
  • New: Add LICENSE file
Location:
commenter-emails
Files:
2 added
6 edited
3 copied

Legend:

Unmodified
Added
Removed
  • commenter-emails/tags/2.4.1/commenter-emails.php

    r1395950 r1609063  
    22/** 
    33 * Plugin Name: Commenter Emails 
    4  * Version:     2.4 
     4 * Version:     2.4.1 
    55 * Plugin URI:  http://coffee2code.com/wp-plugins/commenter-emails/ 
    66 * Author:      Scott Reilly 
     
    99 * License:     GPLv2 or later 
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    11  * Description: Extract a listing of all commenter emails. 
     11 * Description: Extract a listing of data for all commenters (email addresses, names, URLs), and an option to export that data as a CSV file. 
    1212 * 
    13  * Compatible with WordPress 4.1+ through 4.5+. 
     13 * Compatible with WordPress 4.1+ through 4.7+. 
    1414 * 
    1515 * =>> Read the accompanying readme.txt file for instructions and documentation. 
     
    1919 * @package Commenter_Emails 
    2020 * @author  Scott Reilly 
    21  * @version 2.4 
     21 * @version 2.4.1 
    2222 */ 
    2323 
     
    2525 * TODO: 
    2626 * - Handle large number of commenters (page listing?) 
     27 * - Move settings page export setting from Help panel to Screen Options panel 
    2728 */ 
    2829 
    2930/* 
    30     Copyright (c) 2007-2016 by Scott Reilly (aka coffee2code) 
     31    Copyright (c) 2007-2017 by Scott Reilly (aka coffee2code) 
    3132 
    3233    This program is free software; you can redistribute it and/or 
     
    9697     */ 
    9798    public static function version() { 
    98         return '2.4'; 
     99        return '2.4.1'; 
    99100    } 
    100101 
  • commenter-emails/tags/2.4.1/readme.txt

    r1395950 r1609063  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    77Requires at least: 4.1 
    8 Tested up to: 4.5 
    9 Stable tag: 2.4 
    10  
    11 Extract a listing of all commenter emails. 
     8Tested up to: 4.7 
     9Stable tag: 2.4.1 
     10 
     11Extract a listing of data for all commenters (email addresses, names, URLs), and an option to export that data as a CSV file. 
    1212 
    1313 
    1414== Description == 
    1515 
    16 Via the admin page added by the plugin, `Comments -> Commenter Emails`, the admin is presented with the following information: 
    17  
    18 * A total count of all unique commenters to the blog 
    19 * The entire list of unique commenters' email addresses, names, and provided website URLs 
     16Via the admin page added by the plugin, `Comments -> Commenter Emails`, admin users are presented with the following information: 
     17 
     18* A total count of all unique commenters to the site 
     19* The entire list of each unique commenters' email addresses, names, and provided website URLs 
    2020* A button to download the entire list of unique commenters' email addresses (and, optionally, their website URL) in CSV (comma-separated values) format 
    2121 
     
    2727== Installation == 
    2828 
    29 1. Unzip `commenter-emails.zip` inside the `/wp-content/plugins/` directory (or install via the built-in WordPress plugin installer) 
    30 1. Activate the plugin through the 'Plugins' admin menu in WordPress 
    31 1. View the commenter email information reported in the WordPress admin via `Comments -> Commenter Emails` 
     291. Install via the built-in WordPress plugin installer. Or download and unzip `commenter-emails.zip` inside the plugins directory for your site (typically `wp-content/plugins/`) 
     302. Activate the plugin through the 'Plugins' admin menu in WordPress 
     313. View the commenter email information reported in the WordPress admin via `Comments -> Commenter Emails` 
    3232 
    3333 
     
    4040== Filters == 
    4141 
    42 The plugin exposes six filters for hooking. Typically, customizations utilizing these hooks would be put into your active theme's functions.php file, or used by another plugin. 
     42The plugin exposes six filters for hooking. Code using these filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). Less ideally, you could put them in your active theme's functions.php file. 
    4343 
    4444= c2c_commenter_emails_show_csv_button (filter) = 
     
    168168 
    169169== Changelog == 
     170 
     171= 2.4.1 (2017-02-28) = 
     172* Change: Update unit test bootstrap 
     173    * Default `WP_TESTS_DIR` to `/tmp/wordpress-tests-lib` rather than erroring out if not defined via environment variable 
     174    * Enable more error output for unit tests 
     175* Change: Note compatibility through WP 4.7+ 
     176* Change: Change description 
     177* Change: Minor readme.txt content and formatting tweaks 
     178* Change: Update copyright date (2017) 
     179* New: Add LICENSE file 
    170180 
    171181= 2.4 (2016-01-29) = 
     
    304314== Upgrade Notice == 
    305315 
     316= 2.4.1 = 
     317Trivial update: noted compatibility through WP 4.7+, updated copyright date (2017), minor unit test adjustments 
     318 
    306319= 2.4 = 
    307320Feature update: added ability to list commenter info for only select posts; improved support for localization; verified compatibility through WP 4.4; removed compatibility with WP earlier than 4.1; updated copyright date (2016) 
  • commenter-emails/tags/2.4.1/tests/bootstrap.php

    r1114954 r1609063  
    11<?php 
     2/** 
     3 * PHPUnit bootstrap file 
     4 * 
     5 * @package Commenter_Emails 
     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__ ) . '/../commenter-emails.php'; 
     23        require dirname( dirname( __FILE__ ) ) . '/commenter-emails.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'; 
  • commenter-emails/tags/2.4.1/tests/test-commenter-emails.php

    r1339515 r1609063  
    6666 
    6767    public function test_version() { 
    68         $this->assertEquals( '2.4', c2c_CommenterEmails::version() ); 
     68        $this->assertEquals( '2.4.1', c2c_CommenterEmails::version() ); 
    6969    } 
    7070 
  • commenter-emails/trunk/commenter-emails.php

    r1395950 r1609063  
    22/** 
    33 * Plugin Name: Commenter Emails 
    4  * Version:     2.4 
     4 * Version:     2.4.1 
    55 * Plugin URI:  http://coffee2code.com/wp-plugins/commenter-emails/ 
    66 * Author:      Scott Reilly 
     
    99 * License:     GPLv2 or later 
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    11  * Description: Extract a listing of all commenter emails. 
     11 * Description: Extract a listing of data for all commenters (email addresses, names, URLs), and an option to export that data as a CSV file. 
    1212 * 
    13  * Compatible with WordPress 4.1+ through 4.5+. 
     13 * Compatible with WordPress 4.1+ through 4.7+. 
    1414 * 
    1515 * =>> Read the accompanying readme.txt file for instructions and documentation. 
     
    1919 * @package Commenter_Emails 
    2020 * @author  Scott Reilly 
    21  * @version 2.4 
     21 * @version 2.4.1 
    2222 */ 
    2323 
     
    2525 * TODO: 
    2626 * - Handle large number of commenters (page listing?) 
     27 * - Move settings page export setting from Help panel to Screen Options panel 
    2728 */ 
    2829 
    2930/* 
    30     Copyright (c) 2007-2016 by Scott Reilly (aka coffee2code) 
     31    Copyright (c) 2007-2017 by Scott Reilly (aka coffee2code) 
    3132 
    3233    This program is free software; you can redistribute it and/or 
     
    9697     */ 
    9798    public static function version() { 
    98         return '2.4'; 
     99        return '2.4.1'; 
    99100    } 
    100101 
  • commenter-emails/trunk/readme.txt

    r1395950 r1609063  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    77Requires at least: 4.1 
    8 Tested up to: 4.5 
    9 Stable tag: 2.4 
    10  
    11 Extract a listing of all commenter emails. 
     8Tested up to: 4.7 
     9Stable tag: 2.4.1 
     10 
     11Extract a listing of data for all commenters (email addresses, names, URLs), and an option to export that data as a CSV file. 
    1212 
    1313 
    1414== Description == 
    1515 
    16 Via the admin page added by the plugin, `Comments -> Commenter Emails`, the admin is presented with the following information: 
    17  
    18 * A total count of all unique commenters to the blog 
    19 * The entire list of unique commenters' email addresses, names, and provided website URLs 
     16Via the admin page added by the plugin, `Comments -> Commenter Emails`, admin users are presented with the following information: 
     17 
     18* A total count of all unique commenters to the site 
     19* The entire list of each unique commenters' email addresses, names, and provided website URLs 
    2020* A button to download the entire list of unique commenters' email addresses (and, optionally, their website URL) in CSV (comma-separated values) format 
    2121 
     
    2727== Installation == 
    2828 
    29 1. Unzip `commenter-emails.zip` inside the `/wp-content/plugins/` directory (or install via the built-in WordPress plugin installer) 
    30 1. Activate the plugin through the 'Plugins' admin menu in WordPress 
    31 1. View the commenter email information reported in the WordPress admin via `Comments -> Commenter Emails` 
     291. Install via the built-in WordPress plugin installer. Or download and unzip `commenter-emails.zip` inside the plugins directory for your site (typically `wp-content/plugins/`) 
     302. Activate the plugin through the 'Plugins' admin menu in WordPress 
     313. View the commenter email information reported in the WordPress admin via `Comments -> Commenter Emails` 
    3232 
    3333 
     
    4040== Filters == 
    4141 
    42 The plugin exposes six filters for hooking. Typically, customizations utilizing these hooks would be put into your active theme's functions.php file, or used by another plugin. 
     42The plugin exposes six filters for hooking. Code using these filters should ideally be put into a mu-plugin or site-specific plugin (which is beyond the scope of this readme to explain). Less ideally, you could put them in your active theme's functions.php file. 
    4343 
    4444= c2c_commenter_emails_show_csv_button (filter) = 
     
    168168 
    169169== Changelog == 
     170 
     171= 2.4.1 (2017-02-28) = 
     172* Change: Update unit test bootstrap 
     173    * Default `WP_TESTS_DIR` to `/tmp/wordpress-tests-lib` rather than erroring out if not defined via environment variable 
     174    * Enable more error output for unit tests 
     175* Change: Note compatibility through WP 4.7+ 
     176* Change: Change description 
     177* Change: Minor readme.txt content and formatting tweaks 
     178* Change: Update copyright date (2017) 
     179* New: Add LICENSE file 
    170180 
    171181= 2.4 (2016-01-29) = 
     
    304314== Upgrade Notice == 
    305315 
     316= 2.4.1 = 
     317Trivial update: noted compatibility through WP 4.7+, updated copyright date (2017), minor unit test adjustments 
     318 
    306319= 2.4 = 
    307320Feature update: added ability to list commenter info for only select posts; improved support for localization; verified compatibility through WP 4.4; removed compatibility with WP earlier than 4.1; updated copyright date (2016) 
  • commenter-emails/trunk/tests/bootstrap.php

    r1114954 r1609063  
    11<?php 
     2/** 
     3 * PHPUnit bootstrap file 
     4 * 
     5 * @package Commenter_Emails 
     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__ ) . '/../commenter-emails.php'; 
     23        require dirname( dirname( __FILE__ ) ) . '/commenter-emails.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'; 
  • commenter-emails/trunk/tests/test-commenter-emails.php

    r1339515 r1609063  
    6666 
    6767    public function test_version() { 
    68         $this->assertEquals( '2.4', c2c_CommenterEmails::version() ); 
     68        $this->assertEquals( '2.4.1', c2c_CommenterEmails::version() ); 
    6969    } 
    7070 
Note: See TracChangeset for help on using the changeset viewer.