Simple Page Sidebars - Version 1.2.0

Version Description

  • Transferred to Cedaro.
  • Updated the Widget Area class constructor to prevent deprecation notices in WP 4.3+.
Download this release

Release Info

Developer bradyvercher
Plugin Icon 128x128 Simple Page Sidebars
Version 1.2.0
Comparing to
See all releases

Code changes from version 1.1.7 to 1.2.0

includes/widget-area.php CHANGED
@@ -12,14 +12,14 @@ class Simple_Page_Sidebars_Widget_Area extends WP_Widget {
12
  *
13
  * @since 0.2.0
14
  */
15
- function __construct() {
16
  $widget_ops = array(
17
  'classname' => 'widget_area',
18
  'description' => __( 'Include all widgets from another widget area', 'simple-page-sidebars' )
19
  );
20
 
21
  // Call the parent constructor.
22
- $this->WP_Widget( 'area', __( 'Widget Area', 'simple-page-sidebars' ), $widget_ops );
23
  }
24
 
25
  /**
@@ -27,7 +27,7 @@ class Simple_Page_Sidebars_Widget_Area extends WP_Widget {
27
  *
28
  * @since 0.2.0
29
  */
30
- function widget( $args, $instance ) {
31
  extract( $args );
32
 
33
  // Don't allow an infinite loop.
@@ -50,7 +50,7 @@ class Simple_Page_Sidebars_Widget_Area extends WP_Widget {
50
  *
51
  * @since 0.2.0
52
  */
53
- function form( $instance ) {
54
  global $wp_registered_sidebars;
55
 
56
  $instance = wp_parse_args( (array) $instance, array(
@@ -87,7 +87,7 @@ class Simple_Page_Sidebars_Widget_Area extends WP_Widget {
87
  *
88
  * @since 0.2.0
89
  */
90
- function update( $new_instance, $old_instance ) {
91
  $instance = $old_instance;
92
 
93
  $instance['title'] = wp_strip_all_tags( $new_instance['title'] );
12
  *
13
  * @since 0.2.0
14
  */
15
+ public function __construct() {
16
  $widget_ops = array(
17
  'classname' => 'widget_area',
18
  'description' => __( 'Include all widgets from another widget area', 'simple-page-sidebars' )
19
  );
20
 
21
  // Call the parent constructor.
22
+ parent::__construct( 'area', __( 'Widget Area', 'simple-page-sidebars' ), $widget_ops );
23
  }
24
 
25
  /**
27
  *
28
  * @since 0.2.0
29
  */
30
+ public function widget( $args, $instance ) {
31
  extract( $args );
32
 
33
  // Don't allow an infinite loop.
50
  *
51
  * @since 0.2.0
52
  */
53
+ public function form( $instance ) {
54
  global $wp_registered_sidebars;
55
 
56
  $instance = wp_parse_args( (array) $instance, array(
87
  *
88
  * @since 0.2.0
89
  */
90
+ public function update( $new_instance, $old_instance ) {
91
  $instance = $old_instance;
92
 
93
  $instance['title'] = wp_strip_all_tags( $new_instance['title'] );
languages/simple-page-sidebars-es_ES.mo ADDED
Binary file
languages/simple-page-sidebars-es_ES.po ADDED
@@ -0,0 +1,179 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2014 Blazer Six
2
+ # This file is distributed under the GPL-2.0+.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Simple Page Sidebars 1.1.7\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/simple-page-"
7
+ "sidebars\n"
8
+ "POT-Creation-Date: 2012-11-13 06:36-0800\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-01-18 23:37+0100\n"
13
+ "Last-Translator: David <david@closemarketing.es>\n"
14
+ "Language-Team: Closemarketing <david@closemarketing.es>\n"
15
+ "X-Generator: Poedit 1.7.3\n"
16
+ "X-Poedit-KeywordsList: __;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;"
17
+ "_nx_noop:1,2,3c;esc_attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;"
18
+ "esc_html_x:1,2c\n"
19
+ "Language: es\n"
20
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
+ "X-Poedit-SourceCharset: UTF-8\n"
22
+ "X-Poedit-Basepath: ../\n"
23
+ "X-Textdomain-Support: yes\n"
24
+ "X-Poedit-SearchPath-0: .\n"
25
+
26
+ #: admin/admin.php:71 admin/admin.php:247 admin/admin.php:328
27
+ #: admin/views/meta-box-page-sidebar.php:11
28
+ msgid "Default Sidebar"
29
+ msgstr "Sidebar por defecto"
30
+
31
+ #: admin/admin.php:103
32
+ msgid "The sidebar that should be replaced by custom sidebars."
33
+ msgstr "El sidebar que debería ser sustituida por una personalizada."
34
+
35
+ #: admin/admin.php:114 admin/admin.php:182 admin/admin.php:245
36
+ #: admin/admin.php:325
37
+ msgid "Sidebar"
38
+ msgstr "Sidebar"
39
+
40
+ #: admin/admin.php:327
41
+ msgid "&mdash; No Change &mdash;"
42
+ msgstr "&mdash; Sin cambios &mdash;"
43
+
44
+ #: admin/admin.php:395 admin/views/edit-sidebar-screen.php:3
45
+ msgid "Edit Sidebar"
46
+ msgstr "Editar Sidebar"
47
+
48
+ #: admin/admin.php:534
49
+ msgid ""
50
+ "The sidebar you were editing is no longer assigned to any pages and has "
51
+ "been removed. Any widgets it contained should be in an \"Inactive Widgets\" "
52
+ "area below."
53
+ msgstr ""
54
+ "El Sidebar que estabas editando ya no está asignado a ninguna de las "
55
+ "páginas y se ha eliminado. Cualquiera de los widgets desactivados deberían "
56
+ "estar en la zona \"Widgets inactivos\" más abajo."
57
+
58
+ #: admin/admin.php:621
59
+ msgid ""
60
+ "For Simple Page Sidebars to work, a default sidebar needs to be selected on "
61
+ "the %s"
62
+ msgstr ""
63
+ "Para que funcione Simple Page Sidebars, un sidebar por defecto es necesario "
64
+ "que sea seleccionado en %s"
65
+
66
+ #: admin/admin.php:622
67
+ msgid "Reading settings screen"
68
+ msgstr "Pantalla de configuración de lectura"
69
+
70
+ #: admin/views/edit-sidebar-screen.php:13
71
+ msgid "Whoops, that doesn't appear to be a sidebar that can be edited."
72
+ msgstr "Ups, no parece que el sidebar pueda ser editado."
73
+
74
+ #: admin/views/edit-sidebar-screen.php:26
75
+ msgid "Sidebar settings updated."
76
+ msgstr "Configuración actualizada"
77
+
78
+ #: admin/views/edit-sidebar-screen.php:27
79
+ #: admin/views/meta-box-page-sidebar.php:4
80
+ msgid "Update widgets now."
81
+ msgstr "Actualizar widgets ahora."
82
+
83
+ #: admin/views/edit-sidebar-screen.php:49
84
+ msgid "Sidebar Name:"
85
+ msgstr "Nombre Sidebar:"
86
+
87
+ #: admin/views/edit-sidebar-screen.php:50
88
+ msgid "Enter sidebar name here"
89
+ msgstr "Introduzca aquí el nombre del sidebar"
90
+
91
+ #: admin/views/edit-sidebar-screen.php:62
92
+ msgid "Update Sidebar"
93
+ msgstr "Actualizar Sidebar"
94
+
95
+ #: admin/views/meta-box-page-sidebar.php:3
96
+ msgid "Sidebar saved."
97
+ msgstr "Sidebar guardado."
98
+
99
+ #: admin/views/meta-box-page-sidebar.php:9
100
+ msgid "Current sidebar:"
101
+ msgstr "Sidebar actual:"
102
+
103
+ #: admin/views/meta-box-page-sidebar.php:23
104
+ msgid "Or create a new sidebar:"
105
+ msgstr "O crear un nuevo sidebar:"
106
+
107
+ #: admin/views/meta-box-page-sidebar.php:26
108
+ msgid "Enter New"
109
+ msgstr "Introducir Nuevo"
110
+
111
+ #: admin/views/meta-box-page-sidebar.php:27
112
+ msgid "Cancel"
113
+ msgstr "Cancelar"
114
+
115
+ #: admin/views/meta-box-page-sidebar.php:32
116
+ msgid "Update"
117
+ msgstr "Actualizar"
118
+
119
+ #: admin/views/meta-box-sidebar-pages.php:4
120
+ msgid ""
121
+ "The above sidebar will replace the \"<strong>%s</strong>\" sidebar for all "
122
+ "pages selected below."
123
+ msgstr ""
124
+ "El sidebar anterior reemplazará la barra lateral \"<strong>%s</strong>\" "
125
+ "para todas las páginas seleccionadas por debajo."
126
+
127
+ #: admin/views/meta-box-sidebar-pages.php:6
128
+ msgid ""
129
+ "Any currently assigned custom sidebars will also be overridden for the "
130
+ "selected pages."
131
+ msgstr ""
132
+ "Cualquier sidebar personalizado también se sustituirá para las páginas "
133
+ "seleccionadas."
134
+
135
+ #: admin/views/meta-box-sidebar-pages.php:33
136
+ msgid ""
137
+ "To delete this sidebar, simply uncheck all pages and click the \"Update "
138
+ "Sidebar\" button."
139
+ msgstr ""
140
+ "Para eliminar esta barra lateral, simplemente desactive todas las páginas y "
141
+ "haga clic en el botón \"Actualizar Sidebar\"."
142
+
143
+ #: includes/widget-area.php:18
144
+ msgid "Include all widgets from another widget area"
145
+ msgstr "Incluyen todos los widgets desde otra área widget"
146
+
147
+ #: includes/widget-area.php:22
148
+ msgid "Widget Area"
149
+ msgstr "Área Widget"
150
+
151
+ #: includes/widget-area.php:62
152
+ msgid "Title:"
153
+ msgstr "Título:"
154
+
155
+ #: includes/widget-area.php:66
156
+ msgid "Area Name:"
157
+ msgstr "Nombre Área:"
158
+
159
+ #. Plugin Name of the plugin/theme
160
+ msgid "Simple Page Sidebars"
161
+ msgstr "Simple Page Sidebars"
162
+
163
+ #. Plugin URI of the plugin/theme
164
+ msgid "http://wordpress.org/extend/plugins/simple-page-sidebars/"
165
+ msgstr "http://wordpress.org/extend/plugins/simple-page-sidebars/"
166
+
167
+ #. Description of the plugin/theme
168
+ msgid "Assign custom, widget-enabled sidebars to any page with ease."
169
+ msgstr ""
170
+ "Asignar personalizadas, basados en el widget de las barras laterales a "
171
+ "cualquier página con facilidad."
172
+
173
+ #. Author of the plugin/theme
174
+ msgid "Blazer Six"
175
+ msgstr "Blazer Six"
176
+
177
+ #. Author URI of the plugin/theme
178
+ msgid "http://www.blazersix.com/"
179
+ msgstr "http://www.blazersix.com/"
languages/simple-page-sidebars.pot CHANGED
@@ -1,18 +1,18 @@
1
- # Copyright (C) 2014 Blazer Six
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Simple Page Sidebars 1.1.7\n"
6
  "Report-Msgid-Bugs-To: "
7
  "http://wordpress.org/support/plugin/simple-page-sidebars\n"
8
  "POT-Creation-Date: 2012-11-13 06:36-0800\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "PO-Revision-Date: 2014-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
- "X-Generator: grunt-wp-i18n 0.4.8\n"
16
  "X-Poedit-KeywordsList: "
17
  "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
18
  "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
@@ -152,7 +152,7 @@ msgid "Simple Page Sidebars"
152
  msgstr ""
153
 
154
  #. Plugin URI of the plugin/theme
155
- msgid "http://wordpress.org/extend/plugins/simple-page-sidebars/"
156
  msgstr ""
157
 
158
  #. Description of the plugin/theme
@@ -160,9 +160,11 @@ msgid "Assign custom, widget-enabled sidebars to any page with ease."
160
  msgstr ""
161
 
162
  #. Author of the plugin/theme
163
- msgid "Blazer Six"
164
  msgstr ""
165
 
166
  #. Author URI of the plugin/theme
167
- msgid "http://www.blazersix.com/"
 
 
168
  msgstr ""
1
+ # Copyright (C) 2015 Cedaro
2
  # This file is distributed under the GPL-2.0+.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Simple Page Sidebars 1.2.0\n"
6
  "Report-Msgid-Bugs-To: "
7
  "http://wordpress.org/support/plugin/simple-page-sidebars\n"
8
  "POT-Creation-Date: 2012-11-13 06:36-0800\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=utf-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "PO-Revision-Date: 2015-MO-DA HO:MI+ZONE\n"
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
+ "X-Generator: grunt-wp-i18n 0.5.2\n"
16
  "X-Poedit-KeywordsList: "
17
  "__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
18
  "attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
152
  msgstr ""
153
 
154
  #. Plugin URI of the plugin/theme
155
+ msgid "https://wordpress.org/plugins/simple-page-sidebars/"
156
  msgstr ""
157
 
158
  #. Description of the plugin/theme
160
  msgstr ""
161
 
162
  #. Author of the plugin/theme
163
+ msgid "Cedaro"
164
  msgstr ""
165
 
166
  #. Author URI of the plugin/theme
167
+ msgid ""
168
+ "http://www.cedaro.com/?utm_source=wordpress-plugin&utm_medium=link&utm_"
169
+ "content=simple-page-sidebars-author-uri&utm_campaign=plugins"
170
  msgstr ""
readme.txt CHANGED
@@ -1,9 +1,8 @@
1
  === Simple Page Sidebars ===
2
- Contributors: blazersix, bradyvercher
3
- Donate link: http://bit.ly/s2zcgD
4
  Tags: sidebars, custom sidebars, dynamic sidebar, simple, widget, widgets
5
- Requires at least: 3.4.2
6
- Tested up to: 4.0
7
  Stable tag: trunk
8
  License: GPL-2.0+
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -36,16 +35,16 @@ add_action( 'init', 'myprefix_init' );`
36
 
37
  = Additional Resources =
38
 
39
- * [Write a review](http://wordpress.org/support/view/plugin-reviews/simple-page-sidebars#postform)
40
- * [Have a question?](http://wordpress.org/support/plugin/simple-page-sidebars)
41
- * [Contribute on GitHub](https://github.com/blazersix/simple-page-sidebars)
42
- * [Follow @bradyvercher](https://twitter.com/bradyvercher)
43
- * [Hire Blazer Six](http://www.blazersix.com/)
44
 
45
  = Translation Credits =
46
 
47
  * Indonesian (id_ID) - Marga Satrya [v1.1.7]
48
  * Serbo-Croation (sr_RS) - Borisa Djuraskovic [v1.1.5]
 
49
 
50
  == Installation ==
51
 
@@ -88,6 +87,13 @@ Some themes register different sidebars for their page templates, which means th
88
 
89
  == Changelog ==
90
 
 
 
 
 
 
 
 
91
  = 1.1.7 =
92
  * Added Indonesian translation.
93
 
1
  === Simple Page Sidebars ===
2
+ Contributors: cedaro, bradyvercher
 
3
  Tags: sidebars, custom sidebars, dynamic sidebar, simple, widget, widgets
4
+ Requires at least: 4.0
5
+ Tested up to: 4.5
6
  Stable tag: trunk
7
  License: GPL-2.0+
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
35
 
36
  = Additional Resources =
37
 
38
+ * [Write a review](https://wordpress.org/support/view/plugin-reviews/simple-page-sidebars#postform)
39
+ * [Contribute on GitHub](https://github.com/cedaro/simple-page-sidebars)
40
+ * [Follow @cedaroco](https://twitter.com/cedaroco)
41
+ * [Visit Cedaro](http://www.cedaro.com/?utm_source=wordpress.org&utm_medium=link&utm_content=simple-page-sidebars-readme&utm_campaign=plugins)
 
42
 
43
  = Translation Credits =
44
 
45
  * Indonesian (id_ID) - Marga Satrya [v1.1.7]
46
  * Serbo-Croation (sr_RS) - Borisa Djuraskovic [v1.1.5]
47
+ * Spanish (es_ES) - David Perez [Closemarketing](https://www.closemarketing.es/) [v1.1.7]
48
 
49
  == Installation ==
50
 
87
 
88
  == Changelog ==
89
 
90
+ = 1.2.0 =
91
+ * Transferred to Cedaro.
92
+ * Updated the Widget Area class constructor to prevent deprecation notices in WP 4.3+.
93
+
94
+ = 1.1.8 =
95
+ * Added Spanish translation.
96
+
97
  = 1.1.7 =
98
  * Added Indonesian translation.
99
 
simple-page-sidebars.php CHANGED
@@ -1,20 +1,22 @@
1
  <?php
2
  /**
 
 
 
 
 
 
 
3
  * Plugin Name: Simple Page Sidebars
4
- * Plugin URI: http://wordpress.org/extend/plugins/simple-page-sidebars/
5
  * Description: Assign custom, widget-enabled sidebars to any page with ease.
6
- * Version: 1.1.7
7
- * Author: Blazer Six
8
- * Author URI: http://www.blazersix.com/
9
  * License: GPL-2.0+
10
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
  * Text Domain: simple-page-sidebars
12
  * Domain Path: /languages
13
- *
14
- * @package SimplePageSidebars
15
- * @author Brady Vercher <brady@blazersix.com>
16
- * @copyright Copyright (c) 2013, Blazer Six, Inc.
17
- * @license GPL-2.0+
18
  */
19
 
20
  /**
1
  <?php
2
  /**
3
+ * Simple Page Sidebars
4
+ *
5
+ * @package SimplePageSidebars
6
+ * @author Brady Vercher <brady@blazersix.com>
7
+ * @copyright Copyright (c) 2015 Cedaro, LLC
8
+ * @license GPL-2.0+
9
+ *
10
  * Plugin Name: Simple Page Sidebars
11
+ * Plugin URI: https://wordpress.org/plugins/simple-page-sidebars/
12
  * Description: Assign custom, widget-enabled sidebars to any page with ease.
13
+ * Version: 1.2.0
14
+ * Author: Cedaro
15
+ * Author URI: http://www.cedaro.com/?utm_source=wordpress-plugin&utm_medium=link&utm_content=simple-page-sidebars-author-uri&utm_campaign=plugins
16
  * License: GPL-2.0+
17
  * License URI: http://www.gnu.org/licenses/gpl-2.0.html
18
  * Text Domain: simple-page-sidebars
19
  * Domain Path: /languages
 
 
 
 
 
20
  */
21
 
22
  /**