Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove outdated textdomain loading #1024

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions includes/feedzy-rss-feeds-i18n.php

This file was deleted.

20 changes: 0 additions & 20 deletions includes/feedzy-rss-feeds.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ public function init() {
self::$plugin_name = 'feedzy-rss-feeds';
self::$version = '4.4.16';
self::$instance->load_dependencies();
self::$instance->set_locale();
self::$instance->define_admin_hooks();

}
Expand Down Expand Up @@ -158,25 +157,6 @@ public static function get_version() {
return self::$version;
}

/**
* Define the locale for this plugin for internationalization.
*
* Uses the Feedzy_Rss_Feeds_i18n class in order to set the domain and to register the hook
* with WordPress.
*
* @since 3.0.0
* @access private
*/
private function set_locale() {
/**
* The class responsible for defining internationalization functionality
* of the plugin.
*/
$plugin_i18n = new Feedzy_Rss_Feeds_i18n();
self::$instance->loader->add_action( 'plugins_loaded', $plugin_i18n, 'load_plugin_textdomain' );

}

/**
* Register all of the hooks related to the admin area functionality
* of the plugin.
Expand Down
Loading