Plugin Directory

Changeset 2743458


Ignore:
Timestamp:
06/16/2022 11:31:42 AM (4 years ago)
Author:
HoltesDesign
Message:

Updates for WordPress 6

Location:
hellodialog/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • hellodialog/trunk/index.php

    r2485065 r2743458  
    44 * Plugin URI: https://www.hellodialog.com
    55 * Description: This plugin connects Wordpress to the Hellodialog API.
    6  * Version: 1.7.7
     6 * Version: 1.7.8
    77 * Author: Webreact
    88 * Author URI: https://www.webreact.nl
     
    136136        function hd_plugin_menu() {
    137137            add_menu_page( 'Hello Dialog', 'Hellodialog', 'administrator', 'hellodialog-main', '', 'dashicons-format-chat');
    138             add_submenu_page( 'hellodialog-main', __('Placeholders', 'hellodialog'), __('Placeholders', 'hellodialog'), 'administrator', 'hd-placeholders', 'hd_plugin_placeholders', 'dashicons-admin-generic', 10);
    139             add_submenu_page( 'hellodialog-main', __('Settings', 'hellodialog'), __('Settings', 'hellodialog'), 'administrator', 'hd-settings', 'hd_plugin_settings', 'dashicons-admin-generic', 1);
     138            add_submenu_page( 'hellodialog-main', __('Placeholders', 'hellodialog'), __('Placeholders', 'hellodialog'), 'administrator', 'hd-placeholders', 'hd_plugin_placeholders', 10);
     139            add_submenu_page( 'hellodialog-main', __('Settings', 'hellodialog'), __('Settings', 'hellodialog'), 'administrator', 'hd-settings', 'hd_plugin_settings', 1);
    140140        }
    141141
  • hellodialog/trunk/readme.txt

    r2662949 r2743458  
    44Tags: hellodialog, emailmarkteting, api connect, hello dialog, nieuwsbrief, newsletter
    55Requires at least: 4.8
    6 Tested up to: 5.9
    7 Stable tag: 1.7.7
     6Tested up to: 6.0
     7Stable tag: 1.7.8
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    4848
    4949== Changelog ==
     50= 1.7.8 =
     51* Correct usage of add_submenu_page.
     52* WordPress 6.0 compatibility.
     53
    5054= 1.7.6 =
    5155* String translations.
  • hellodialog/trunk/shortcodes/shortcode.php

    r2110039 r2743458  
    176176    }
    177177}
    178 $size = count($decodedGroups);
     178
     179if ($decodedGroups) {
     180    $size = count($decodedGroups);
     181}
     182
    179183/**
    180184 * If there are more then 1 groups, then make a selection!
Note: See TracChangeset for help on using the changeset viewer.