Changeset 1287895
- Timestamp:
- 11/17/2015 11:19:57 AM (10 years ago)
- Location:
- easy-faq-with-expanding-text
- Files:
-
- 21 added
- 2 edited
-
tags/3.2.8.3.1 (added)
-
tags/3.2.8.3.1/arrows.png (added)
-
tags/3.2.8.3.1/arrowsWhite.png (added)
-
tags/3.2.8.3.1/downarrow.png (added)
-
tags/3.2.8.3.1/downarrowWhite.png (added)
-
tags/3.2.8.3.1/faq.php (added)
-
tags/3.2.8.3.1/faq_checkbox.png (added)
-
tags/3.2.8.3.1/faq_heading.png (added)
-
tags/3.2.8.3.1/faq_title.png (added)
-
tags/3.2.8.3.1/faqmaker.js (added)
-
tags/3.2.8.3.1/faqstyle.css (added)
-
tags/3.2.8.3.1/minussign.png (added)
-
tags/3.2.8.3.1/minussignWhite.png (added)
-
tags/3.2.8.3.1/none.png (added)
-
tags/3.2.8.3.1/plusminus.png (added)
-
tags/3.2.8.3.1/plusminusWhite.png (added)
-
tags/3.2.8.3.1/plussign.png (added)
-
tags/3.2.8.3.1/plussignWhite.png (added)
-
tags/3.2.8.3.1/readme.txt (added)
-
tags/3.2.8.3.1/uparrow.png (added)
-
tags/3.2.8.3.1/uparrowWhite.png (added)
-
trunk/faq.php (modified) (6 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-faq-with-expanding-text/trunk/faq.php
r1285336 r1287895 3 3 Plugin Name: Easy FAQ with Expanding Text 4 4 Description: Easily create a Frequently Asked Questions page with answers that slide down when the questions are clicked...or a non-FAQ page with the same effect. No need for a shortcode, HTML coding, or javascript tweaking. 5 Version: 3.2.8.3 5 Version: 3.2.8.3.1 6 6 Author: bgentry 7 7 Author URI: http://bryangentry.us … … 119 119 if ( $foldupOptions == 'default' || $foldupOptions == false ) { 120 120 $faqoptions = get_option('bg_faq_options'); 121 if ( array_key_exists('foldup',$faqoptions) ) { 122 $foldup = $faqoptions['foldup']; 121 122 if ( is_array ( $faqoptions ) ) { 123 if ( array_key_exists('foldup',$faqoptions) ) { 124 $foldup = $faqoptions['foldup']; 125 } else { 126 $foldup = 'no'; 127 } 123 128 } else { 124 129 $foldup = 'no'; … … 138 143 function faq_footer() { 139 144 $faqoptions = get_option('bg_faq_options'); 145 if ( is_array ( $faqoptions ) ) { 140 146 if ( array_key_exists('foldup',$faqoptions) ) { 141 $foldup = $faqoptions['foldup']; 147 $foldup = $faqoptions['foldup']; 148 } else { 149 $foldup = 'no'; 150 } 142 151 } else { 143 152 $foldup = 'no'; … … 154 163 if ( $foldupOptions == 'default' || $foldupOptions == false ) { 155 164 $faqoptions = get_option('bg_faq_options'); 156 if ( array_key_exists('foldup',$faqoptions) ) { 157 $foldup = $faqoptions['foldup']; 165 if ( is_array ( $faqoptions ) ) { 166 if ( array_key_exists('foldup',$faqoptions) ) { 167 $foldup = $faqoptions['foldup']; 168 } else { 169 $foldup = 'no'; 170 } 158 171 } else { 159 172 $foldup = 'no'; … … 344 357 $foldupDefaultChecked = ''; 345 358 } else { 346 if ( array_key_exists('foldup',$faqoptions) ) { 347 $foldup = $faqoptions['foldup']; 359 if ( is_array ( $faqoptions ) ) { 360 if ( array_key_exists('foldup',$faqoptions) ) { 361 $foldup = $faqoptions['foldup']; 362 } else { 363 $foldup = 'no'; 364 } 348 365 } else { 349 366 $foldup = 'no'; … … 426 443 if ( $foldupOptions == 'default' || $foldupOptions == false ) { 427 444 $faqoptions = get_option('bg_faq_options'); 428 if ( array_key_exists('foldup',$faqoptions) ) { 429 $foldup = $faqoptions['foldup']; 445 if ( is_array ( $faqoptions ) ) { 446 if ( array_key_exists('foldup',$faqoptions) ) { 447 $foldup = $faqoptions['foldup']; 448 } else { 449 $foldup = 'no'; 450 } 430 451 } else { 431 452 $foldup = 'no'; -
easy-faq-with-expanding-text/trunk/readme.txt
r1285336 r1287895 4 4 Tags: faq pages 5 5 Tested up to: 4.3.1 6 Stable tag: 3.2.8.3 6 Stable tag: 3.2.8.3.1 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 23 23 24 24 == Changelog == 25 26 =3.3.8.3.1= 27 *Fixed an error message with array_key_exists where a non-array was being returned 25 28 26 29 =3.2.8.3=
Note: See TracChangeset
for help on using the changeset viewer.