File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ Release changes are noted on the [Releases](https://github.com/dmhendricks/wordp
7575#### Branch: ` master `
7676
7777* Added quick start documentation
78+ * Fixed bug with setting translation text domain
7879
7980## Credits
8081
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ function __construct() {
3131
3232 self ::$ config = new ConfigRegistry ( $ plugin_data ['plugin ' ]['path ' ] . 'plugin.json ' );
3333 self ::$ config = self ::$ config ->merge ( new ConfigRegistry ( $ plugin_data ) );
34- self ::$ textdomain = self ::$ config ->get ( 'plugin/meta/Name ' ) ?: self ::$ config ->get ( 'plugin/slug ' );
34+ self ::$ textdomain = self ::$ config ->get ( 'plugin/meta/TextDomain ' ) ?: self ::$ config ->get ( 'plugin/slug ' );
3535
3636 // Define plugin version constant
3737 if ( !defined ( __NAMESPACE__ . '\VERSION ' ) ) define ( __NAMESPACE__ . '\VERSION ' , self ::$ config ->get ( 'plugin/meta/Version ' ) );
You can’t perform that action at this time.
0 commit comments