Skip to content

Commit

Permalink
Removing Parse.ly load text domain (#457)
Browse files Browse the repository at this point in the history
  • Loading branch information
pauarge authored Oct 20, 2021
1 parent 6b82cd2 commit ad4da06
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions wp-parsely.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,24 +77,6 @@ function parsely_recommended_widget_register(): void {
register_widget( Parsely_Recommended_Widget::class );
}

add_action( 'init', __NAMESPACE__ . '\\parsely_load_textdomain' );
/**
* Load plugin textdomain.
*
* Only look for WP_LANG_DIR . '/plugins/wp-parsely-' . $locale . '.mo'.
* WP_LANG_DIR is usually WP_CONTENT_DIR . '/languages/'.
* No other fallback location is supported.
*
* This can be removed once minimum supported WordPress is 4.6 or later.
*
* @since 2.5.0
*
* @return void
*/
function parsely_load_textdomain(): void {
load_plugin_textdomain( 'wp-parsely' );
}

require __DIR__ . '/src/Integrations/class-integration.php';
require __DIR__ . '/src/Integrations/class-integrations.php';
require __DIR__ . '/src/Integrations/class-amp.php';
Expand Down

0 comments on commit ad4da06

Please sign in to comment.