Plugin Directory

Changeset 2148374


Ignore:
Timestamp:
08/30/2019 11:16:43 AM (7 years ago)
Author:
nikmelnik
Message:

хотфикс для версии 0.1.26.76

Location:
realbig-media/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • realbig-media/trunk/realbigForWP.php

    r2146365 r2148374  
    1111Plugin name:  Realbig Media
    1212Description:  Плагин для монетизации от RealBig.media
    13 Version:      0.1.26.76
     13Version:      0.1.26.77
    1414Author:       Realbig Team
    1515Author URI:   https://realbig.media
     
    128128            $GLOBALS['realbigForWP_version'] = $pluginData['Version'];
    129129        } else {
    130             $GLOBALS['realbigForWP_version'] = '0.1.26.76';
     130            $GLOBALS['realbigForWP_version'] = '0.1.26.77';
    131131        }
    132132    }
  • realbig-media/trunk/textEditing.php

    r2146365 r2148374  
    615615                $wp_cur_theme_name = $wp_cur_theme->get_template();
    616616                //      $wp_cur_theme_file = get_theme_file_uri('header.php');
    617                 $themeHeaderFileOpen = file_get_contents( 'wp-content/themes/' . $wp_cur_theme_name . '/header.php' );
    618 
    619                 $checkedHeader = preg_match( '~realpush\.media\/pushJs||bigreal\.org\/pushJs~', $themeHeaderFileOpen, $m );
     617                $themeHeaderFileOpen = file_get_contents('wp-content/themes/'.$wp_cur_theme_name.'/header.php');
     618
     619                $checkedHeader = preg_match('~realpush\.media\/pushJs|bigreal\.org\/pushJs~', $themeHeaderFileOpen, $m);
    620620                if ( count($m) == 0) {
    621621                    $result = true;
Note: See TracChangeset for help on using the changeset viewer.