Widget CSS Classes - Version 1.2.8

Version Description

  • Added text domain to plugin header in preperation for automatic language translations
Download this release

Release Info

Developer elusivelight
Plugin Icon 128x128 Widget CSS Classes
Version 1.2.8
Comparing to
See all releases

Code changes from version 1.2.7 to 1.2.8

Files changed (3) hide show
  1. README +1 -0
  2. readme.txt +4 -1
  3. widget-css-classes.php +4 -3
README ADDED
@@ -0,0 +1 @@
 
1
+ This file was created by JetBrains PhpStorm 4.0.3 for binding GitHub repository
readme.txt CHANGED
@@ -8,7 +8,7 @@ License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires at least: 3.3
10
  Tested up to: 4.3
11
- Stable tag: 1.2.7
12
 
13
  Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
14
 
@@ -94,6 +94,9 @@ Visit [the plugin website](http://cleverness.org/plugins/widget-css-classes/) an
94
 
95
  == Changelog ==
96
 
 
 
 
97
  = 1.2.7 =
98
  * Changed class and ID fields to full-width
99
  * Added missing escaping from settings page
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
  Requires at least: 3.3
10
  Tested up to: 4.3
11
+ Stable tag: 1.2.8
12
 
13
  Add custom classes and ids plus first, last, even, odd, and numbered classes to your widgets.
14
 
94
 
95
  == Changelog ==
96
 
97
+ = 1.2.8 =
98
+ * Added text domain to plugin header in preperation for automatic language translations
99
+
100
  = 1.2.7 =
101
  * Changed class and ID fields to full-width
102
  * Added missing escaping from settings page
widget-css-classes.php CHANGED
@@ -1,11 +1,12 @@
1
  <?php
2
  /*
3
  Plugin Name: Widget CSS Classes
4
- Version: 1.2.7
5
  Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
6
  Author: C.M. Kendrick
7
  Author URI: http://cleverness.org
8
  Plugin URI: http://cleverness.org/plugins/widget-css-classes
 
9
  */
10
 
11
  add_action( 'init', 'widget_css_classes_loader' );
@@ -18,11 +19,11 @@ add_action( 'wp_loaded', 'widget_css_classes_frontend_hook' );
18
  function widget_css_classes_loader() {
19
 
20
  $languages_path = plugin_basename( dirname( __FILE__ ).'/languages' );
21
- load_plugin_textdomain( 'widget-css-classes', '', $languages_path );
22
 
23
  if ( is_admin() ) {
24
 
25
- if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.4' );
26
  if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
27
  if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
28
  if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
1
  <?php
2
  /*
3
  Plugin Name: Widget CSS Classes
4
+ Version: 1.2.8
5
  Description: Add custom, first, last, even, odd, and numbered classes to your widgets.
6
  Author: C.M. Kendrick
7
  Author URI: http://cleverness.org
8
  Plugin URI: http://cleverness.org/plugins/widget-css-classes
9
+ Text Domain: widget-css-classes
10
  */
11
 
12
  add_action( 'init', 'widget_css_classes_loader' );
19
  function widget_css_classes_loader() {
20
 
21
  $languages_path = plugin_basename( dirname( __FILE__ ).'/languages' );
22
+ load_plugin_textdomain( 'widget-css-classes', FALSE, $languages_path );
23
 
24
  if ( is_admin() ) {
25
 
26
+ if ( !defined( 'WCSSC_PLUGIN_VERSION' ) ) define( 'WCSSC_PLUGIN_VERSION', '1.2.8' );
27
  if ( !defined( 'WCSSC_FILE' ) ) define( 'WCSSC_FILE', __FILE__ );
28
  if ( !defined( 'WCSSC_BASENAME' ) ) define( 'WCSSC_BASENAME', plugin_basename( __FILE__ ) );
29
  if ( !defined( 'WCSSC_PLUGIN_DIR' ) ) define( 'WCSSC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );