Plugin Directory

Changeset 1748059


Ignore:
Timestamp:
10/17/2017 03:33:14 PM (8 years ago)
Author:
dangub86
Message:

Release 1.0.4, see readme.txt for the changelog.

Location:
admin-notices-for-team
Files:
384 added
8 edited
1 copied

Legend:

Unmodified
Added
Removed
  • admin-notices-for-team/tags/1.0.4/README.txt

    r1710078 r1748059  
    55Requires at least: 4.0
    66Tested up to: 4.8
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2525To install the plugin you can use the classic method from Wordpress Repository directly from your backend or you can:
    2626
    27 1. Unzip the plugin file
    28 2. Upload the folder ‘ant-admin-notice-team’ and its contents to the ‘wp-content/plugins/’ directory
     271. Download the plugin zip file and unzip it
     282. Rename the unzipped folder to “admin-notices-for-team” and Upload it via ftp in ‘wp-content/plugins/’ directory
    29293. Activate the plugin through the 'Plugins' menu in WordPress
    3030
     
    4747== Changelog ==
    4848
     49= 1.0.4 =
     50
     51* Fixed bug with showing notices just published
     52* Fixed bug with showing notices when select an author group and deselect it
     53
    4954= 1.0.3 =
    5055
     
    6065* Now showing all users in meta box Target Authors
    6166* Add feature: add target Author groups with default groups based on roles
    62 * Add feature: target more users in order to create custom groups 
     67* Add feature: target more users in order to create custom groups
    6368
    6469= 1.0.1 =
     
    8186== Upgrade Notice ==
    8287
     88= 1.0.4 =
     89
     90* Fixed bugs with showing notices.
     91
    8392= 1.0.3 =
    8493
     
    96105
    97106* First version of the plugin. No Updates available yet.
    98 
  • admin-notices-for-team/tags/1.0.4/admin/class-ant_admin_notices_team-admin.php

    r1710078 r1748059  
    14871487                    (
    14881488                        (
    1489                                 $authorOptions == "All"
     1489                                ( $authorOptions == "All" || empty($authorOptions) )
    14901490                                && empty($authorOptionGroups)
    1491                           && ( !isset($authorCustomGroups) || in_array("No Users Selected", $authorCustomGroups) )
     1491                          && ( empty($authorCustomGroups) || in_array("No Users Selected", $authorCustomGroups) )
    14921492                        )
    14931493                          ||  ( $authorOptions == $current_user->display_name)
    1494                         ||  in_array($current_user->display_name, $authorOptionGroups)
    1495                         ||  in_array($current_user->display_name, $authorCustomGroups)
     1494                                                    ||  in_array($current_user->display_name, $authorOptionGroups)
     1495                            ||  in_array($current_user->display_name, $authorCustomGroups)
    14961496                    )
    14971497                 && ( $ant_dismiss != "dismissed" )
     
    15891589
    15901590        $custom_css = "
    1591        
     1591
    15921592                .ant-notice {
    15931593                        width: {$width}{$unit};
    15941594                        margin-left: {$margin}% !important;
    1595                        
     1595
    15961596                }";
    15971597
     
    16141614                                   .wrap div.ant-notice, div.ant-notice {
    16151615                                          position: static;
    1616                                           display: inline-block;                         
     1616                                          display: inline-block;
    16171617                            }";
    16181618                     }
     
    16201620                         if ( $options_design['toggle-custom-style'] == 'enabled' ) {
    16211621                         $custom_css .= "
    1622                            .ant-notice {   
     1622                           .ant-notice {
    16231623                        font-family: {$font}, Helvetica, sans-serif !important;
    16241624                        font-size: {$fontSize}px !important;
  • admin-notices-for-team/tags/1.0.4/ant_admin_notices_team.php

    r1710078 r1748059  
    1717 * Plugin URI:        http://plugwpress.com/ant-notice-documentation/
    1818 * Description:       It provides the capability for administrators and/or editors to create Notices and display it to all users, only to specific authors or by targetting custom user's groups.
    19  * Version:           1.0.3
     19 * Version:           1.0.4
    2020 * Author:            PlugWPress
    2121 * Author URI:        http://plugwpress.com
     
    2525 * Domain Path:       /languages
    2626 */
     27
     28 // Create a helper function for easy SDK access.
     29 function anft_fs() {
     30     global $anft_fs;
     31
     32     if ( ! isset( $anft_fs ) ) {
     33         // Include Freemius SDK.
     34         require_once dirname(__FILE__) . '/freemius/start.php';
     35
     36         $anft_fs = fs_dynamic_init( array(
     37             'id'                  => '1454',
     38             'slug'                => 'admin-notices-for-team',
     39             'type'                => 'plugin',
     40             'public_key'          => 'pk_d5387c2d2b68df537c9afae0121ea',
     41             'is_premium'          => false,
     42             'has_addons'          => false,
     43             'has_paid_plans'      => false,
     44             'menu'                => array(
     45                 'slug'           => 'edit.php?post_type=notice',
     46                 'account'        => false,
     47                 'support'        => false,
     48             ),
     49         ) );
     50     }
     51
     52     return $anft_fs;
     53 }
     54
     55 // Init Freemius.
     56 anft_fs();
     57 // Signal that SDK was initiated.
     58 do_action( 'anft_fs_loaded' );
    2759
    2860// If this file is called directly, abort.
     
    74106}
    75107run_ant_admin_notices_team();
    76 
    77 
    78 
  • admin-notices-for-team/tags/1.0.4/includes/class-ant_admin_notices_team.php

    r1709121 r1748059  
    7070
    7171        $this->plugin_name = 'ant_admin_notices_team';
    72         $this->version = '1.0.1';
     72        $this->version = '1.0.4';
    7373
    7474        $this->load_dependencies();
  • admin-notices-for-team/trunk/README.txt

    r1710078 r1748059  
    55Requires at least: 4.0
    66Tested up to: 4.8
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2525To install the plugin you can use the classic method from Wordpress Repository directly from your backend or you can:
    2626
    27 1. Unzip the plugin file
    28 2. Upload the folder ‘ant-admin-notice-team’ and its contents to the ‘wp-content/plugins/’ directory
     271. Download the plugin zip file and unzip it
     282. Rename the unzipped folder to “admin-notices-for-team” and Upload it via ftp in ‘wp-content/plugins/’ directory
    29293. Activate the plugin through the 'Plugins' menu in WordPress
    3030
     
    4747== Changelog ==
    4848
     49= 1.0.4 =
     50
     51* Fixed bug with showing notices just published
     52* Fixed bug with showing notices when select an author group and deselect it
     53
    4954= 1.0.3 =
    5055
     
    6065* Now showing all users in meta box Target Authors
    6166* Add feature: add target Author groups with default groups based on roles
    62 * Add feature: target more users in order to create custom groups 
     67* Add feature: target more users in order to create custom groups
    6368
    6469= 1.0.1 =
     
    8186== Upgrade Notice ==
    8287
     88= 1.0.4 =
     89
     90* Fixed bugs with showing notices.
     91
    8392= 1.0.3 =
    8493
     
    96105
    97106* First version of the plugin. No Updates available yet.
    98 
  • admin-notices-for-team/trunk/admin/class-ant_admin_notices_team-admin.php

    r1710078 r1748059  
    14871487                    (
    14881488                        (
    1489                                 $authorOptions == "All"
     1489                                ( $authorOptions == "All" || empty($authorOptions) )
    14901490                                && empty($authorOptionGroups)
    1491                           && ( !isset($authorCustomGroups) || in_array("No Users Selected", $authorCustomGroups) )
     1491                          && ( empty($authorCustomGroups) || in_array("No Users Selected", $authorCustomGroups) )
    14921492                        )
    14931493                          ||  ( $authorOptions == $current_user->display_name)
    1494                         ||  in_array($current_user->display_name, $authorOptionGroups)
    1495                         ||  in_array($current_user->display_name, $authorCustomGroups)
     1494                                                    ||  in_array($current_user->display_name, $authorOptionGroups)
     1495                            ||  in_array($current_user->display_name, $authorCustomGroups)
    14961496                    )
    14971497                 && ( $ant_dismiss != "dismissed" )
     
    15891589
    15901590        $custom_css = "
    1591        
     1591
    15921592                .ant-notice {
    15931593                        width: {$width}{$unit};
    15941594                        margin-left: {$margin}% !important;
    1595                        
     1595
    15961596                }";
    15971597
     
    16141614                                   .wrap div.ant-notice, div.ant-notice {
    16151615                                          position: static;
    1616                                           display: inline-block;                         
     1616                                          display: inline-block;
    16171617                            }";
    16181618                     }
     
    16201620                         if ( $options_design['toggle-custom-style'] == 'enabled' ) {
    16211621                         $custom_css .= "
    1622                            .ant-notice {   
     1622                           .ant-notice {
    16231623                        font-family: {$font}, Helvetica, sans-serif !important;
    16241624                        font-size: {$fontSize}px !important;
  • admin-notices-for-team/trunk/ant_admin_notices_team.php

    r1710078 r1748059  
    1717 * Plugin URI:        http://plugwpress.com/ant-notice-documentation/
    1818 * Description:       It provides the capability for administrators and/or editors to create Notices and display it to all users, only to specific authors or by targetting custom user's groups.
    19  * Version:           1.0.3
     19 * Version:           1.0.4
    2020 * Author:            PlugWPress
    2121 * Author URI:        http://plugwpress.com
     
    2525 * Domain Path:       /languages
    2626 */
     27
     28 // Create a helper function for easy SDK access.
     29 function anft_fs() {
     30     global $anft_fs;
     31
     32     if ( ! isset( $anft_fs ) ) {
     33         // Include Freemius SDK.
     34         require_once dirname(__FILE__) . '/freemius/start.php';
     35
     36         $anft_fs = fs_dynamic_init( array(
     37             'id'                  => '1454',
     38             'slug'                => 'admin-notices-for-team',
     39             'type'                => 'plugin',
     40             'public_key'          => 'pk_d5387c2d2b68df537c9afae0121ea',
     41             'is_premium'          => false,
     42             'has_addons'          => false,
     43             'has_paid_plans'      => false,
     44             'menu'                => array(
     45                 'slug'           => 'edit.php?post_type=notice',
     46                 'account'        => false,
     47                 'support'        => false,
     48             ),
     49         ) );
     50     }
     51
     52     return $anft_fs;
     53 }
     54
     55 // Init Freemius.
     56 anft_fs();
     57 // Signal that SDK was initiated.
     58 do_action( 'anft_fs_loaded' );
    2759
    2860// If this file is called directly, abort.
     
    74106}
    75107run_ant_admin_notices_team();
    76 
    77 
    78 
  • admin-notices-for-team/trunk/includes/class-ant_admin_notices_team.php

    r1709121 r1748059  
    7070
    7171        $this->plugin_name = 'ant_admin_notices_team';
    72         $this->version = '1.0.1';
     72        $this->version = '1.0.4';
    7373
    7474        $this->load_dependencies();
Note: See TracChangeset for help on using the changeset viewer.