Plugin Directory

Changeset 3365050


Ignore:
Timestamp:
09/20/2025 05:34:57 PM (6 months ago)
Author:
braintum
Message:

Preparing for 1.7.3 release

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

Legend:

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

    r3319249 r3365050  
    181181
    182182            $is_enable = get_post_meta( $post->ID, '_ufaqsw_enable_faq_tab', true );
    183             $title     = get_option( 'ufaqsw_global_faq_label' ) ?? esc_html__( 'FAQs', 'ufaqsw' );
    184183            $data      = get_post_meta( $post->ID, '_ufaqsw_tab_data', true );
    185184
    186             if ( get_option( 'ufaqsw_enable_global_faq' ) === 'on' && get_option( 'ufaqsw_global_faq' ) !== '' ) {
    187 
    188                 $faqs = apply_filters( 'ufaqsw_simplify_faqs', get_post_meta( get_post( get_option( 'ufaqsw_global_faq' ) )->ID, 'ufaqsw_faq_item01' ) );
     185            if ( 'yes' === $is_enable && '' !== $data ) {
     186
     187                $faqs = apply_filters( 'ufaqsw_simplify_faqs', get_post_meta( get_post( $data )->ID, 'ufaqsw_faq_item01' ) );
    189188
    190189                if ( ! empty( $faqs ) ) {
    191190                    $faqs_data = array_merge( $faqs_data, $faqs );
    192191                }
    193             }
    194             if ( 'yes' === $is_enable && '' !== $data ) {
    195 
    196                 $faqs = apply_filters( 'ufaqsw_simplify_faqs', get_post_meta( get_post( $data )->ID, 'ufaqsw_faq_item01' ) );
     192            } elseif ( get_option( 'ufaqsw_enable_global_faq' ) === 'on' && get_option( 'ufaqsw_global_faq' ) !== '' ) {
     193
     194                $faqs = apply_filters( 'ufaqsw_simplify_faqs', get_post_meta( get_post( get_option( 'ufaqsw_global_faq' ) )->ID, 'ufaqsw_faq_item01' ) );
    197195
    198196                if ( ! empty( $faqs ) ) {
  • ultimate-faq-solution/trunk/inc/admin/class-directory-post-type.php

    r3321984 r3365050  
    4343        'exclude_from_search' => true,
    4444        'show_in_nav_menus'   => false,
    45         'supports'            => array( 'title', 'revisions' ),
     45        'supports'            => array( 'title' ),
    4646        'has_archive'         => false,
    47         'menu_icon'           => '',
    4847        'public'              => false,  // it's not public, it shouldn't have its own permalink, and so on.
    4948        'publicly_queryable'  => false,  // you should be able to query it.
  • ultimate-faq-solution/trunk/inc/languages/ultimate-faq-solution.pot

    r3357524 r3365050  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Ultimate FAQ Solution 1.7.2\n"
     5"Project-Id-Version: Ultimate FAQ Solution 1.7.3\n"
    66"Report-Msgid-Bugs-To: "
    77"https://wordpress.org/support/plugin/ultimate-faq-solution\n"
    8 "POT-Creation-Date: 2025-09-07 20:40:13+00:00\n"
     8"POT-Creation-Date: 2025-09-20 17:28:07+00:00\n"
    99"MIME-Version: 1.0\n"
    1010"Content-Type: text/plain; charset=utf-8\n"
     
    6262msgstr ""
    6363
    64 #: inc/AppearanceActions.php:189 inc/admin/class-directory-post-type.php:400
     64#: inc/AppearanceActions.php:189 inc/admin/class-directory-post-type.php:399
    6565#: inc/admin/settings/ai-integration.php:85
    6666msgid "Title"
     
    7171msgstr ""
    7272
    73 #: inc/AppearanceActions.php:191 inc/admin/class-directory-post-type.php:404
     73#: inc/AppearanceActions.php:191 inc/admin/class-directory-post-type.php:403
    7474msgid "Date"
    7575msgstr ""
     
    113113msgstr ""
    114114
    115 #: inc/FAQGroupActions.php:109 inc/admin/class-directory-post-type.php:69
    116 #: inc/admin/class-directory-post-type.php:428
     115#: inc/FAQGroupActions.php:109 inc/admin/class-directory-post-type.php:68
     116#: inc/admin/class-directory-post-type.php:427
    117117msgid "Edit Appearance"
    118118msgstr ""
     
    127127
    128128#: inc/Product_Tab.php:75 inc/Product_Tab.php:80 inc/Product_Tab.php:89
    129 #: inc/Product_Tab.php:109 inc/SEO.php:183
    130 #: inc/admin/class-directory-post-type.php:343
     129#: inc/Product_Tab.php:109 inc/admin/class-directory-post-type.php:342
    131130msgid "FAQs"
    132131msgstr ""
     
    167166msgstr ""
    168167
    169 #: inc/admin/chatbot.php:44 inc/admin/class-directory-post-type.php:63
    170 #: inc/admin/class-directory-post-type.php:65
    171 #: inc/admin/class-directory-post-type.php:121
    172 #: inc/admin/class-directory-post-type.php:402
     168#: inc/admin/chatbot.php:44 inc/admin/class-directory-post-type.php:62
     169#: inc/admin/class-directory-post-type.php:64
     170#: inc/admin/class-directory-post-type.php:120
     171#: inc/admin/class-directory-post-type.php:401
    173172msgid "Appearance"
    174173msgstr ""
     
    445444msgstr ""
    446445
    447 #: inc/admin/class-directory-post-type.php:62
    448 #: inc/admin/class-directory-post-type.php:64
     446#: inc/admin/class-directory-post-type.php:61
     447#: inc/admin/class-directory-post-type.php:63
    449448msgid "Appearances"
    450449msgstr ""
    451450
     451#: inc/admin/class-directory-post-type.php:65
     452msgid "Add New"
     453msgstr ""
     454
    452455#: inc/admin/class-directory-post-type.php:66
    453 msgid "Add New"
     456msgid "Add New Appearance"
    454457msgstr ""
    455458
    456459#: inc/admin/class-directory-post-type.php:67
    457 msgid "Add New Appearance"
    458 msgstr ""
    459 
    460 #: inc/admin/class-directory-post-type.php:68
    461460msgid "New Appearance"
    462461msgstr ""
    463462
     463#: inc/admin/class-directory-post-type.php:69
     464msgid "View Appearance"
     465msgstr ""
     466
    464467#: inc/admin/class-directory-post-type.php:70
    465 msgid "View Appearance"
     468msgid "All Appearances"
    466469msgstr ""
    467470
    468471#: inc/admin/class-directory-post-type.php:71
    469 msgid "All Appearances"
     472msgid "Search Appearances"
    470473msgstr ""
    471474
    472475#: inc/admin/class-directory-post-type.php:72
    473 msgid "Search Appearances"
     476msgid "No appearances found."
    474477msgstr ""
    475478
    476479#: inc/admin/class-directory-post-type.php:73
    477 msgid "No appearances found."
    478 msgstr ""
    479 
    480 #: inc/admin/class-directory-post-type.php:74
    481480msgid "No appearances found in Trash."
    482481msgstr ""
    483482
    484 #: inc/admin/class-directory-post-type.php:130
     483#: inc/admin/class-directory-post-type.php:129
    485484msgid "Choose A Template"
    486485msgstr ""
    487486
    488 #: inc/admin/class-directory-post-type.php:134
     487#: inc/admin/class-directory-post-type.php:133
    489488#: vendor/cmb2/cmb2/includes/CMB2_JS.php:178
    490489msgid "Default"
    491490msgstr ""
    492491
     492#: inc/admin/class-directory-post-type.php:134
     493msgid "Style 1"
     494msgstr ""
     495
    493496#: inc/admin/class-directory-post-type.php:135
    494 msgid "Style 1"
    495 msgstr ""
    496 
    497 #: inc/admin/class-directory-post-type.php:136
    498497msgid "Style 2"
    499498msgstr ""
    500499
    501 #: inc/admin/class-directory-post-type.php:144
     500#: inc/admin/class-directory-post-type.php:143
    502501msgid "Faq Group Title Color"
    503502msgstr ""
    504503
    505 #: inc/admin/class-directory-post-type.php:146
     504#: inc/admin/class-directory-post-type.php:145
    506505msgid "Change the Group Title color"
    507506msgstr ""
    508507
     508#: inc/admin/class-directory-post-type.php:152
     509msgid "Faq Group Title Font Size (ex: 30px)"
     510msgstr ""
     511
    509512#: inc/admin/class-directory-post-type.php:153
    510 msgid "Faq Group Title Font Size (ex: 30px)"
    511 msgstr ""
    512 
    513 #: inc/admin/class-directory-post-type.php:154
    514513msgid "Change the Group Title font size ex: 30px"
    515514msgstr ""
    516515
    517 #: inc/admin/class-directory-post-type.php:163
     516#: inc/admin/class-directory-post-type.php:162
    518517msgid "Question Color"
    519518msgstr ""
    520519
    521 #: inc/admin/class-directory-post-type.php:165
     520#: inc/admin/class-directory-post-type.php:164
    522521msgid "Change the Question color"
    523522msgstr ""
    524523
    525 #: inc/admin/class-directory-post-type.php:173
    526 #: inc/admin/class-directory-post-type.php:176
     524#: inc/admin/class-directory-post-type.php:172
     525#: inc/admin/class-directory-post-type.php:175
    527526msgid "Display Question in Bold"
    528527msgstr ""
    529528
    530 #: inc/admin/class-directory-post-type.php:182
     529#: inc/admin/class-directory-post-type.php:181
    531530msgid "Answer Color"
    532531msgstr ""
    533532
    534 #: inc/admin/class-directory-post-type.php:184
     533#: inc/admin/class-directory-post-type.php:183
    535534msgid "Change the Answer color"
    536535msgstr ""
    537536
    538 #: inc/admin/class-directory-post-type.php:192
     537#: inc/admin/class-directory-post-type.php:191
    539538msgid "Question Background Color"
    540539msgstr ""
    541540
    542 #: inc/admin/class-directory-post-type.php:194
     541#: inc/admin/class-directory-post-type.php:193
    543542msgid "Change the Question Background color"
    544543msgstr ""
    545544
    546 #: inc/admin/class-directory-post-type.php:202
     545#: inc/admin/class-directory-post-type.php:201
    547546msgid "Answer Background Color"
    548547msgstr ""
    549548
    550 #: inc/admin/class-directory-post-type.php:204
     549#: inc/admin/class-directory-post-type.php:203
    551550msgid "Change the Answer Background color"
    552551msgstr ""
    553552
    554 #: inc/admin/class-directory-post-type.php:212
     553#: inc/admin/class-directory-post-type.php:211
    555554msgid "Border Color"
    556555msgstr ""
    557556
    558 #: inc/admin/class-directory-post-type.php:214
     557#: inc/admin/class-directory-post-type.php:213
    559558msgid "Change the default border color"
    560559msgstr ""
    561560
     561#: inc/admin/class-directory-post-type.php:220
     562msgid "Question Font Size (ex: 20px)"
     563msgstr ""
     564
    562565#: inc/admin/class-directory-post-type.php:221
    563 msgid "Question Font Size (ex: 20px)"
    564 msgstr ""
    565 
    566 #: inc/admin/class-directory-post-type.php:222
    567566msgid "Change the Question Font Size ex: 20px"
    568567msgstr ""
    569568
     569#: inc/admin/class-directory-post-type.php:230
     570msgid "Answer Font Size (ex: 20px)"
     571msgstr ""
     572
    570573#: inc/admin/class-directory-post-type.php:231
    571 msgid "Answer Font Size (ex: 20px)"
    572 msgstr ""
    573 
    574 #: inc/admin/class-directory-post-type.php:232
    575574msgid "Change the Answer Font Size ex: 20px"
    576575msgstr ""
    577576
    578 #: inc/admin/class-directory-post-type.php:241
     577#: inc/admin/class-directory-post-type.php:240
    579578msgid "Normal Icon"
    580579msgstr ""
    581580
    582 #: inc/admin/class-directory-post-type.php:243
    583 #: inc/admin/class-directory-post-type.php:252
     581#: inc/admin/class-directory-post-type.php:242
     582#: inc/admin/class-directory-post-type.php:251
    584583msgid "Change the default icon by clicking on the input box."
    585584msgstr ""
    586585
    587 #: inc/admin/class-directory-post-type.php:250
     586#: inc/admin/class-directory-post-type.php:249
    588587msgid "Active Icon"
    589588msgstr ""
    590589
     590#: inc/admin/class-directory-post-type.php:258
     591msgid "FAQ Behaviour"
     592msgstr ""
     593
    591594#: inc/admin/class-directory-post-type.php:259
    592 msgid "FAQ Behaviour"
    593 msgstr ""
    594 
    595 #: inc/admin/class-directory-post-type.php:260
    596595msgid "Default behaviour is Toggle. You can change it to Accordion"
    597596msgstr ""
    598597
     598#: inc/admin/class-directory-post-type.php:263
     599msgid "Toggle"
     600msgstr ""
     601
    599602#: inc/admin/class-directory-post-type.php:264
    600 msgid "Toggle"
    601 msgstr ""
    602 
    603 #: inc/admin/class-directory-post-type.php:265
    604603msgid "Accordion"
    605604msgstr ""
    606605
     606#: inc/admin/class-directory-post-type.php:271
    607607#: inc/admin/class-directory-post-type.php:272
    608 #: inc/admin/class-directory-post-type.php:273
    609608msgid "Show all Answers by Default"
    610609msgstr ""
    611610
     611#: inc/admin/class-directory-post-type.php:284
    612612#: inc/admin/class-directory-post-type.php:285
    613 #: inc/admin/class-directory-post-type.php:286
    614613msgid "Hide Group Title"
    615614msgstr ""
    616615
    617 #: inc/admin/class-directory-post-type.php:303
     616#: inc/admin/class-directory-post-type.php:302
    618617msgid "Group Description"
    619618msgstr ""
    620619
    621 #: inc/admin/class-directory-post-type.php:312
     620#: inc/admin/class-directory-post-type.php:311
    622621msgid "Note: This section is visible only in the FAQ Assistant window."
    623622msgstr ""
    624623
     624#: inc/admin/class-directory-post-type.php:319
     625msgid "Short Description"
     626msgstr ""
     627
    625628#: inc/admin/class-directory-post-type.php:320
    626 msgid "Short Description"
    627 msgstr ""
    628 
    629 #: inc/admin/class-directory-post-type.php:321
    630629msgid ""
    631630"Write a short description about the FAQ group. This will only be displayed "
     
    633632msgstr ""
    634633
    635 #: inc/admin/class-directory-post-type.php:352
     634#: inc/admin/class-directory-post-type.php:351
    636635msgid "Add FAQ to this group by click on \"Add FAQ Entry\" Button"
    637636msgstr ""
    638637
     638#: inc/admin/class-directory-post-type.php:353
     639msgid "FAQ {#}"
     640msgstr ""
     641
    639642#: inc/admin/class-directory-post-type.php:354
    640 msgid "FAQ {#}"
     643msgid "Add FAQ Entry"
    641644msgstr ""
    642645
    643646#: inc/admin/class-directory-post-type.php:355
    644 msgid "Add FAQ Entry"
    645 msgstr ""
    646 
    647 #: inc/admin/class-directory-post-type.php:356
    648647msgid "Remove FAQ Entry"
    649648msgstr ""
    650649
    651 #: inc/admin/class-directory-post-type.php:359
     650#: inc/admin/class-directory-post-type.php:358
    652651msgid "Are you sure you want to remove the FAQ entry?"
    653652msgstr ""
    654653
    655 #: inc/admin/class-directory-post-type.php:367
     654#: inc/admin/class-directory-post-type.php:366
    656655msgid "Question"
    657656msgstr ""
    658657
    659 #: inc/admin/class-directory-post-type.php:369
     658#: inc/admin/class-directory-post-type.php:368
    660659msgid "Write Your Question"
    661660msgstr ""
    662661
     662#: inc/admin/class-directory-post-type.php:376
     663msgid "Answer"
     664msgstr ""
     665
    663666#: inc/admin/class-directory-post-type.php:377
    664 msgid "Answer"
    665 msgstr ""
    666 
    667 #: inc/admin/class-directory-post-type.php:378
    668667msgid "Write Your Answer"
    669668msgstr ""
    670669
    671 #: inc/admin/class-directory-post-type.php:401
     670#: inc/admin/class-directory-post-type.php:400
    672671msgid "Number of FAQs"
    673672msgstr ""
    674673
    675 #: inc/admin/class-directory-post-type.php:403
     674#: inc/admin/class-directory-post-type.php:402
    676675msgid "Shortcode"
    677676msgstr ""
    678677
    679 #: inc/admin/class-directory-post-type.php:547
     678#: inc/admin/class-directory-post-type.php:546
    680679msgid "Duplicate this item"
    681680msgstr ""
    682681
    683 #: inc/admin/class-directory-post-type.php:547
     682#: inc/admin/class-directory-post-type.php:546
    684683msgid "Duplicate"
    685684msgstr ""
  • ultimate-faq-solution/trunk/init.php

    r3357524 r3365050  
    1010 *
    1111 * Plugin Name: Ultimate FAQ Solution
    12  * Version: 1.7.2
     12 * Version: 1.7.3
    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.
     
    3434* Use `plugin_dir_path` and `plugin_dir_url` only when necessary to reduce overhead.
    3535*/
    36 define( 'UFAQSW_VERSION', '1.7.2' );
     36define( 'UFAQSW_VERSION', '1.7.3' );
    3737define( 'UFAQSW_PRFX', 'ufaqsw' );
    3838define( 'UFAQSW_BASE', plugin_basename( __FILE__ ) );
  • ultimate-faq-solution/trunk/readme.txt

    r3357524 r3365050  
    55Requires at least: 5.1 
    66Tested up to: 6.8.2 
    7 Stable tag: 1.7.2
     7Stable tag: 1.7.3
    88Requires PHP: 7.4.0 
    99License: GPLv2 or later 
     
    136136== Changelog ==
    137137
     138= 1.7.3 =
     139* Fixed: FAQ schema for WooCommerce products now outputs correctly for improved SEO.
     140* Fixed: FAQ group sorting now works as expected.
     141
    138142=1.7.2=
    139143* Improved compatibility: Shortcodes now work when inserted dynamically via ACF fields, popular page builders, and widgets.
  • ultimate-faq-solution/trunk/vendor/cmb2/cmb2/includes/CMB2_JS.php

    r3267338 r3365050  
    8181
    8282        // Only use minified files if SCRIPT_DEBUG is off.
    83         $debug = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG;
     83        $debug = true;
    8484
    8585        $min = $debug ? '' : '.min';
     
    147147    public static function register_colorpicker_alpha( $enqueue = false ) {
    148148        // Only use minified files if SCRIPT_DEBUG is off.
    149         $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
     149        $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '';
    150150        $func = $enqueue ? 'wp_enqueue_script' : 'wp_register_script';
    151151        $func( 'wp-color-picker-alpha', CMB2_Utils::url( "js/wp-color-picker-alpha{$min}.js" ), array( 'wp-color-picker' ), '2.1.3' );
  • ultimate-faq-solution/trunk/vendor/cmb2/cmb2/js/cmb2-wysiwyg.js

    r2886646 r3365050  
    240240        $row.find( '.cmb2-wysiwyg-inner-wrap' ).each( function() {
    241241            $toReplace    = $( this );
     242            var parentGroup = $toReplace.closest('.cmb-repeatable-grouping');
    242243            data          = $toReplace.data();
    243244            defVal        = cmb.getFieldArg( data.hash, 'default', '' );
    244245            defVal        = 'undefined' !== typeof defVal && false !== defVal ? defVal : '';
    245246
    246             data.iterator = $row.data( 'iterator' );
     247            data.iterator = parentGroup.attr( 'data-iterator' );
    247248            data.fieldid  = data.id;
    248249            data.id       = data.groupid + '_' + data.iterator + '_' + data.fieldid;
  • ultimate-faq-solution/trunk/vendor/composer/installed.php

    r3357524 r3365050  
    44        'pretty_version' => 'dev-main',
    55        'version' => 'dev-main',
    6         'reference' => 'aa5fd8a6a190a9aba02a8ff6ad7f48f9752b228c',
     6        'reference' => '7fd9f36575fb8fcd9569a147ae84a3a044b70466',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2323            'pretty_version' => 'dev-main',
    2424            'version' => 'dev-main',
    25             'reference' => 'aa5fd8a6a190a9aba02a8ff6ad7f48f9752b228c',
     25            'reference' => '7fd9f36575fb8fcd9569a147ae84a3a044b70466',
    2626            'type' => 'wordpress-plugin',
    2727            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.