Skip to content

Commit

Permalink
Remove textdomain loader.
Browse files Browse the repository at this point in the history
obsolete since WP 4.6
  • Loading branch information
joedolson committed Oct 21, 2024
1 parent 1cedb10 commit f8ff443
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/my-calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,15 +184,6 @@ function mc_uninstall() {
require __DIR__ . '/my-calendar-ajax.php';
require __DIR__ . '/my-calendar-import.php';

add_action( 'plugins_loaded', 'mc_load_textdomain' );
/**
* Load internationalization.
*/
function mc_load_textdomain() {
// Shipped translations removed @v3.3.0.
load_plugin_textdomain( 'my-calendar' );
}

// Add actions.
add_action( 'admin_menu', 'my_calendar_menu' );
add_action( 'wp_head', 'mc_head' );
Expand Down

0 comments on commit f8ff443

Please sign in to comment.