Changeset 3338582
- Timestamp:
- 08/03/2025 07:01:56 PM (8 months ago)
- Location:
- ultimate-faq-solution/trunk
- Files:
-
- 11 edited
-
inc/Chatbot.php (modified) (1 diff)
-
inc/Shortcodes.php (modified) (2 diffs)
-
inc/admin/installation.php (modified) (1 diff)
-
inc/languages/ultimate-faq-solution.pot (modified) (2 diffs)
-
inc/templates/default/template.php (modified) (1 diff)
-
inc/templates/style-1/template.php (modified) (1 diff)
-
inc/templates/style-2/template.php (modified) (1 diff)
-
init.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
-
vendor/composer/installed.json (modified) (1 diff)
-
vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ultimate-faq-solution/trunk/inc/Chatbot.php
r3315752 r3338582 161 161 return array( 162 162 'question' => html_entity_decode( $item['ufaqsw_faq_question'] ), 163 'answer' => wp_kses_post( apply_filters( 'the_content', $item['ufaqsw_faq_answer'] )),163 'answer' => do_shortcode( $item['ufaqsw_faq_answer'] ), 164 164 ); 165 165 }, -
ultimate-faq-solution/trunk/inc/Shortcodes.php
r3321984 r3338582 94 94 'title_hide' => null, 95 95 'elements_order' => 'asc', 96 'exclude_items' => '', 96 97 ), 97 98 $atts … … 126 127 $title_hide = 'yes'; 127 128 } 129 } 130 131 if ( ! empty( $exclude_items ) ) { 132 $exclude_items = array_map( 'trim', explode( ',', $exclude_items ) ); 133 $faqs = array_filter( 134 $faqs, 135 function ( $faq, $index ) use ( $exclude_items ) { 136 // Adjust index to start from 1 instead of 0 137 $one_based_index = $index + 1; 138 return ! in_array( (string) $one_based_index, $exclude_items, true ); 139 }, 140 ARRAY_FILTER_USE_BOTH 141 ); 128 142 } 129 143 -
ultimate-faq-solution/trunk/inc/admin/installation.php
r3311707 r3338582 39 39 if ( UFAQSW_BASE === $plugin ) { 40 40 if ( 'cli' !== php_sapi_name() ) { 41 wp_safe_redirect( esc_url( admin_url( 'edit.php?post_type=ufaqsw&page=ufaqsw-settings#getting_started' )) );41 wp_safe_redirect( admin_url( 'edit.php?post_type=ufaqsw&page=ufaqsw-settings#getting_started' ) ); 42 42 exit; 43 43 } -
ultimate-faq-solution/trunk/inc/languages/ultimate-faq-solution.pot
r3322838 r3338582 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Ultimate FAQ Solution 1. 6.9\n"5 "Project-Id-Version: Ultimate FAQ Solution 1.7.0\n" 6 6 "Report-Msgid-Bugs-To: " 7 7 "https://wordpress.org/support/plugin/ultimate-faq-solution\n" 8 "POT-Creation-Date: 2025-0 7-05 21:28:30+00:00\n"8 "POT-Creation-Date: 2025-08-03 18:54:12+00:00\n" 9 9 "MIME-Version: 1.0\n" 10 10 "Content-Type: text/plain; charset=utf-8\n" … … 150 150 msgstr "" 151 151 152 #: inc/Shortcodes.php:1 51 inc/Shortcodes.php:235 inc/Shortcodes.php:253152 #: inc/Shortcodes.php:165 inc/Shortcodes.php:249 inc/Shortcodes.php:267 153 153 #. translators: %s is the name of the template that was not found. 154 154 msgid "%s Template Not Found" -
ultimate-faq-solution/trunk/inc/templates/default/template.php
r3311707 r3338582 77 77 <?php echo true !== $is_show_all ? 'style="display:none"' : ''; ?> 78 78 > 79 <?php echo wp_kses_post( apply_filters( 'the_content', $answer )); ?>79 <?php echo do_shortcode( $answer ); ?> 80 80 </div> 81 81 </div><!-- END OF TOGGLE --> -
ultimate-faq-solution/trunk/inc/templates/style-1/template.php
r3311707 r3338582 71 71 <?php echo true === $is_show_all ? 'style="height: auto; opacity: 1;"' : ''; ?> 72 72 > 73 <?php echo wp_kses_post( apply_filters( 'the_content', $answer )); ?>73 <?php echo do_shortcode( $answer ); ?> 74 74 </div> 75 75 </div> -
ultimate-faq-solution/trunk/inc/templates/style-2/template.php
r3311707 r3338582 65 65 <?php echo true === $is_show_all ? 'style="display: block;"' : 'style="display: none;"'; ?> 66 66 > 67 <?php echo wp_kses_post( apply_filters( 'the_content', $answer )); ?>67 <?php echo do_shortcode( $answer ); ?> 68 68 </section> 69 69 </div> -
ultimate-faq-solution/trunk/init.php
r3322838 r3338582 10 10 * 11 11 * Plugin Name: Ultimate FAQ Solution 12 * Version: 1. 6.912 * Version: 1.7.0 13 13 * Plugin URI: https://www.braintum.com/ultimate-faq-solution/ 14 14 * Description: A WordPress plugin to create, organize, and display FAQs with responsive layouts and styles. … … 20 20 * License URI: https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses 21 21 * Requires at least: 5.1 22 * Tested up to: 6.8. 122 * Tested up to: 6.8.2 23 23 * 24 24 * Requires PHP: 7.4 … … 34 34 * Use `plugin_dir_path` and `plugin_dir_url` only when necessary to reduce overhead. 35 35 */ 36 define( 'UFAQSW_VERSION', '1. 6.9' );36 define( 'UFAQSW_VERSION', '1.7.0' ); 37 37 define( 'UFAQSW_PRFX', 'ufaqsw' ); 38 38 define( 'UFAQSW_BASE', plugin_basename( __FILE__ ) ); -
ultimate-faq-solution/trunk/readme.txt
r3322838 r3338582 4 4 Tags: faq-directory, accordion, knowledgebase, product-faq, ai 5 5 Requires at least: 5.1 6 Tested up to: 6.8. 17 Stable tag: 1. 6.96 Tested up to: 6.8.2 7 Stable tag: 1.7.0 8 8 Requires PHP: 7.4.0 9 9 License: GPLv2 or later … … 136 136 == Changelog == 137 137 138 =1.7.0= 139 * 🛠 Composer dependencies updated for improved stability. 140 * ➕ Added `exclude_items` parameter to FAQ Group shortcode for more flexible FAQ display. 141 * 🖼️ Fixed issue with self-hosted video embeds in FAQ answers. 142 138 143 =1.6.9= 139 144 * 🛒 Fixed broken FAQ styles on WooCommerce product pages for a more consistent appearance. -
ultimate-faq-solution/trunk/vendor/composer/installed.json
r3267338 r3338582 64 64 } 65 65 ], 66 "dev": true,66 "dev": false, 67 67 "dev-package-names": [] 68 68 } -
ultimate-faq-solution/trunk/vendor/composer/installed.php
r3322838 r3338582 4 4 'pretty_version' => 'dev-main', 5 5 'version' => 'dev-main', 6 'reference' => ' 34f9cde8e1bd4f50656ffdf574b5022001ea5ab9',6 'reference' => 'd48b2a43d0e8baf7e7019e533f566bea97b7f579', 7 7 'type' => 'wordpress-plugin', 8 8 'install_path' => __DIR__ . '/../../', 9 9 'aliases' => array(), 10 'dev' => true,10 'dev' => false, 11 11 ), 12 12 'versions' => array( … … 23 23 'pretty_version' => 'dev-main', 24 24 'version' => 'dev-main', 25 'reference' => ' 34f9cde8e1bd4f50656ffdf574b5022001ea5ab9',25 'reference' => 'd48b2a43d0e8baf7e7019e533f566bea97b7f579', 26 26 'type' => 'wordpress-plugin', 27 27 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset
for help on using the changeset viewer.