Plugin Directory

Changeset 3078052


Ignore:
Timestamp:
04/27/2024 04:18:14 PM (2 years ago)
Author:
suiteplugins
Message:

Releasing version 1.1.1

Location:
login-widget-for-ultimate-member
Files:
29 added
4 edited

Legend:

Unmodified
Added
Removed
  • login-widget-for-ultimate-member/trunk/includes/class-um-login-core.php

    r3075311 r3078052  
    2121        add_action( 'login_form_middle', array( $this, 'um_login_lost_password_link' ) );
    2222        add_action( 'plugins_loaded', array( $this, 'um_login_widget_load_textdomain' ) );
    23         add_action( 'widgets_init', array( $this, 'lw_um_register_widget' ) );
    2423        add_action( 'enqueue_block_editor_assets', array( $this, 'register_block_assets' ) );
    2524        add_action( 'wp_ajax_um_load_login_form', array( $this, 'um_load_login_form' ) );
     
    10099
    101100    /**
    102      * Register widget
    103      */
    104     public function lw_um_register_widget() {
    105         register_widget( 'UM_Login_Core' );
    106     }
    107 
    108     /**
    109101     * Lost password link
    110102     *
  • login-widget-for-ultimate-member/trunk/includes/class-um-login-widget.php

    r3075311 r3078052  
    1212    exit;
    1313};
    14 
    1514
    1615/**
  • login-widget-for-ultimate-member/trunk/login-widget-for-ultimate-member.php

    r3075311 r3078052  
    55 * Description: A login widget for Ultimate Member.
    66 * Author: SuitePlugins
    7  * Version: 1.1.0
     7 * Version: 1.1.1
    88 * Author URI: http://www.suiteplugins.com
    99 * Text Domain: login-widget-for-ultimate-member
     
    2323define( 'UM_LOGIN_PATH', plugin_dir_path( __FILE__ ) );
    2424define( 'UM_LOGIN_PLUGIN', plugin_basename( __FILE__ ) );
    25 define( 'UM_LOGIN_VERSION', '1.0.9.8' );
    26 
     25define( 'UM_LOGIN_VERSION', '1.1.1' );
     26
     27require_once UM_LOGIN_PATH . 'includes/class-um-login-widget.php';
     28require_once UM_LOGIN_PATH . 'includes/class-um-login-core.php';
    2729
    2830/**
     
    6163     */
    6264    public function load_files() {
    63         require_once UM_LOGIN_PATH . 'includes/class-um-login-widget.php';
    64         require_once UM_LOGIN_PATH . 'includes/class-um-login-core.php';
     65       
    6566
    6667        $core = new UM_Login_Core();
     
    7071
    7172UM_Login_Widget_Loader::get_instance();
     73
     74add_action( 'widgets_init', 'um_login_form_register_widgets' );
     75function um_login_form_register_widgets() {
     76    register_widget( 'UM_Login_Widget' );
     77}
    7278
    7379function um_login_widget_render_block( $attributes ) {
  • login-widget-for-ultimate-member/trunk/readme.txt

    r3075311 r3078052  
    55Requires at least: 4.1
    66Tested up to: 6.5.2
    7 Stable tag: 1.1.0
     7Stable tag: 1.1.1
    88Requires PHP: 5.6
    99License: GNU Version 2 or Any Later Version
     
    108108* Test with Ultimate Member 2.8.5
    109109
     110= 1.1.1 =
     111* Fixed: Previous widget doesn't work anymore
     112
    110113== Upgrade Notice ==
    111114None yet.
Note: See TracChangeset for help on using the changeset viewer.