Plugin Directory

Changeset 2739104


Ignore:
Timestamp:
06/08/2022 08:35:41 AM (4 years ago)
Author:
silvermuru
Message:

3.0.2 version, tested with WordPress 6.0

Location:
ws-force-login-page
Files:
12 added
5 edited

Legend:

Unmodified
Added
Removed
  • ws-force-login-page/tags/3.0.2/README.md

    r2739052 r2739104  
    3838## Changelog
    3939
    40 #### 2.4.6
     40#### 3.0.2
    4141
    4242Tested up to Wordpress 6.0 version
  • ws-force-login-page/tags/3.0.2/readme.txt

    r2739052 r2739104  
    44Requires at least: 4.4
    55Tested up to: 6.0.0
    6 Stable tag: 3.0.2
     6Stable tag: 3.0.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636
    3737== Changelog ==
     38
     39= 3.0.3 =
     40
     41Removed automatic plugin login page redirection setting action
    3842
    3943= 3.0.2 =
  • ws-force-login-page/trunk/README.md

    r2739052 r2739104  
    11# WS Force Login Page
    22
    3 * Version: 3.0.2
     3* Version: 3.0.3
    44* [Homepage](https://www.silvermuru.ee/en/wordpress/plugins/ws-force-login-page/)
    55
     
    3838## Changelog
    3939
    40 #### 2.4.6
     40#### 3.0.3
     41
     42Removed automatic plugin login page redirection setting action
     43
     44#### 3.0.2
    4145
    4246Tested up to Wordpress 6.0 version
  • ws-force-login-page/trunk/readme.txt

    r2739052 r2739104  
    44Requires at least: 4.4
    55Tested up to: 6.0.0
    6 Stable tag: 3.0.2
     6Stable tag: 3.0.3
    77License: GPLv2 or later
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    3636
    3737== Changelog ==
     38
     39= 3.0.3 =
     40
     41Removed automatic plugin login page redirection setting action
    3842
    3943= 3.0.2 =
  • ws-force-login-page/trunk/ws-force-login-page.php

    r2739052 r2739104  
    44* Plugin URI: https://www.silvermuru.ee/en/wordpress/plugins/ws-force-login-page/
    55* Description: Redirecting user to login page if not logged in and when needed the custom message is shown
    6 * Version: 3.0.2
     6* Version: 3.0.3
    77* Author: UusWeb.ee
    88* Author URI: https://www.wordpressi-kodulehe-tegemine.ee/
     
    5050}
    5151
    52 function ws_force_login_upgrade_completed( $upgrader_object, $options ) {
    53         $our_plugin = plugin_basename( __FILE__ );
    54         if( $options['action'] == 'update' && $options['type'] == 'plugin' && isset( $options['plugins'] ) ) {
    55 
    56                 foreach( $options['plugins'] as $plugin ) {
    57                         if( $plugin == $our_plugin ) {
    58                                 update_option( 'wsforce-login-active-option', '1' );
    59                         }
    60                 }
    61         }
    62 }
    63 add_action( 'upgrader_process_complete', 'ws_force_login_upgrade_completed', 10, 2 );
    64 
    6552$wpse_ws_force_login_page_plugin = new WS_Force_Login_Page();
    6653?>
Note: See TracChangeset for help on using the changeset viewer.