Changeset 3195951
- Timestamp:
- 11/24/2024 05:06:15 PM (14 months ago)
- Location:
- create-temporary-login
- Files:
-
- 16 added
- 4 edited
-
tags/1.0.6 (added)
-
tags/1.0.6/admin (added)
-
tags/1.0.6/admin/css (added)
-
tags/1.0.6/admin/css/admin.css (added)
-
tags/1.0.6/admin/js (added)
-
tags/1.0.6/admin/js/admin.js (added)
-
tags/1.0.6/create-temporary-login.php (added)
-
tags/1.0.6/includes (added)
-
tags/1.0.6/includes/class-admin.php (added)
-
tags/1.0.6/includes/class-create-temporary-login.php (added)
-
tags/1.0.6/includes/class-option.php (added)
-
tags/1.0.6/index.php (added)
-
tags/1.0.6/languages (added)
-
tags/1.0.6/languages/create-temporary-login.pot (added)
-
tags/1.0.6/readme.txt (added)
-
tags/1.0.6/uninstall.php (added)
-
trunk/create-temporary-login.php (modified) (3 diffs)
-
trunk/includes/class-admin.php (modified) (3 diffs)
-
trunk/languages/create-temporary-login.pot (modified) (4 diffs)
-
trunk/readme.txt (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
create-temporary-login/trunk/create-temporary-login.php
r3157726 r3195951 1 1 <?php 2 2 /* 3 Plugin Name: WP Bifröst - Instant Passwordless Temporary Login Links4 Plugin URI: https:// wordpress.org/plugins/create-temporary-login3 Plugin Name: WPBifröst - Instant Passwordless Temporary Login Links 4 Plugin URI: https://github.com/hakikz/create-temporary-login 5 5 Description: Create passwordless temporary login links to easily give access to your site's dashboard. 6 Version: 1.0. 56 Version: 1.0.6 7 7 Author: Hakik Zaman 8 8 Author URI: https://profiles.wordpress.org/users/hakik … … 12 12 Domain Path: /languages 13 13 Requires at least: 5.2 14 Tested up to: 6. 614 Tested up to: 6.7 15 15 */ 16 16 … … 21 21 */ 22 22 if ( ! defined( 'CTLAZ_TEMP_LOGIN_VERSION' ) ) { 23 define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0. 5' );23 define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.6' ); 24 24 } 25 25 -
create-temporary-login/trunk/includes/class-admin.php
r3157726 r3195951 80 80 // If found a user_id as a get delete the user 81 81 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; 83 83 if( $delete_user ){ 84 84 wp_safe_redirect( esc_url( admin_url('users.php?page=create-temporary-login') ) ); … … 88 88 // If found a user_id as a extend link for the user 89 89 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; 91 91 if( $extend_link ){ 92 92 wp_safe_redirect( esc_url( admin_url('users.php?page=create-temporary-login') ) ); … … 117 117 118 118 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>"; 120 120 $other_attributes = array( 'tabindex' => '1' ); 121 121 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 3 3 msgid "" 4 4 msgstr "" 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" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/create-temporary-login\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "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" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.10.0\n" … … 17 17 #. Plugin Name of the plugin 18 18 #: create-temporary-login.php 19 msgid "WP Bifröst - Instant Passwordless Temporary Login Links"19 msgid "WPBifröst - Instant Passwordless Temporary Login Links" 20 20 msgstr "" 21 21 22 22 #. Plugin URI of the plugin 23 23 #: create-temporary-login.php 24 msgid "https:// wordpress.org/plugins/create-temporary-login"24 msgid "https://github.com/hakikz/create-temporary-login" 25 25 msgstr "" 26 26 … … 41 41 42 42 #: includes/class-admin.php:119 43 msgid "WP Bifröst - Settings (Instant Passwordless Temporary Login Links)"43 msgid "WPBifröst - Settings (Instant Passwordless Temporary Login Links)" 44 44 msgstr "" 45 45 -
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 === 2 2 Contributors: Hakik 3 3 Tags: temporary login, passwordless login, temporary access, login 4 4 Requires PHP: 7.4 5 5 Requires at least: 6.2 6 Tested up to: 6. 67 Stable tag: 1.0. 56 Tested up to: 6.7 7 Stable tag: 1.0.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 13 13 == Description == 14 14 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). 16 16 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.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, **WPBifröst** can instantly create a secure login link. 18 18 19 19 === How to Create Passwordless Temporary Login Links for WordPress === 20 20 21 The following video demonstrates creating a temporary login link for WordPress using **WP Bifröst**.21 The following video demonstrates creating a temporary login link for WordPress using **WPBifröst**. 22 22 23 [youtube https://www.youtube.com/watch?v= mG9rUl0ou5k]23 [youtube https://www.youtube.com/watch?v=jMTwoAtKlUk] 24 24 25 25 How 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. … … 28 28 29 29 30 ## 🔐️ Feature Highlight of WP Bifröst30 ## 🔐️ Feature Highlight of WPBifröst 31 31 32 32 🔑️ Instantly create passwordless temporary login links for WP. … … 39 39 40 40 41 ## How does WP Bifröst work41 ## How does WPBifröst work 42 42 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.43 You 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. 44 44 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.45 WPBifrö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. 46 46 47 47 By 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). 48 48 49 49 50 ## WP Bifröst prioritizes security50 ## WPBifröst prioritizes security 51 51 52 52 🔒️ 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. … … 67 67 == Frequently Asked Questions == 68 68 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. 71 71 72 WP Bifröst simplifies the process and empowers you to create a passwordless login with a single click.72 WPBifröst simplifies the process and empowers you to create a passwordless login with a single click. 73 73 74 74 = What if I forget to revoke access? = … … 88 88 89 89 == Changelog == 90 91 = 1.0.6 = 92 * Security: Codebase updated based on Plugin Check Plugin (PCP). 93 * Compatibility: WordPress 6.7. 90 94 91 95 = 1.0.5 =
Note: See TracChangeset
for help on using the changeset viewer.