Plugin Directory

Changeset 2919493


Ignore:
Timestamp:
05/31/2023 07:46:46 AM (3 years ago)
Author:
jhorowitz
Message:

Actually load the text domain.

Location:
member-profile-fields-for-wlm-and-gf-user-registration/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • member-profile-fields-for-wlm-and-gf-user-registration/trunk/member-profile-fields-for-wlm-and-gf-user-registration.php

    r2919481 r2919493  
    11<?php
    22/**
    3  * Plugin Name: Member Profile Fields for WishList Member and Gravity Forms User Registration Add-On
    4  * Description: Allows setting WishList Member Fields when users are automatically created using Gravity Forms User Registration Add-On.
    5  * Version: 1.01
    6  * Author: AoD Technologies LLC
    7  * Author URI: https://aod-tech.com/
    8  * License: GPL-3.0+
    9  * License URI: https://www.gnu.org/licenses/gpl-3.0.txt
    10  * Text Domain: member-profile-fields-for-wlm-and-gf-user-registration
     3 * Plugin Name:     Member Profile Fields for WishList Member and Gravity Forms User Registration Add-On
     4 * Description:     Allows setting WishList Member Fields when users are automatically created using Gravity Forms User Registration Add-On.
     5 * Version:         1.02
     6 * Author:          AoD Technologies LLC
     7 * Author URI:      https://aod-tech.com/
     8 * License:         GPL-3.0+
     9 * License URI:     https://www.gnu.org/licenses/gpl-3.0.txt
     10 * Text Domain:     member-profile-fields-for-wlm-and-gf-user-registration
     11 * Domain Path:     /languages
    1112 *
    1213 * Member Profile Fields for WishList Member and Gravity Forms User Registration Add-On Plugin
     
    3738
    3839    public function __construct() {
     40        add_action( 'plugins_loaded', array( $this, 'load_text_domain' ) );
    3941        add_action( 'init', array( $this, 'init' ) );
     42    }
     43
     44    public function load_text_domain() {
     45        load_plugin_textdomain( 'member-profile-fields-for-wlm-and-gf-user-registration', false, basename( dirname( __FILE__ ) ) . '/languages/' );
    4046    }
    4147
  • member-profile-fields-for-wlm-and-gf-user-registration/trunk/readme.txt

    r2919481 r2919493  
    66Tested up to: 6.2.2
    77Requires PHP: 5.6
    8 Stable tag: 1.01
     8Stable tag: 1.02
    99License: GPLv3 or later
    1010License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    1313
    1414== Description ==
     15Allows WishList Member Fields (including custom fields) to be populated automatically from data collected in Gravity Forms, using Gravity Forms User Registration Add-On.
    1516
    16 Allows setting WishList Member Fields when users are automatically created using Gravity Forms User Registration Add-On.
    17 
    18 Note, this plugin requires Gravity Forms, WishList Member plugin version 2 or above, the Gravity Forms plugin and the Gravity Forms User Registration Add-On plugin.
     17Note, this plugin requires Gravity Forms, Gravity Forms User Registration Add-On plugin, and WishList Member plugin version 2 or above.
    1918
    2019== Installation ==
     
    3231== Changelog ==
    3332
     33= 1.02 =
     34* Actually load the text domain.
     35
    3436= 1.01 =
    3537* Correct the text domain and update tested up to version.
Note: See TracChangeset for help on using the changeset viewer.