Version Description
- Add textdomain loader
Download this release
Release Info
| Developer | nathanrice |
| Plugin | |
| Version | 1.0.13 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.12 to 1.0.13
- package.json +16 -16
- readme.txt +4 -1
- simple-social-icons.php +12 -1
package.json
CHANGED
|
@@ -7,21 +7,21 @@
|
|
| 7 |
},
|
| 8 |
"dependencies": {},
|
| 9 |
"devDependencies": {
|
| 10 |
-
"grunt": "
|
| 11 |
-
"grunt-autoprefixer": "
|
| 12 |
-
"grunt-checktextdomain": "
|
| 13 |
-
"grunt-contrib-cssmin": "
|
| 14 |
-
"grunt-contrib-imagemin": "
|
| 15 |
-
"grunt-contrib-jshint": "
|
| 16 |
-
"grunt-contrib-uglify": "
|
| 17 |
-
"grunt-contrib-watch": "
|
| 18 |
-
"grunt-csscomb": "
|
| 19 |
-
"grunt-jsbeautifier": "
|
| 20 |
-
"grunt-jsvalidate": "
|
| 21 |
-
"grunt-phplint": "
|
| 22 |
-
"grunt-styledocco": "
|
| 23 |
-
"grunt-wp-i18n": "
|
| 24 |
-
"load-grunt-tasks": "
|
| 25 |
},
|
| 26 |
"plugin": {
|
| 27 |
"name": "Simple Social Icons",
|
|
@@ -29,7 +29,7 @@
|
|
| 29 |
"description": "A simple, CSS and icon font driven social icons widget.",
|
| 30 |
"author": "StudioPress",
|
| 31 |
"authoruri": "http://www.studiopress.com/",
|
| 32 |
-
"version": "1.0.
|
| 33 |
"license": "GPL-2.0+",
|
| 34 |
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
| 35 |
"textdomain": "simple-social-icons"
|
| 7 |
},
|
| 8 |
"dependencies": {},
|
| 9 |
"devDependencies": {
|
| 10 |
+
"grunt": "*",
|
| 11 |
+
"grunt-autoprefixer": "*",
|
| 12 |
+
"grunt-checktextdomain": "*",
|
| 13 |
+
"grunt-contrib-cssmin": "*",
|
| 14 |
+
"grunt-contrib-imagemin": "*",
|
| 15 |
+
"grunt-contrib-jshint": "*",
|
| 16 |
+
"grunt-contrib-uglify": "*",
|
| 17 |
+
"grunt-contrib-watch": "*",
|
| 18 |
+
"grunt-csscomb": "*",
|
| 19 |
+
"grunt-jsbeautifier": "*",
|
| 20 |
+
"grunt-jsvalidate": "*",
|
| 21 |
+
"grunt-phplint": "*",
|
| 22 |
+
"grunt-styledocco": "*",
|
| 23 |
+
"grunt-wp-i18n": "*",
|
| 24 |
+
"load-grunt-tasks": "*"
|
| 25 |
},
|
| 26 |
"plugin": {
|
| 27 |
"name": "Simple Social Icons",
|
| 29 |
"description": "A simple, CSS and icon font driven social icons widget.",
|
| 30 |
"author": "StudioPress",
|
| 31 |
"authoruri": "http://www.studiopress.com/",
|
| 32 |
+
"version": "1.0.13",
|
| 33 |
"license": "GPL-2.0+",
|
| 34 |
"licenseuri": "http://www.gnu.org/licenses/gpl-2.0.html",
|
| 35 |
"textdomain": "simple-social-icons"
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: nathanrice, studiopress, bgardner
|
|
| 3 |
Tags: social media, social networking, social profiles
|
| 4 |
Requires at least: 4.0
|
| 5 |
Tested up to: 4.3.1
|
| 6 |
-
Stable tag: 1.0.
|
| 7 |
|
| 8 |
This plugin allows you to insert social icons in any widget area.
|
| 9 |
|
|
@@ -47,6 +47,9 @@ NOTE - The rights to each pictogram in the social extension are either trademark
|
|
| 47 |
|
| 48 |
== Changelog ==
|
| 49 |
|
|
|
|
|
|
|
|
|
|
| 50 |
= 1.0.12 =
|
| 51 |
* Prevent ModSecurity blocking fonts from loading
|
| 52 |
|
| 3 |
Tags: social media, social networking, social profiles
|
| 4 |
Requires at least: 4.0
|
| 5 |
Tested up to: 4.3.1
|
| 6 |
+
Stable tag: 1.0.13
|
| 7 |
|
| 8 |
This plugin allows you to insert social icons in any widget area.
|
| 9 |
|
| 47 |
|
| 48 |
== Changelog ==
|
| 49 |
|
| 50 |
+
= 1.0.13 =
|
| 51 |
+
* Add textdomain loader
|
| 52 |
+
|
| 53 |
= 1.0.12 =
|
| 54 |
* Prevent ModSecurity blocking fonts from loading
|
| 55 |
|
simple-social-icons.php
CHANGED
|
@@ -6,12 +6,23 @@ Description: A simple, CSS and icon font driven social icons widget.
|
|
| 6 |
Author: Nathan Rice
|
| 7 |
Author URI: http://www.nathanrice.net/
|
| 8 |
|
| 9 |
-
Version: 1.0.
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
License: GNU General Public License v2.0 (or later)
|
| 12 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
| 13 |
*/
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
class Simple_Social_Icons_Widget extends WP_Widget {
|
| 16 |
|
| 17 |
/**
|
| 6 |
Author: Nathan Rice
|
| 7 |
Author URI: http://www.nathanrice.net/
|
| 8 |
|
| 9 |
+
Version: 1.0.13
|
| 10 |
+
|
| 11 |
+
Text Domain: simple-social-icons
|
| 12 |
+
Domain Path: /languages
|
| 13 |
|
| 14 |
License: GNU General Public License v2.0 (or later)
|
| 15 |
License URI: http://www.opensource.org/licenses/gpl-license.php
|
| 16 |
*/
|
| 17 |
|
| 18 |
+
add_action( 'plugins_loaded', 'simple_social_icons_load_textdomain' );
|
| 19 |
+
/**
|
| 20 |
+
* Load textdomain
|
| 21 |
+
*/
|
| 22 |
+
function simple_social_icons_load_textdomain() {
|
| 23 |
+
load_plugin_textdomain( 'simple-social-icons', false, plugin_basename( dirname( __FILE__ ) ) . '/languages' );
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
class Simple_Social_Icons_Widget extends WP_Widget {
|
| 27 |
|
| 28 |
/**
|
