WordPress.org

Plugin Directory

Changeset 1814312


Ignore:
Timestamp:
02/02/18 17:25:10 (2 weeks ago)
Author:
coffee2code
Message:

Release v1.1.1:

  • New: Add README.md
  • Change: Minor tweak to plugin description
  • Change: Minor whitespace changes to unit test bootstrap
  • Change: Add GitHub link to readme
  • Change: Note compatibility through WP 4.9+
  • Change: Update copyright date (2018)
Location:
always-allow-admin-comments
Files:
2 added
4 edited
10 copied

Legend:

Unmodified
Added
Removed
  • always-allow-admin-comments/tags/1.1.1/always-allow-admin-comments.php

    r1590507 r1814312  
    22/** 
    33 * Plugin Name: Always Allow Admin Comments 
    4  * Version:     1.1 
     4 * Version:     1.1.1 
    55 * Plugin URI:  http://coffee2code.com/wp-plugins/admin-can-always-comment/ 
    66 * Author:      Scott Reilly 
     
    99 * License:     GPLv2 or later 
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    11  * Description: An admin user (when logged in) will always be able to comment on a post, even if the post's comments are closed. 
     11 * Description: Allow an admin user (when logged in) to always be able to comment on a post, even if the post's comments are closed. 
    1212 * 
    13  * Compatible with WordPress 4.6+ through 4.7+. 
     13 * Compatible with WordPress 4.6+ through 4.9+. 
    1414 * 
    1515 * =>> Read the accompanying readme.txt file for instructions and documentation. 
     
    1919 * @package Always_Allow_Admin_Comments 
    2020 * @author  Scott Reilly 
    21  * @version 1.1 
     21 * @version 1.1.1 
    2222 */ 
    2323 
     
    3030 
    3131/* 
    32     Copyright (c) 2013-2017 by Scott Reilly (aka coffee2code) 
     32    Copyright (c) 2013-2018 by Scott Reilly (aka coffee2code) 
    3333 
    3434    This program is free software; you can redistribute it and/or 
     
    8787     */ 
    8888    public static function version() { 
    89         return '1.1'; 
     89        return '1.1.1'; 
    9090    } 
    9191 
  • always-allow-admin-comments/tags/1.1.1/readme.txt

    r1590507 r1814312  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    77Requires at least: 4.6 
    8 Tested up to: 4.7 
    9 Stable tag: 1.1 
     8Tested up to: 4.9 
     9Stable tag: 1.1.1 
    1010 
    11 An admin user (when logged in) will always be able to comment on a post, even if the post's comments are closed. 
     11Allow an admin user (when logged in) to always be able to comment on a post, even if the post's comments are closed. 
    1212 
    1313== Description == 
     
    2020* Programmatically, via the use of the 'c2c_admin_can_always_comment_disable' filter. This can be used be provide more fine-grained access control and contextual handling. See the "Other Notes" section for documentation on the filter's use. 
    2121 
    22 Links: [Plugin Homepage](http://coffee2code.com/wp-plugins/always-allow-admin-comments/) | [Plugin Directory Page](https://wordpress.org/plugins/always-allow-admin-comments/) | [Author Homepage](http://coffee2code.com) 
     22Links: [Plugin Homepage](http://coffee2code.com/wp-plugins/always-allow-admin-comments/) | [Plugin Directory Page](https://wordpress.org/plugins/always-allow-admin-comments/) | [GitHub](https://github.com/coffe2code/always-allow-admin-comments/) [Author Homepage](http://coffee2code.com) 
    2323 
    2424 
     
    8787== Changelog == 
    8888 
     89= 1.1.1 (2017-11-07) = 
     90* New: Add README.md 
     91* Change: Minor tweak to plugin description 
     92* Change: Minor whitespace changes to unit test bootstrap 
     93* Change: Add GitHub link to readme 
     94* Change: Note compatibility through WP 4.9+ 
     95* Change: Update copyright date (2018) 
     96 
    8997= 1.1 (2017-01-23) = 
    9098* Change: Register meta field via `register_meta()`. 
     
    106114== Upgrade Notice == 
    107115 
     116= 1.1.1 = 
     117Trivial update: noted compatibility through WP 4.9+, added README.md for GitHub, and updated copyright date (2018). 
     118 
    108119= 1.1 = 
    109120Minor update: register meta field via `register_meta()` (but do not show in REST API), noted compatibility through WP 4.7+, dropped compatibility with versions of WP older than 4.6, and updated copyright date 
  • always-allow-admin-comments/tags/1.1.1/tests/bootstrap.php

    r1590507 r1814312  
    66 */ 
    77 
    8 ini_set('display_errors','on'); 
    9 error_reporting(E_ALL); 
     8ini_set( 'display_errors', 'on' ); 
     9error_reporting( E_ALL ); 
    1010 
    1111$_tests_dir = getenv( 'WP_TESTS_DIR' ); 
    1212if ( ! $_tests_dir ) { 
    13         $_tests_dir = '/tmp/wordpress-tests-lib'; 
     13    $_tests_dir = '/tmp/wordpress-tests-lib'; 
    1414} 
    1515 
     
    2121 */ 
    2222function _manually_load_plugin() { 
    23         require dirname( dirname( __FILE__ ) ) . '/always-allow-admin-comments.php'; 
     23    require dirname( dirname( __FILE__ ) ) . '/always-allow-admin-comments.php'; 
    2424} 
    2525tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); 
  • always-allow-admin-comments/tags/1.1.1/tests/test-always-allow-admin-comments.php

    r1590507 r1814312  
    6969 
    7070    public function test_version() { 
    71         $this->assertEquals( '1.1', c2c_AlwaysAllowAdminComments::get_instance()->version() ); 
     71        $this->assertEquals( '1.1.1', c2c_AlwaysAllowAdminComments::get_instance()->version() ); 
    7272    } 
    7373 
  • always-allow-admin-comments/trunk/always-allow-admin-comments.php

    r1590507 r1814312  
    22/** 
    33 * Plugin Name: Always Allow Admin Comments 
    4  * Version:     1.1 
     4 * Version:     1.1.1 
    55 * Plugin URI:  http://coffee2code.com/wp-plugins/admin-can-always-comment/ 
    66 * Author:      Scott Reilly 
     
    99 * License:     GPLv2 or later 
    1010 * License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    11  * Description: An admin user (when logged in) will always be able to comment on a post, even if the post's comments are closed. 
     11 * Description: Allow an admin user (when logged in) to always be able to comment on a post, even if the post's comments are closed. 
    1212 * 
    13  * Compatible with WordPress 4.6+ through 4.7+. 
     13 * Compatible with WordPress 4.6+ through 4.9+. 
    1414 * 
    1515 * =>> Read the accompanying readme.txt file for instructions and documentation. 
     
    1919 * @package Always_Allow_Admin_Comments 
    2020 * @author  Scott Reilly 
    21  * @version 1.1 
     21 * @version 1.1.1 
    2222 */ 
    2323 
     
    3030 
    3131/* 
    32     Copyright (c) 2013-2017 by Scott Reilly (aka coffee2code) 
     32    Copyright (c) 2013-2018 by Scott Reilly (aka coffee2code) 
    3333 
    3434    This program is free software; you can redistribute it and/or 
     
    8787     */ 
    8888    public static function version() { 
    89         return '1.1'; 
     89        return '1.1.1'; 
    9090    } 
    9191 
  • always-allow-admin-comments/trunk/readme.txt

    r1590507 r1814312  
    66License URI: http://www.gnu.org/licenses/gpl-2.0.html 
    77Requires at least: 4.6 
    8 Tested up to: 4.7 
    9 Stable tag: 1.1 
     8Tested up to: 4.9 
     9Stable tag: 1.1.1 
    1010 
    11 An admin user (when logged in) will always be able to comment on a post, even if the post's comments are closed. 
     11Allow an admin user (when logged in) to always be able to comment on a post, even if the post's comments are closed. 
    1212 
    1313== Description == 
     
    2020* Programmatically, via the use of the 'c2c_admin_can_always_comment_disable' filter. This can be used be provide more fine-grained access control and contextual handling. See the "Other Notes" section for documentation on the filter's use. 
    2121 
    22 Links: [Plugin Homepage](http://coffee2code.com/wp-plugins/always-allow-admin-comments/) | [Plugin Directory Page](https://wordpress.org/plugins/always-allow-admin-comments/) | [Author Homepage](http://coffee2code.com) 
     22Links: [Plugin Homepage](http://coffee2code.com/wp-plugins/always-allow-admin-comments/) | [Plugin Directory Page](https://wordpress.org/plugins/always-allow-admin-comments/) | [GitHub](https://github.com/coffe2code/always-allow-admin-comments/) [Author Homepage](http://coffee2code.com) 
    2323 
    2424 
     
    8787== Changelog == 
    8888 
     89= 1.1.1 (2017-11-07) = 
     90* New: Add README.md 
     91* Change: Minor tweak to plugin description 
     92* Change: Minor whitespace changes to unit test bootstrap 
     93* Change: Add GitHub link to readme 
     94* Change: Note compatibility through WP 4.9+ 
     95* Change: Update copyright date (2018) 
     96 
    8997= 1.1 (2017-01-23) = 
    9098* Change: Register meta field via `register_meta()`. 
     
    106114== Upgrade Notice == 
    107115 
     116= 1.1.1 = 
     117Trivial update: noted compatibility through WP 4.9+, added README.md for GitHub, and updated copyright date (2018). 
     118 
    108119= 1.1 = 
    109120Minor update: register meta field via `register_meta()` (but do not show in REST API), noted compatibility through WP 4.7+, dropped compatibility with versions of WP older than 4.6, and updated copyright date 
  • always-allow-admin-comments/trunk/tests/bootstrap.php

    r1590507 r1814312  
    66 */ 
    77 
    8 ini_set('display_errors','on'); 
    9 error_reporting(E_ALL); 
     8ini_set( 'display_errors', 'on' ); 
     9error_reporting( E_ALL ); 
    1010 
    1111$_tests_dir = getenv( 'WP_TESTS_DIR' ); 
    1212if ( ! $_tests_dir ) { 
    13         $_tests_dir = '/tmp/wordpress-tests-lib'; 
     13    $_tests_dir = '/tmp/wordpress-tests-lib'; 
    1414} 
    1515 
     
    2121 */ 
    2222function _manually_load_plugin() { 
    23         require dirname( dirname( __FILE__ ) ) . '/always-allow-admin-comments.php'; 
     23    require dirname( dirname( __FILE__ ) ) . '/always-allow-admin-comments.php'; 
    2424} 
    2525tests_add_filter( 'muplugins_loaded', '_manually_load_plugin' ); 
  • always-allow-admin-comments/trunk/tests/test-always-allow-admin-comments.php

    r1590507 r1814312  
    6969 
    7070    public function test_version() { 
    71         $this->assertEquals( '1.1', c2c_AlwaysAllowAdminComments::get_instance()->version() ); 
     71        $this->assertEquals( '1.1.1', c2c_AlwaysAllowAdminComments::get_instance()->version() ); 
    7272    } 
    7373 
Note: See TracChangeset for help on using the changeset viewer.