Plugin Directory

Changeset 3412251


Ignore:
Timestamp:
12/05/2025 02:10:19 PM (3 months ago)
Author:
wpcoder75
Message:

textdomain issue

Location:
daily-slider
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • daily-slider/tags/2.1.0/daily-slider.php

    r3412246 r3412251  
    4242
    4343    public function init() {
     44        // Load text domain for translations
     45        load_plugin_textdomain( 'daily-slider', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
     46       
    4447        if ( ! did_action( 'elementor/loaded' ) ) {
    4548            add_action( 'admin_notices', array( $this, 'admin_notice_missing_main_plugin' ) );
  • daily-slider/trunk/daily-slider.php

    r3412246 r3412251  
    4242
    4343    public function init() {
     44        // Load text domain for translations
     45        load_plugin_textdomain( 'daily-slider', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
     46       
    4447        if ( ! did_action( 'elementor/loaded' ) ) {
    4548            add_action( 'admin_notices', array( $this, 'admin_notice_missing_main_plugin' ) );
Note: See TracChangeset for help on using the changeset viewer.