Skip to content

Commit

Permalink
Load plugin textdomain
Browse files Browse the repository at this point in the history
  • Loading branch information
JayWood committed Sep 30, 2016
1 parent 2cdae72 commit 1d230d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content-warning-v2.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,8 @@ public function override_css() {
*/
public function register_frontend_data() {

load_plugin_textdomain( 'content-warning-v2', false, dirname( plugin_basename( __FILE__ ) ) . '/lang/' );

// Jquery Cookie
wp_register_script( 'jquery_cookie', $this->url( "js/jquery_cookie{$this->min}.js" ), array( 'jquery' ), '1.4.1', true );

Expand Down

0 comments on commit 1d230d3

Please sign in to comment.