Plugin Directory

Changeset 2357294


Ignore:
Timestamp:
08/11/2020 02:13:30 PM (6 years ago)
Author:
buntegiraffe
Message:

Fixed PHP 7.3+ compatibility

Location:
show-hidecollapse-expand/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • show-hidecollapse-expand/trunk/ErrorLogging.php

    r1608201 r2357294  
    3636
    3737     public static function getInstance() {
    38         if( null == $this->_errorLogInstance) {
    39             $this->_errorLogInstance = new gmsp_LogFile();
    40             $$this->_errorLogInstance->_logFileHandle =
    41                 fopen( $this->_errorLogInstance->_logFileName, 'a');
     38        if( null == self::$_errorLogInstance) {
     39            self::$_errorLogInstance = new gmsp_LogFile();
     40            self::$_errorLogInstance->_logFileHandle =
     41                fopen( self::$_errorLogInstance->_logFileName, 'a');
    4242            /* TODO: Check if we have actualy opened a file */
    4343        }
    4444
    45         return $this->_errorLogInstance;
     45        return self::$_errorLogInstance;
    4646    }
    4747
  • show-hidecollapse-expand/trunk/bg_show_hide.php

    r2204207 r2357294  
    55  Plugin URI: http://showhide.bunte-giraffe.de
    66  Description: Save space on your pages, posts, sidebars. Hide the content before user clicks to see it. Collapse long lists, create FAQs & more.
    7   Version: 1.2.3
     7  Version: 1.2.4
    88  Author: Bunte Giraffe
    99  Author URI: http://bunte-giraffe.de
  • show-hidecollapse-expand/trunk/readme.txt

    r2204207 r2357294  
    44Tags: hide content, show content, collapse, expand, faq, questionnaire, question answer, show widget, hide widget, save space, organize content, collapse content, expand content, seo friendly collapse content
    55Requires at least: 4.2
    6 Tested up to: 5.3
    7 Stable tag: 1.2.3
     6Tested up to: 5.5
     7Stable tag: 1.2.4
    88License: GPLv2
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    9090== Changelog ==
    9191
     92= 1.2.4 =
     93* Added compatibility for PHP 7.3+
     94* Checked WP 5.5 compatibility
     95
    9296= 1.2.3 =
    9397* Fixed apostrophes causing errors in collapse and expand texts
Note: See TracChangeset for help on using the changeset viewer.