Skip to content

Commit

Permalink
fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
followfung committed Mar 4, 2020
1 parent dceb6da commit 01a6ab1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rl-collapsible-section.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://github.com/ryersonlibrary
* Description: Adds the [rl_collapsible_section] shortcode to WordPress.
* GitHub Plugin URI: https://github.com/ryersonlibrary/rl-collapsible-section
* Version: 0.1.9
* Version: 0.1.10
*/

// Include our custom settings page for the plugin
Expand Down Expand Up @@ -72,7 +72,7 @@ function rl_collapsible_section_shortcode($atts = [], $content = null) {
add_shortcode('rl_collapsible_section', 'rl_collapsible_section_shortcode');

// [rl_collapsible_section_toggle_button] shortcode
function rl_collapsible_section_toggle_button_shortcode() {
function rl_collapsible_section_toggle_button_shortcode($atts = []) {
// normalize attribute keys, lowercase
$atts = array_change_key_case((array)$atts, CASE_LOWER);

Expand Down

0 comments on commit 01a6ab1

Please sign in to comment.