Plugin Directory

Changeset 3195951


Ignore:
Timestamp:
11/24/2024 05:06:15 PM (14 months ago)
Author:
Hakik
Message:

v1.0.6: Security: Codebase updated based on Plugin Check Plugin (PCP).Compatibility: WordPress 6.7.

Location:
create-temporary-login
Files:
16 added
4 edited

Legend:

Unmodified
Added
Removed
  • create-temporary-login/trunk/create-temporary-login.php

    r3157726 r3195951  
    11<?php
    22/*
    3 Plugin Name:        WP Bifröst - Instant Passwordless Temporary Login Links
    4 Plugin URI:         https://wordpress.org/plugins/create-temporary-login
     3Plugin Name:        WPBifröst - Instant Passwordless Temporary Login Links
     4Plugin URI:         https://github.com/hakikz/create-temporary-login
    55Description:        Create passwordless temporary login links to easily give access to your site's dashboard.
    6 Version:            1.0.5
     6Version:            1.0.6
    77Author:             Hakik Zaman
    88Author URI:         https://profiles.wordpress.org/users/hakik 
     
    1212Domain Path:        /languages
    1313Requires at least:  5.2
    14 Tested up to:       6.6
     14Tested up to:       6.7
    1515*/
    1616
     
    2121 */
    2222if ( ! defined( 'CTLAZ_TEMP_LOGIN_VERSION' ) ) {
    23     define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.5' );
     23    define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.6' );
    2424}
    2525
  • create-temporary-login/trunk/includes/class-admin.php

    r3157726 r3195951  
    8080        // If found a user_id as a get delete the user
    8181        if ( isset($_GET['ctl_delete_link_nonce']) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['ctl_delete_link_nonce'] ) ), 'ctl_delete_link') ){
    82             $delete_user = wp_delete_user( sanitize_text_field( $_GET['user_id'] ) );
     82            $delete_user = isset( $_GET['user_id'] ) ? wp_delete_user( sanitize_text_field( wp_unslash( $_GET['user_id'] ) ) ) : false;
    8383            if( $delete_user ){
    8484                wp_safe_redirect( esc_url( admin_url('users.php?page=create-temporary-login') ) );
     
    8888        // If found a user_id as a extend link for the user
    8989        if ( isset($_GET['ctl_extend_link_nonce']) && wp_verify_nonce( sanitize_text_field( wp_unslash( $_GET['ctl_extend_link_nonce'] ) ), 'ctl_extend_link') ){
    90             $extend_link = ctlaz_create_temporary_login()->get_option()->extend_expiration( sanitize_text_field( $_GET['user_id'] ) );
     90            $extend_link = isset( $_GET['user_id'] ) ? ctlaz_create_temporary_login()->get_option()->extend_expiration( sanitize_text_field( wp_unslash( $_GET['user_id'] ) ) ) : false;
    9191            if( $extend_link ){
    9292                wp_safe_redirect( esc_url( admin_url('users.php?page=create-temporary-login') ) );
     
    117117
    118118
    119         echo "<h1>".esc_html__( 'WP Bifröst - Settings (Instant Passwordless Temporary Login Links)', 'create-temporary-login' )."</h1>";
     119        echo "<h1>".esc_html__( 'WPBifröst - Settings (Instant Passwordless Temporary Login Links)', 'create-temporary-login' )."</h1>";
    120120        $other_attributes = array( 'tabindex' => '1' );
    121121        submit_button( __( 'Generate a link', 'create-temporary-login' ), 'secondary ctl_generate_link', '', true, $other_attributes );
  • create-temporary-login/trunk/languages/create-temporary-login.pot

    r3157726 r3195951  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WP Bifröst - Instant Passwordless Temporary Login Links 1.0.5\n"
     5"Project-Id-Version: WPBifröst - Instant Passwordless Temporary Login Links 1.0.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/create-temporary-login\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-09-24T09:08:51+00:00\n"
     12"POT-Creation-Date: 2024-11-24T09:29:03+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.10.0\n"
     
    1717#. Plugin Name of the plugin
    1818#: create-temporary-login.php
    19 msgid "WP Bifröst - Instant Passwordless Temporary Login Links"
     19msgid "WPBifröst - Instant Passwordless Temporary Login Links"
    2020msgstr ""
    2121
    2222#. Plugin URI of the plugin
    2323#: create-temporary-login.php
    24 msgid "https://wordpress.org/plugins/create-temporary-login"
     24msgid "https://github.com/hakikz/create-temporary-login"
    2525msgstr ""
    2626
     
    4141
    4242#: includes/class-admin.php:119
    43 msgid "WP Bifröst - Settings (Instant Passwordless Temporary Login Links)"
     43msgid "WPBifröst - Settings (Instant Passwordless Temporary Login Links)"
    4444msgstr ""
    4545
  • create-temporary-login/trunk/readme.txt

    r3157726 r3195951  
    1 === WP Bifröst - Instant Passwordless Temporary Login Links ===
     1=== WPBifröst - Instant Passwordless Temporary Login Links ===
    22Contributors: Hakik
    33Tags: temporary login, passwordless login, temporary access, login
    44Requires PHP: 7.4
    55Requires at least: 6.2
    6 Tested up to: 6.6
    7 Stable tag: 1.0.5
     6Tested up to: 6.7
     7Stable tag: 1.0.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1313== Description ==
    1414
    15 **WP Bifröst** is a WordPress plugin that helps create instant passwordless login links. Use those links to securely allow people temporary admin access to your WordPress site (dashboard).
     15**WPBifröst** is a WordPress plugin that helps create instant passwordless login links. Use those links to securely allow people temporary admin access to your WordPress site (dashboard).
    1616
    17 As WordPress site owners, we frequently give temporary admin access to people. Among many cases, giving temporary admin access to support engineers to troubleshoot an issue is prominent. In contrast with the default process of creating a user, **WP Bifröst** can instantly create a secure login link.
     17As WordPress site owners, we frequently give temporary admin access to people. Among many cases, giving temporary admin access to support engineers to troubleshoot an issue is prominent. In contrast with the default process of creating a user, **WPBifröst** can instantly create a secure login link.
    1818
    1919=== How to Create Passwordless Temporary Login Links for WordPress ===
    2020
    21 The following video demonstrates creating a temporary login link for WordPress using **WP Bifröst**.
     21The following video demonstrates creating a temporary login link for WordPress using **WPBifröst**.
    2222
    23 [youtube https://www.youtube.com/watch?v=mG9rUl0ou5k]
     23[youtube https://www.youtube.com/watch?v=jMTwoAtKlUk]
    2424
    2525How often do you need to allow someone access to your WordPress site? There are many cases when you need to allow people access to your site, including support engineers.
     
    2828
    2929
    30 ## 🔐️ Feature Highlight of WP Bifröst
     30## 🔐️ Feature Highlight of WPBifröst
    3131
    3232🔑️ Instantly create passwordless temporary login links for WP.
     
    3939
    4040
    41 ## How does WP Bifröst work
     41## How does WPBifröst work
    4242
    43 You can create passwordless temporary login links after successfully installing **WP Bifröst** on your WordPress site. Like most WordPress plugins installation is very straightforward. Moreover, it does not require any additional configuration.
     43You can create passwordless temporary login links after successfully installing **WPBifröst** on your WordPress site. Like most WordPress plugins installation is very straightforward. Moreover, it does not require any additional configuration.
    4444
    45 WP Bifröst adds its option as a sub-menu under the WordPress **User** menu. You can also quickly access the menu from the installed plugins section. Under the plugin name, there is a quick link called **Create Login Links**. Click on **Create Login Links** to access plugin settings. You can create temporary login links from here by clicking the Generate button.
     45WPBifröst adds its option as a sub-menu under the WordPress **User** menu. You can also quickly access the menu from the installed plugins section. Under the plugin name, there is a quick link called **Create Login Links**. Click on **Create Login Links** to access plugin settings. You can create temporary login links from here by clicking the Generate button.
    4646
    4747By default, temporary login links are valid for 7 days. When the link expires after 7 days, you will find an option to extend the validity. You can extend validity for 3 days (you can keep repeating this process as long as necessary).
    4848
    4949
    50 ## WP Bifröst prioritizes security
     50## WPBifröst prioritizes security
    5151
    5252🔒️ Though we want to add ease to your workflow, site security is our top priority. As a result, we have coupled ease and security together.
     
    6767== Frequently Asked Questions ==
    6868
    69 = Why should I use WP Bifröst? =
    70 **WP Bifröst** aims to add ease to your workflow by simplifying user creation on your WordPress site. To create a WordPress user, you must perform at least four steps. Those steps include setting a username, email address, password, and the user's role.
     69= Why should I use WPBifröst? =
     70**WPBifröst** aims to add ease to your workflow by simplifying user creation on your WordPress site. To create a WordPress user, you must perform at least four steps. Those steps include setting a username, email address, password, and the user's role.
    7171
    72 WP Bifröst simplifies the process and empowers you to create a passwordless login with a single click.
     72WPBifröst simplifies the process and empowers you to create a passwordless login with a single click.
    7373
    7474= What if I forget to revoke access? =
     
    8888
    8989== Changelog ==
     90
     91= 1.0.6 =
     92* Security: Codebase updated based on Plugin Check Plugin (PCP).
     93* Compatibility: WordPress 6.7.
    9094
    9195= 1.0.5 =
Note: See TracChangeset for help on using the changeset viewer.