Plugin Directory

Changeset 2411193


Ignore:
Timestamp:
11/02/2020 02:58:10 PM (5 years ago)
Author:
zedna
Message:

backwards compatibility

Location:
custom-dashboard-messages/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • custom-dashboard-messages/trunk/custom-dashboard.php

    r2408941 r2411193  
    66Text Domain: custom-dashboard-messages
    77Domain Path: /languages
    8 Version: 2.2
     8Version: 2.2.1
    99Author: Radek Mezulanik
    1010Author URI: https://cz.linkedin.com/in/radekmezulanik
     
    145145    $message_user_role = get_post_meta( get_the_ID(), 'cd_min_role_to_see' )[0];
    146146
    147     if( current_user_can($message_user_role) || $message_user_role == 'all'):
     147    if( current_user_can($message_user_role) || $message_user_role == 'all' || empty($message_user_role)):
    148148
    149149  ?>
  • custom-dashboard-messages/trunk/readme.txt

    r2408941 r2411193  
    44Tags: dashoard, message, admin, user, custom
    55Requires at least: 5.0.0
    6 Tested up to: 5.5.1
    7 Stable tag: 2.2
     6Tested up to: 5.5.2
     7Stable tag: 2.2.1
    88License: GPLv3 or later
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    3535
    3636== Upgrade Notice ==
     37= 2.2.1 =
     38Built on WP 5.5.2 but can
     39
    3740= 2.2 =
    3841Built on WP 5.5.1 but can work on older versions
     
    4851
    4952== Changelog ==
     53= 2.2.1 =
     54* Backwards compatibility
     55
    5056= 2.2 =
    5157* Added user role management for main and custom messages
Note: See TracChangeset for help on using the changeset viewer.