Skip to content

Commit

Permalink
Merge pull request #172 from Automattic/alpha
Browse files Browse the repository at this point in the history
Release Dec 16
  • Loading branch information
miguelpeixe authored Dec 16, 2024
2 parents 6577da6 + 67dea4b commit 4ecfe95
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions newspack-network.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Newspack Network
* Description: The Newspack Network plugin.
* Version: 2.3.2
* Version: 2.3.3-alpha.1
* Author: Automattic
* Author URI: https://newspack.com/
* License: GPL3
Expand Down Expand Up @@ -30,7 +30,12 @@
define( 'NEWSPACK_NETWORK_READER_ROLE', 'network_reader' );

// Load language files.
load_plugin_textdomain( 'newspack-network', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
add_action(
'init',
function () {
load_plugin_textdomain( 'newspack-network', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
}
);

require_once __DIR__ . '/vendor/autoload.php';

Expand Down

0 comments on commit 4ecfe95

Please sign in to comment.