Plugin Directory

Changeset 3338582


Ignore:
Timestamp:
08/03/2025 07:01:56 PM (8 months ago)
Author:
braintum
Message:

Preparing for 1.7.0 release

Location:
ultimate-faq-solution/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • ultimate-faq-solution/trunk/inc/Chatbot.php

    r3315752 r3338582  
    161161                    return array(
    162162                        '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'] ),
    164164                    );
    165165                },
  • ultimate-faq-solution/trunk/inc/Shortcodes.php

    r3321984 r3338582  
    9494                    'title_hide'     => null,
    9595                    'elements_order' => 'asc',
     96                    'exclude_items' => '',
    9697                ),
    9798                $atts
     
    126127                        $title_hide = 'yes';
    127128                    }
     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                    );
    128142                }
    129143
  • ultimate-faq-solution/trunk/inc/admin/installation.php

    r3311707 r3338582  
    3939        if ( UFAQSW_BASE === $plugin ) {
    4040            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' ) );
    4242                exit;
    4343            }
  • ultimate-faq-solution/trunk/inc/languages/ultimate-faq-solution.pot

    r3322838 r3338582  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Ultimate FAQ Solution 1.6.9\n"
     5"Project-Id-Version: Ultimate FAQ Solution 1.7.0\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/ultimate-faq-solution\n"
    8 "POT-Creation-Date: 2025-07-05 21:28:30+00:00\n"
     8"POT-Creation-Date: 2025-08-03 18:54:12+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    150150msgstr ""
    151151
    152 #: inc/Shortcodes.php:151 inc/Shortcodes.php:235 inc/Shortcodes.php:253
     152#: inc/Shortcodes.php:165 inc/Shortcodes.php:249 inc/Shortcodes.php:267
    153153#. translators: %s is the name of the template that was not found.
    154154msgid "%s Template Not Found"
  • ultimate-faq-solution/trunk/inc/templates/default/template.php

    r3311707 r3338582  
    7777            <?php echo true !== $is_show_all ? 'style="display:none"' : ''; ?>
    7878            >
    79             <?php echo wp_kses_post( apply_filters( 'the_content', $answer ) ); ?>
     79            <?php echo do_shortcode( $answer ); ?>
    8080            </div>
    8181        </div><!-- END OF TOGGLE -->
  • ultimate-faq-solution/trunk/inc/templates/style-1/template.php

    r3311707 r3338582  
    7171        <?php echo true === $is_show_all ? 'style="height: auto; opacity: 1;"' : ''; ?>
    7272        >
    73             <?php echo wp_kses_post( apply_filters( 'the_content', $answer ) ); ?>
     73            <?php echo do_shortcode( $answer ); ?>
    7474        </div>
    7575    </div>
  • ultimate-faq-solution/trunk/inc/templates/style-2/template.php

    r3311707 r3338582  
    6565            <?php echo true === $is_show_all ? 'style="display: block;"' : 'style="display: none;"'; ?>
    6666        >
    67             <?php echo wp_kses_post( apply_filters( 'the_content', $answer ) ); ?>
     67            <?php echo do_shortcode( $answer ); ?>
    6868        </section>
    6969    </div>
  • ultimate-faq-solution/trunk/init.php

    r3322838 r3338582  
    1010 *
    1111 * Plugin Name: Ultimate FAQ Solution
    12  * Version: 1.6.9
     12 * Version: 1.7.0
    1313 * Plugin URI: https://www.braintum.com/ultimate-faq-solution/
    1414 * Description: A WordPress plugin to create, organize, and display FAQs with responsive layouts and styles.
     
    2020 * License URI: https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses
    2121 * Requires at least: 5.1
    22  * Tested up to: 6.8.1
     22 * Tested up to: 6.8.2
    2323 *
    2424 * Requires PHP: 7.4
     
    3434* Use `plugin_dir_path` and `plugin_dir_url` only when necessary to reduce overhead.
    3535*/
    36 define( 'UFAQSW_VERSION', '1.6.9' );
     36define( 'UFAQSW_VERSION', '1.7.0' );
    3737define( 'UFAQSW_PRFX', 'ufaqsw' );
    3838define( 'UFAQSW_BASE', plugin_basename( __FILE__ ) );
  • ultimate-faq-solution/trunk/readme.txt

    r3322838 r3338582  
    44Tags: faq-directory, accordion, knowledgebase, product-faq, ai 
    55Requires at least: 5.1 
    6 Tested up to: 6.8.1 
    7 Stable tag: 1.6.9
     6Tested up to: 6.8.2 
     7Stable tag: 1.7.0
    88Requires PHP: 7.4.0 
    99License: GPLv2 or later 
     
    136136== Changelog ==
    137137
     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
    138143=1.6.9=
    139144* 🛒 Fixed broken FAQ styles on WooCommerce product pages for a more consistent appearance.
  • ultimate-faq-solution/trunk/vendor/composer/installed.json

    r3267338 r3338582  
    6464        }
    6565    ],
    66     "dev": true,
     66    "dev": false,
    6767    "dev-package-names": []
    6868}
  • ultimate-faq-solution/trunk/vendor/composer/installed.php

    r3322838 r3338582  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => '34f9cde8e1bd4f50656ffdf574b5022001ea5ab9',
     6        'reference' => 'd48b2a43d0e8baf7e7019e533f566bea97b7f579',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
    99        'aliases' => array(),
    10         'dev' => true,
     10        'dev' => false,
    1111    ),
    1212    'versions' => array(
     
    2323            'pretty_version' => 'dev-main',
    2424            'version' => 'dev-main',
    25             'reference' => '34f9cde8e1bd4f50656ffdf574b5022001ea5ab9',
     25            'reference' => 'd48b2a43d0e8baf7e7019e533f566bea97b7f579',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.