Plugin Directory

Changeset 2736586


Ignore:
Timestamp:
06/02/2022 06:39:32 PM (4 years ago)
Author:
beyondsoftware
Message:

Version 2.2.12

Location:
beyondconnect/trunk
Files:
1 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • beyondconnect/trunk/beyondConnect.php

    r2731084 r2736586  
    77Plugin URI: https://support.beyond-sw.com/hc/de/categories/360002442180
    88Description: beyondConnect connects WordPress with the beyond software services.
    9 Version: 2.2.11
     9Version: 2.2.12
    1010Author: Felix Stadelmann, beyond software
    1111Author URI: https://beyond-sw.com
  • beyondconnect/trunk/inc/Base/ShortcodesBaseController.php

    r2619484 r2736586  
    356356
    357357        foreach ($bc_global['bc_' . $elementname . '_list_element_array'] as $element_attr_array) {
    358             $headtitle = $element_attr_array['title'];
     358            $headtitle = empty($element_attr_array['title']) ? '' : $element_attr_array['title'];
    359359            $headcustomclass = empty($element_attr_array['customclass']) ? '' : $element_attr_array['customclass'];
    360360
  • beyondconnect/trunk/inc/Beyond.php

    r2619484 r2736586  
    352352    }
    353353
    354     public function strpos_arr($haystack, $needle)
     354    public static function strpos_arr($haystack, $needle): false|int
    355355    {
    356356        if (!is_array($needle)) $needle = array($needle);
    357         foreach ($needle as $what) {
    358             if (($pos = strpos($haystack, $what)) !== false) return $pos;
    359         }
     357        {
     358            foreach ( $needle as $what ) {
     359                if ( ( $pos = strpos( $haystack, $what ) ) !== false ) {
     360                    return $pos;
     361                }
     362            }
     363        }
    360364        return false;
    361365    }
  • beyondconnect/trunk/readme.txt

    r2731084 r2736586  
    66Tested up to: 6.0
    77Requires PHP: 8.0
    8 Stable tag: 2.2.11
     8Stable tag: 2.2.12
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2828
    2929== Changelog ==
     30= 2.2.12 =
     31* Bug fixes
    3032= 2.2.11 =
    3133* Set compatibility to WordPress 6.0
Note: See TracChangeset for help on using the changeset viewer.