Plugin Directory

Changeset 3042633


Ignore:
Timestamp:
02/28/2024 02:08:51 PM (2 years ago)
Author:
fromdoppler
Message:

update plugin version 1.0.9

Location:
doppler-for-learnpress
Files:
57 added
4 edited

Legend:

Unmodified
Added
Removed
  • doppler-for-learnpress/trunk/README.txt

    r2890749 r3042633  
    44Tags: email marketing
    55Requires at least: 4.9
    6 Tested up to: 6.2
     6Tested up to: 6.4
    77Requires PHP: 5.6.4
    8 Stable tag: 1.0.8
     8Stable tag: 1.0.9
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313
    1414== Changelog ==
     15= 1.0.9 =
     16* Fix: Fix for some minor warnings.
    1517
    1618= 1.0.7 =
  • doppler-for-learnpress/trunk/admin/class-doppler-for-learnpress-admin.php

    r2635838 r3042633  
    578578     */
    579579    public function show_admin_notice() {
    580         $class = $this->admin_notice[0];
    581         $text = $this->admin_notice[1];
    582         if( !empty($class) && !empty($text) ){
    583             ?>
    584                 <div class="notice notice-<?php echo $class?> is-dismissible">
    585                     <p><?php echo $text ?></p>
    586                 </div>
    587             <?php
     580        if(isset($this->admin_notice[0]) && isset($this->admin_notice[1])) {
     581            $class = $this->admin_notice[0];
     582            $text = $this->admin_notice[1];
     583            if( !empty($class) && !empty($text) ){
     584                ?>
     585                    <div class="notice notice-<?php echo $class?> is-dismissible">
     586                        <p><?php echo $text ?></p>
     587                    </div>
     588                <?php
     589            }
    588590        }
    589591    }
     
    617619       register_rest_route( 'learnpress/v1', 'courses', array(
    618620           'methods' => 'GET',
    619            'callback' => array($this, 'get_published_courses')
     621           'callback' => array($this, 'get_published_courses'),
     622           'permission_callback' => '__return_true'
    620623       ));
    621624   }
  • doppler-for-learnpress/trunk/admin/partials/doppler-for-learnpress-admin-display.php

    r2618289 r3042633  
    4444    $lists = $this->get_alpha_lists();
    4545    $subscribers_lists = get_option('dplr_learnpress_subscribers_list');
    46     $this->check_active_list($subscribers_lists['buyers'],$lists);
     46    $this->check_active_list($subscribers_lists ? $subscribers_lists['buyers'] : '',$lists);
    4747
    4848    require_once('settings.php');
  • doppler-for-learnpress/trunk/doppler-for-learnpress.php

    r2751738 r3042633  
    1111 * Plugin URI:        www.fromdoppler.com
    1212 * Description:       Submit your LearnPress students to a Doppler Lists.
    13  * Version:           1.0.8
     13 * Version:           1.0.9
    1414 * Author:            Doppler
    1515 * License:           GPL-2.0+
     
    2424}
    2525
    26 define( 'DOPPLER_FOR_LEARNPRESS_VERSION', '1.0.8' );
     26define( 'DOPPLER_FOR_LEARNPRESS_VERSION', '1.0.9' );
    2727define( 'DOPPLER_FOR_LEARNPRESS_PLUGIN_FILE', plugin_basename( __FILE__ ));
    2828define( 'DOPPLER_FOR_LEARNPRESS_URL', plugin_dir_url(__FILE__) );
Note: See TracChangeset for help on using the changeset viewer.