File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,18 @@ class cb_p6_core {
3232 // Holds plugin info. Overridden by options from db by merging db options into this
3333
3434 );
35+
36+ public $ hardcoded =array (
37+
38+ // Holds hardcoded vars
39+
40+ );
41+
42+ public $ lang =array (
43+
44+ // Holds lang vars
45+
46+ );
3547
3648 private function __construct ()
3749 {
Original file line number Diff line number Diff line change @@ -335,6 +335,9 @@ function widget($args, $instance) {
335335
336336 global $ cb_p6 ;
337337 extract ( $ args );
338+ if (!isset ($ instance ['title ' ]) ) {
339+ $ instance ['title ' ] = '' ;
340+ }
338341 $ title = apply_filters ('widget_title ' , $ instance ['title ' ]);
339342 $ message = $ instance ['message ' ];
340343 ?>
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
6565= 2.2.4 =
6666
6767* Removed unused updater code
68+ * Addressed some PHP warnings
6869
6970= 2.2.3 =
7071
@@ -223,6 +224,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
223224= 2.2.4 =
224225
225226* Removed unused updater code
227+ * Addressed some PHP warnings
226228
227229= 2.2.3 =
228230
You can’t perform that action at this time.
0 commit comments