WordPress.org

Plugin Directory

Changeset 1484845


Ignore:
Timestamp:
08/27/16 17:08:22 (14 months ago)
Author:
kevindees
Message:

fix activation bug

Location:
fitvids-for-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • fitvids-for-wordpress/trunk/fitvids-for-wordpress.php

    r1484843 r1484845  
    2020    public $message = ''; 
    2121    public $request = array(); 
     22    public $activating = false; 
    2223    public $jquery_version = '1.12.4'; 
    2324    public $transient = 'fitvids-admin-notice'; 
     
    3536 
    3637    function activation() { 
     38        $this->activating = true; 
    3739        set_transient( $this->transient , true ); 
    3840    } 
    3941 
    4042    function activation_notice() { 
    41         if( get_transient( $this->transient  ) ) { 
     43        if( get_transient( $this->transient ) && ! $this->activating ) { 
    4244            ?> 
    4345            <div class="notice notice-warning is-dismissible"> 
  • fitvids-for-wordpress/trunk/readme.txt

    r1484843 r1484845  
    44Requires at least: 3.9 
    55Tested up to: 4.6 
    6 Stable Tag: 3.0.2 
     6Stable Tag: 3.0.3 
    77 
    88This plugin makes videos responsive using the FitVids jQuery plugin on WordPress. 
     
    2424== Changelog == 
    2525 
    26 = 3.0.2 = 
     26= 3.0.3 = 
     27* fix activation bug 
     28 
     29= 3.0.3 = 
    2730* Add help tab 
    2831* Make default selector visible 
Note: See TracChangeset for help on using the changeset viewer.