File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
+ ## 2.2.0
4
+ * Introduced CodeSniffer testing on code
5
+ * Fixed description heading disappearing when media buttons enabled
6
+ * Added snippet scope selector
7
+ * Minify all CSS and JS in plugin
8
+ * Made CodeMirror theme names more readable
9
+
3
10
## 2.1.0
4
11
* Added additional setting descriptions
5
12
* Added settings for code and description editor height
16
23
17
24
## 2.0.1
18
25
19
- * Fix table creation code not running on upgrade
20
- * Fix snippets per page option not saving
26
+ * Fixed table creation code not running on upgrade
27
+ * Fixed snippets per page option not saving
21
28
22
29
## 2.0
23
30
Original file line number Diff line number Diff line change 24
24
License: MIT
25
25
License URI: license.txt
26
26
Text Domain: code-snippets
27
- Domain Path: /languages/
27
+ Domain Path: /languages
28
28
*/
29
29
30
30
/* Exit if accessed directly */
107
107
108
108
/**
109
109
* Load up the localization file if we're using WordPress in a different language.
110
- * Place it in this plugin's "languages" folder and name it "code-snippets-[value in wp-config ].mo"
110
+ * Place it in this plugin's "languages" folder and name it "code-snippets-[language_COUNTRY ].mo"
111
111
*
112
112
* If you wish to contribute a language file to be included in the Code Snippets package,
113
113
* please see create an issue on GitHub: https://github.com/sheabunge/code-snippets/issues
114
114
*/
115
115
function code_snippets_load_textdomain () {
116
- load_plugin_textdomain ( 'code-snippets ' , false , dirname ( basename ( __FILE__ ) ) . '/languages/ ' );
116
+ load_plugin_textdomain ( 'code-snippets ' , false , dirname ( plugin_basename ( __FILE__ ) ) . '/languages ' );
117
117
}
118
118
119
119
add_action ( 'plugins_loaded ' , 'code_snippets_load_textdomain ' );
You can’t perform that action at this time.
0 commit comments