Plugin Directory

Changeset 2579453


Ignore:
Timestamp:
08/06/2021 05:03:16 PM (5 years ago)
Author:
betacore
Message:

2.0.1 bugfix

Location:
super-simple-site-offline-beta/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • super-simple-site-offline-beta/trunk/classes/forms.php

    r2579448 r2579453  
    55   
    66   
    7     function input($arg){
     7    public static function input($arg){
    88        ?>
    99        <div class="bcSOFF_input_wrapper">
     
    1717    }
    1818   
    19     function select($arg){
     19    public static function select($arg){
    2020        ?>
    2121        <div class="bcSOFF_select_wrapper">
     
    3131    }
    3232   
    33     function check($arg, $label=''){
     33    public static function check($arg, $label=''){
    3434            if ($arg['selected']==''){
    3535                $arg['selected']=0;
     
    5151
    5252     
    53     function textarea($arg){
     53    public static function textarea($arg){
    5454        ?>
    5555        <div class="bcSOFF_textarea_wrapper">
     
    6363
    6464   
    65     function image($arg){
     65    public static function image($arg){
    6666        $imgid =(isset( $arg[ 'selected' ] )) ? $arg[ 'selected' ] : "";
    6767        $img    = wp_get_attachment_image_src($imgid, 'thumbnail');
  • super-simple-site-offline-beta/trunk/classes/header.php

    r2579448 r2579453  
    88    /* personality for services like Google.    */
    99
    10     function set($option,$url=false){
     10    public static function set($option,$url=false){
    1111
    1212        // check the protocol
     
    4040    }
    4141   
    42     function location($url){
     42    public static function location($url){
    4343        // when the user wants a redirect...
    4444        header( 'Location: '.$url );
     
    4949    /* Check if the redirect header is active   */
    5050   
    51     function active(){
     51    public static function active(){
    5252   
    5353        if(get_option( 'bcSOFF_offline_redirect' )==1){
  • super-simple-site-offline-beta/trunk/classes/offline.php

    r2579448 r2579453  
    88    /* Fetch image information by ID            */
    99
    10     function getImage($img_ID){
     10    public static function getImage($img_ID){
    1111
    1212
     
    2424    /* Quick check if we are on a login page    */
    2525     
    26     function loginPage() {
     26    public static function loginPage() {
    2727
    2828        // check if you are visiting the login page or register page
     
    3434   
    3535   
    36     function runPage(){
     36    public static function runPage(){
    3737       
    3838
  • super-simple-site-offline-beta/trunk/classes/track.php

    r2579448 r2579453  
    55    /* The Tracking tag for GA and TM           */
    66
    7     function tags($location='top'){
     7    public static function tags($location='top'){
    88
    99        $the_google_id = esc_html(substr(get_option( 'bcSOFF_offline_analytics' ), 0,16));
  • super-simple-site-offline-beta/trunk/readme.txt

    r2579448 r2579453  
    55Tested up to: 5.8
    66Requires PHP: 7
    7 Stable tag: 2.0
     7Stable tag: 2.0.1
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    5050
    5151== Changelog ==
     52= 2.0.1 =
     53* Fixed a static class
     54
    5255= 2.0 =
    5356This version is a major release. Please check all the functions and settings you've made earlier.
  • super-simple-site-offline-beta/trunk/simple-site-offline.php

    r2579448 r2579453  
    44* Plugin URI: https://rikjanssen.info/plugins/super-simple-site-offline-for-wordpress/
    55* Description: Hide or redirect your website in an instant! The Super Simple Site Offline Plugin does exactly that and is above all easy to customize and track via Google Analytics or Google Tagmanager. But for your visitor just a nice little maintenance message or redirect. Nothing more.
    6 * Version: 2.0
     6* Version: 2.0.1
    77* Author: Rik Janssen
    88* Author URI: https://rikjanssen.info
Note: See TracChangeset for help on using the changeset viewer.