Plugin Directory

Changeset 3426280


Ignore:
Timestamp:
12/23/2025 02:54:09 PM (3 months ago)
Author:
ansera01
Message:

Release version 1.1.18

Location:
ansera-search
Files:
2 deleted
2 edited
5 copied

Legend:

Unmodified
Added
Removed
  • ansera-search/tags/1.1.18/ansera_search.php

    r3426265 r3426280  
    33 * Plugin Name: Ansera Search
    44 * Description: Ansera AI-powered search plugin provides answers based on your existing Wordpress content.
    5  * Version: 1.1.17
     5 * Version: 1.1.18
    66 * Author: Ansera.AI
    77 * Author URI:  https://www.ansera.ai/
     
    23142314{
    23152315    $type = ansera_get_builder_type($post->ID);
    2316     echo "CV1:".$type;
    23172316    $web_data = '';
    23182317    switch($type)
     
    23262325            }
    23272326            $web_data = ansera_maybe_unserialize_data($web_data);
    2328             echo "CV2:" . $web_data;
     2327
     2328            $html_blocks = array_column(
     2329                array_filter(
     2330                    $web_data,
     2331                    fn($item) => !empty($item['settings']['text']) && is_string($item['settings']['text'])
     2332                ),
     2333                'settings'
     2334            );
     2335
     2336            $html_only = array_column($html_blocks, 'text');
     2337            $web_data = implode("\n\n", $html_only);
    23292338            break;
    23302339        case "oxygen":
     
    23392348            break;
    23402349    }
    2341     echo "CV2:" . $web_data;
    23422350    return $web_data;
    23432351}
     
    23682376    if(empty($web_data))
    23692377    {
    2370         echo "CV4: no content";
    23712378        $web_data = ansera_fetch_page_content($post);
    2372         echo "CV5: " . $web_data;
     2379       
    23732380    }
    23742381   
  • ansera-search/tags/1.1.18/readme.txt

    r3426265 r3426280  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 1.1.17
     7Stable tag: 1.1.18
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9696
    9797== Changelog ==
    98 = 1.1.17 =
     98= 1.1.18 =
    9999* Given support to Divi, Bricks, Oxygen, Beaver theme builders.
    100100
  • ansera-search/trunk/ansera_search.php

    r3426265 r3426280  
    33 * Plugin Name: Ansera Search
    44 * Description: Ansera AI-powered search plugin provides answers based on your existing Wordpress content.
    5  * Version: 1.1.17
     5 * Version: 1.1.18
    66 * Author: Ansera.AI
    77 * Author URI:  https://www.ansera.ai/
     
    23142314{
    23152315    $type = ansera_get_builder_type($post->ID);
    2316     echo "CV1:".$type;
    23172316    $web_data = '';
    23182317    switch($type)
     
    23262325            }
    23272326            $web_data = ansera_maybe_unserialize_data($web_data);
    2328             echo "CV2:" . $web_data;
     2327
     2328            $html_blocks = array_column(
     2329                array_filter(
     2330                    $web_data,
     2331                    fn($item) => !empty($item['settings']['text']) && is_string($item['settings']['text'])
     2332                ),
     2333                'settings'
     2334            );
     2335
     2336            $html_only = array_column($html_blocks, 'text');
     2337            $web_data = implode("\n\n", $html_only);
    23292338            break;
    23302339        case "oxygen":
     
    23392348            break;
    23402349    }
    2341     echo "CV2:" . $web_data;
    23422350    return $web_data;
    23432351}
     
    23682376    if(empty($web_data))
    23692377    {
    2370         echo "CV4: no content";
    23712378        $web_data = ansera_fetch_page_content($post);
    2372         echo "CV5: " . $web_data;
     2379       
    23732380    }
    23742381   
  • ansera-search/trunk/readme.txt

    r3426265 r3426280  
    55Tested up to: 6.8
    66Requires PHP: 7.2
    7 Stable tag: 1.1.17
     7Stable tag: 1.1.18
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    9696
    9797== Changelog ==
    98 = 1.1.17 =
     98= 1.1.18 =
    9999* Given support to Divi, Bricks, Oxygen, Beaver theme builders.
    100100
Note: See TracChangeset for help on using the changeset viewer.