Plugin Directory

Changeset 3263110


Ignore:
Timestamp:
03/27/2025 08:32:27 PM (12 months ago)
Author:
helloextend
Message:

Update i18n class in tag/1.0.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • helloextend-protection/tags/1.0.0/includes/class-helloextend-protection-i18n.php

    r3263092 r3263110  
    3333class Helloextend_Protection_i18n
    3434{
     35    /**
     36     * Load the plugin text domain for translation.
     37     *
     38     * @since 1.0.0
     39     */
     40    public function load_plugin_textdomain()
     41    {
    3542
    36     public function __construct() {
    37         // No need for load_plugin_textdomain anymore, WP handles this automatically.
     43        load_plugin_textdomain(
     44            'helloextend-protection',
     45            false,
     46            dirname(dirname(plugin_basename(__FILE__))) . '/languages/'
     47        );
     48
    3849    }
    3950}
Note: See TracChangeset for help on using the changeset viewer.