Plugin Directory

Changeset 3041581


Ignore:
Timestamp:
02/26/2024 11:20:31 PM (2 years ago)
Author:
wpo-HR
Message:

error fix: widget parameters have been replaced by defaults

Location:
ngg-smart-image-search/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • ngg-smart-image-search/trunk/README.txt

    r3040703 r3041581  
    142142== Changelog ==
    143143
    144 = 3.2 =
    145 This is a recommended maintenance update, uploaded 2024-02-08.
     144
     145= 3.2.1 =
     146This is a recommended error fix, uploaded 2024-02-27.
     147
     148*Fixed: widget parameters were not passed correctly to the backend, were instead replaced by defaults
     149
     150= 3.2.0 =
     151This is a recommended maintenance update, uploaded 2024-02-24.
    146152
    147153*Enhanced: advanced thumbnail and linked image display now use current fancybox lightbox (no jquery-dependency) independent of NextGEN Gallery
  • ngg-smart-image-search/trunk/admin/class-ngg-smart-image-search-admin.php

    r3040703 r3041581  
    760760//  $hr_SIS_uebergabe = serialize( $instance ); 
    761761  $hr_SIS_uebergabe = json_encode( $instance ); 
    762   $hr_SIS_uebergabe = str_replace( '"', '<:>', $hr_SIS_uebergabe) ;
     762  $hr_SIS_uebergabe = str_replace( '"', '_#_', $hr_SIS_uebergabe) ;
    763763 
    764764  // retrieve current slug for search page
     
    10971097/**
    10981098 * Make sure the function does not exist before defining it
    1099  */
     1099 /
    11001100if( ! function_exists( 'hr_remove_class_filter' ) ){
    11011101    /**
     
    11161116     *
    11171117     * @return bool Whether the function is removed.
    1118      */
     1118     *
    11191119    function hr_remove_class_filter( $tag, $class_name = '', $method_name = '', $priority = 10 ) {
    11201120        global $wp_filter;
     
    11301130         *
    11311131         * @see https://make.wordpress.org/core/2016/09/08/wp_hook-next-generation-actions-and-filters/
    1132          */
     1132         /
    11331133        if ( is_object( $wp_filter[ $tag ] ) && isset( $wp_filter[ $tag ]->callbacks ) ) {
    11341134            // Create $fob object from filter tag, to use below
     
    11821182    }
    11831183}
    1184 /**
     1184 /**
    11851185 * Make sure the function does not exist before defining it
    1186  *
     1186 ***
    11871187if( ! function_exists( 'hr_remove_class_action9') ){
    11881188    /**
     
    12041204     *
    12051205    function hr_remove_class_action9( $tag = 'in_admin_header', $class_name = 'M_Marketing', $method_name = 'admin_header', $priority = 10 ) {
    1206         hr_remove_class_filter( $tag, $class_name, $method_name, $priority=10 );
     1206        remove_filter( $tag, $class_name, $method_name, $priority=10 );
    12071207    }
    12081208}
    12091209if( ! function_exists( 'hr_remove_class_action10') ){
    12101210    function hr_remove_class_action10( $tag = 'in_admin_header', $class_name = 'M_Marketing', $method_name = 'admin_header', $priority = 10 ) {
    1211         hr_remove_class_filter( $tag, $class_name, $method_name, $priority=10 );
     1211        remove_filter( $tag, $class_name, $method_name, $priority=10 );
    12121212    }
    12131213}
    12141214if( ! function_exists( 'hr_remove_class_action11') ){
    12151215    function hr_remove_class_action11( $tag = 'in_admin_header', $class_name = 'M_Marketing', $method_name = 'admin_header', $priority = 10 ) {
    1216         hr_remove_class_filter( $tag, $class_name, $method_name, $priority=10 );
     1216        remove_filter( $tag, $class_name, $method_name, $priority=10 );
    12171217    }
    12181218}
  • ngg-smart-image-search/trunk/ngg-smart-image-search.php

    r3040703 r3041581  
    1717 * Plugin URI:        https://r-fotos.de/wordpress-plugins/ngg-smart-image-search
    1818 * Description:       This plugin provides a customizable smart image search and display function for images in NextGEN galleries.
    19  * Version:           3.2.0
     19 * Version:           3.2.1
    2020 * Requires at least: 5.5.4
    2121 * Requires PHP:            7.0
Note: See TracChangeset for help on using the changeset viewer.