Skip to content

Commit 30d2213

Browse files
authored
Merge pull request #1024 from Codeinwp/chore/remove-outdated-textdomain-loading
chore: remove outdated textdomain loading
2 parents 0cdd291 + 588cc31 commit 30d2213

File tree

2 files changed

+0
-69
lines changed

2 files changed

+0
-69
lines changed

includes/feedzy-rss-feeds-i18n.php

Lines changed: 0 additions & 49 deletions
This file was deleted.

includes/feedzy-rss-feeds.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@ public function init() {
106106
self::$plugin_name = 'feedzy-rss-feeds';
107107
self::$version = '4.4.16';
108108
self::$instance->load_dependencies();
109-
self::$instance->set_locale();
110109
self::$instance->define_admin_hooks();
111110

112111
}
@@ -158,25 +157,6 @@ public static function get_version() {
158157
return self::$version;
159158
}
160159

161-
/**
162-
* Define the locale for this plugin for internationalization.
163-
*
164-
* Uses the Feedzy_Rss_Feeds_i18n class in order to set the domain and to register the hook
165-
* with WordPress.
166-
*
167-
* @since 3.0.0
168-
* @access private
169-
*/
170-
private function set_locale() {
171-
/**
172-
* The class responsible for defining internationalization functionality
173-
* of the plugin.
174-
*/
175-
$plugin_i18n = new Feedzy_Rss_Feeds_i18n();
176-
self::$instance->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );
177-
178-
}
179-
180160
/**
181161
* Register all of the hooks related to the admin area functionality
182162
* of the plugin.

0 commit comments

Comments
 (0)