Changeset 1285336
- Timestamp:
- 11/13/2015 04:20:47 AM (10 years ago)
- Location:
- easy-faq-with-expanding-text
- Files:
-
- 21 added
- 2 edited
-
tags/3.2.8.3 (added)
-
tags/3.2.8.3/arrows.png (added)
-
tags/3.2.8.3/arrowsWhite.png (added)
-
tags/3.2.8.3/downarrow.png (added)
-
tags/3.2.8.3/downarrowWhite.png (added)
-
tags/3.2.8.3/faq.php (added)
-
tags/3.2.8.3/faq_checkbox.png (added)
-
tags/3.2.8.3/faq_heading.png (added)
-
tags/3.2.8.3/faq_title.png (added)
-
tags/3.2.8.3/faqmaker.js (added)
-
tags/3.2.8.3/faqstyle.css (added)
-
tags/3.2.8.3/minussign.png (added)
-
tags/3.2.8.3/minussignWhite.png (added)
-
tags/3.2.8.3/none.png (added)
-
tags/3.2.8.3/plusminus.png (added)
-
tags/3.2.8.3/plusminusWhite.png (added)
-
tags/3.2.8.3/plussign.png (added)
-
tags/3.2.8.3/plussignWhite.png (added)
-
tags/3.2.8.3/readme.txt (added)
-
tags/3.2.8.3/uparrow.png (added)
-
tags/3.2.8.3/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
r1285301 r1285336 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. 25 Version: 3.2.8.3 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 $foldup = ($faqoptions['foldup']) ? $faqoptions['foldup'] : 'no'; 121 if ( array_key_exists('foldup',$faqoptions) ) { 122 $foldup = $faqoptions['foldup']; 123 } else { 124 $foldup = 'no'; 125 } 122 126 } 123 127 else { … … 134 138 function faq_footer() { 135 139 $faqoptions = get_option('bg_faq_options'); 136 $foldup = ($faqoptions['foldup']) ? $faqoptions['foldup'] : 'no'; 140 if ( array_key_exists('foldup',$faqoptions) ) { 141 $foldup = $faqoptions['foldup']; 142 } else { 143 $foldup = 'no'; 144 } 137 145 echo '<script>if ( typeof faqStarted == "undefined" ) { 138 146 faqStarted = true; … … 146 154 if ( $foldupOptions == 'default' || $foldupOptions == false ) { 147 155 $faqoptions = get_option('bg_faq_options'); 148 $foldup = ($faqoptions['foldup']) ? $faqoptions['foldup'] : 'no'; 156 if ( array_key_exists('foldup',$faqoptions) ) { 157 $foldup = $faqoptions['foldup']; 158 } else { 159 $foldup = 'no'; 160 } 149 161 } 150 162 else { … … 332 344 $foldupDefaultChecked = ''; 333 345 } else { 334 $foldup = ($faqoptions['foldup']) ? $faqoptions['foldup'] : 'no'; 346 if ( array_key_exists('foldup',$faqoptions) ) { 347 $foldup = $faqoptions['foldup']; 348 } else { 349 $foldup = 'no'; 350 } 335 351 $foldupYesChecked = ''; 336 352 $foldupNoChecked = ''; … … 410 426 if ( $foldupOptions == 'default' || $foldupOptions == false ) { 411 427 $faqoptions = get_option('bg_faq_options'); 412 $foldup = ($faqoptions['foldup']) ? $faqoptions['foldup'] : 'no'; 428 if ( array_key_exists('foldup',$faqoptions) ) { 429 $foldup = $faqoptions['foldup']; 430 } else { 431 $foldup = 'no'; 432 } 413 433 } 414 434 else { -
easy-faq-with-expanding-text/trunk/readme.txt
r1285301 r1285336 4 4 Tags: faq pages 5 5 Tested up to: 4.3.1 6 Stable tag: 3.2.8. 26 Stable tag: 3.2.8.3 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.2.8.3= 27 Fixed what 3.2.8.2 was supposed to fix. :) 25 28 26 29 =3.2.8.2=
Note: See TracChangeset
for help on using the changeset viewer.