Commit Graph

31 Commits

Author SHA1 Message Date
Nick Cernis b56186f3d8 fix: display Genesis download link (#59)
Instead of the anchor tag as plaintext, show the clickable link.
2024-03-06 09:28:32 +01:00
Nick Cernis c735f066ae fix: deprecation warning dynamic 'term' property (#58)
Resolves:

PHP Deprecated:  Creation of dynamic property Genesis_Simple_Sidebars::$term is deprecated in /Users/user.name/Local Sites/php82/app/public/wp-content/plugins/genesis-simple-sidebars/includes/class-genesis-simple-sidebars.php on line 162
2024-03-06 09:27:59 +01:00
Nick Cernis 0552098a50 [GF-3978] fix: stop corrupt sidebar data from causing errors (#56)
* fix: stop corrupt sidebar data from causing errors

By filtering out sidebars without a name in get_sidebars.

The name is a required field when entering new sidebars,
so sidebars missing a name are likely corrupt.

Designed to address "Cannot access offset of type string on string"
when trying to access $sidebar['name'] for sidebars without a name.

See https://wordpress.org/support/topic/php-8-2-error-6/.

* chore: formatting
2024-03-06 09:27:45 +01:00
Phil Johnston b5a76505ff Remove inline width (created overlap) 2020-04-01 14:06:57 -04:00
Marcos Schratzenstaller f42b9c04db Allow sidebars to show in the custom Blog Posts page 2019-07-01 17:28:17 -03:00
Marcos Schratzenstaller 274ca9fd6f Fix new sidebar not saving when using classic editor. 2019-05-07 08:54:54 -04:00
Marcos Schratzenstaller 1707410622 Fix hanging when a sidebar with the same id is added. 2019-05-07 08:54:54 -04:00
Marcos Schratzenstaller d6b32b1e70 Coding standards erorrs fixed, sanitization and escaping strings. 2019-05-07 08:54:54 -04:00
Marcos Schratzenstaller fd504d41ac Introducing coding standards validation. 2019-05-07 08:54:54 -04:00
Nick Cernis 6e40c921ab Ensure term fields are added after the PODS plugin registers terms
Fixes #34.
2019-04-24 10:22:34 -04:00
Nathan Rice 87b2e738d4 Docs, and bump WP version. Fixes #24. 2017-04-13 15:05:19 -04:00
Nathan Rice 42315b2944 Indicate replacement for ss_do_one_sidebar(). see #22. 2017-03-10 17:18:33 -05:00
Nathan Rice 6f8b1a2069 Modify deprecated functions for backward compatibility. see #22. 2017-03-10 14:27:11 -05:00
Nathan Rice 7b439c95a7 Use more reliable method for switching sidebars. should eliminate issues moving sidebars in #22. 2017-03-08 22:42:02 -05:00
Nathan Rice e5c3b527f1 Account for net result empty sidebar ID. 2017-03-03 13:09:34 -05:00
Nathan Rice 6afb3213f7 Account for numeric sidebars. 2017-03-03 10:50:52 -05:00
Nathan Rice dffb99c57b Remove debugging code. 2017-03-03 10:44:09 -05:00
Nathan Rice febb5ede11 Rewrite based on new plugin boilerplate. 2017-03-01 19:51:34 -05:00
Nathan Rice 97fac5c57b Fix errors associated with variables not being set. see #8, #17. 2016-04-21 11:36:53 -04:00
Nathan Rice 93a304aa06 Update for new term meta handling. 2016-02-24 14:48:19 -05:00
Nathan Rice 5d5b60de23 Grunt, POT. 2015-09-29 17:18:50 -04:00
Nick Croft 8d371db957 Make admin object global
To make it easier to alter the admin behavior the admin object should
be made into a global variable. This addresses that.
2014-06-09 11:45:48 -04:00
Nathan Rice 4b8381b9ca Comment standard. 2013-08-26 20:10:32 -04:00
Nathan Rice 4ab113f4a8 Sync with develop. 2013-08-26 20:05:25 -04:00
Nathan Rice eeddc174f8 sweep. 2013-08-26 20:03:20 -04:00
Nathan Rice eedd494ae5 Use proper key for Genesis 2.0.1 compatibility. 2013-08-26 15:02:02 -04:00
Bill Erickson f84db05c75 use sidebar name rather than hardcoded labels 2013-08-09 18:44:30 -05:00
Nathan Rice 718dfd9a55 Genesis 2.0 compatibility, standards. 2013-08-09 13:35:43 -04:00
Nathan Rice cf767d3206 Tagging 1.0.0. 2013-08-09 13:11:17 -04:00
Nathan Rice 33940b3bce Purge develop branch. 2013-08-09 13:04:58 -04:00
Nathan Rice 9a5731ec92 Sync with wordpress.org repo trunk. 2013-07-01 14:08:41 -04:00