Plugin Directory

Changeset 3381482


Ignore:
Timestamp:
10/20/2025 06:11:10 PM (5 months ago)
Author:
braintum
Message:

Preparing for 1.7.9 release

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

Legend:

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

    r3357524 r3381482  
    186186                array(
    187187                    'exclude'        => '', // Coma seperated number string: 88, 86.
    188                     'title_hide'     => 'no',
     188                    'title_hide'     => null,
    189189                    'elements_order' => 'asc',
    190                     'behaviour'      => 'toggle',
     190                    'behaviour'      => 'default',
    191191                ),
    192192                $atts
     
    203203        );
    204204
     205        $original_title_hide = $title_hide;
     206
    205207        // default template.
    206208        $template  = 'default';
     
    227229                }
    228230
    229                 $designs              = apply_filters( 'ufaqsw_simplify_configuration_variables', ufaqsw_get_appearance_id( get_the_ID() ) );
    230                 $designs['behaviour'] = $behaviour;
     231                if ( null === $title_hide ) {
     232
     233                    $hide_title = get_post_meta( ufaqsw_get_appearance_id( get_the_ID() ), 'ufaqsw_hide_title', true );
     234
     235                    if ( '' !== $hide_title ) {
     236                        $title_hide = 'yes';
     237                    }
     238                }
     239
     240                $designs = apply_filters( 'ufaqsw_simplify_configuration_variables', ufaqsw_get_appearance_id( get_the_ID() ) );
     241
     242                if ( in_array( $behaviour, array( 'toggle', 'accordion' ) ) ) { // phpcs:ignore
     243                    $designs['behaviour'] = $behaviour;
     244                }
    231245
    232246                $template = apply_filters( 'ufaqsw_template_filter', $designs['template'] );
     
    254268                $all_content .= "<div class='ufaqsw_default_all_single_faq' id='ufaqsw_single_faq_" . esc_attr( get_the_ID() ) . "'>" . $content . '</div>';
    255269
     270                $title_hide = $original_title_hide;
    256271            }
    257272        }
  • ultimate-faq-solution/trunk/inc/languages/ultimate-faq-solution.pot

    r3380883 r3381482  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Ultimate FAQ Solution 1.7.8\n"
     5"Project-Id-Version: Ultimate FAQ Solution 1.7.9\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/ultimate-faq-solution\n"
    8 "POT-Creation-Date: 2025-10-19 16:26:12+00:00\n"
     8"POT-Creation-Date: 2025-10-20 18:00:42+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    271271msgstr ""
    272272
    273 #: inc/Shortcodes.php:166 inc/Shortcodes.php:249 inc/Shortcodes.php:267
     273#: inc/Shortcodes.php:166 inc/Shortcodes.php:263 inc/Shortcodes.php:282
    274274#. translators: %s is the name of the template that was not found.
    275275msgid "%s Template Not Found"
  • ultimate-faq-solution/trunk/init.php

    r3380883 r3381482  
    1010 *
    1111 * Plugin Name: Ultimate FAQ Solution
    12  * Version: 1.7.8
     12 * Version: 1.7.9
    1313 * Plugin URI: https://www.ultimatefaqsolution.com/
    1414 * Description: A WordPress plugin to create, organize, and display FAQs with responsive layouts and styles.
     
    3434* Use `plugin_dir_path` and `plugin_dir_url` only when necessary to reduce overhead.
    3535*/
    36 define( 'UFAQSW_VERSION', '1.7.8' );
     36define( 'UFAQSW_VERSION', '1.7.9' );
    3737define( 'UFAQSW_PRFX', 'ufaqsw' );
    3838define( 'UFAQSW_BASE', plugin_basename( __FILE__ ) );
  • ultimate-faq-solution/trunk/readme.txt

    r3380883 r3381482  
    55Requires at least: 5.1 
    66Tested up to: 6.8.3 
    7 Stable tag: 1.7.8
     7Stable tag: 1.7.9
    88Requires PHP: 7.4.0 
    99License: GPLv2 or later 
     
    182182== Changelog ==
    183183
     184=1.7.9=
     185* Fixed: Minor issue resolved for directory shortcode functionality.
     186
    184187=1.7.8=
    185188* New: Gutenberg block preview in editor - now see how your FAQ block will look directly in the WordPress editor.
  • ultimate-faq-solution/trunk/vendor/composer/installed.php

    r3380883 r3381482  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => 'c1992943722d2fecf77ad04a7100b4947f5f1f42',
     6        'reference' => '68afae5a5ec6a5ac5b6df54af67632a17bdc11a9',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-main',
    2424            'version' => 'dev-main',
    25             'reference' => 'c1992943722d2fecf77ad04a7100b4947f5f1f42',
     25            'reference' => '68afae5a5ec6a5ac5b6df54af67632a17bdc11a9',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.