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 11# Changelog
22
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+
310## 2.1.0
411* Added additional setting descriptions
512* Added settings for code and description editor height
1623
1724## 2.0.1
1825
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
2128
2229## 2.0
2330
Original file line number Diff line number Diff line change 2424License: MIT
2525License URI: license.txt
2626Text Domain: code-snippets
27- Domain Path: /languages/
27+ Domain Path: /languages
2828*/
2929
3030/* Exit if accessed directly */
107107
108108/**
109109 * 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"
111111 *
112112 * If you wish to contribute a language file to be included in the Code Snippets package,
113113 * please see create an issue on GitHub: https://github.com/sheabunge/code-snippets/issues
114114 */
115115function 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 ' );
117117}
118118
119119add_action ( 'plugins_loaded ' , 'code_snippets_load_textdomain ' );
You can’t perform that action at this time.
0 commit comments