Changeset 3157726
- Timestamp:
- 09/25/2024 04:39:38 PM (16 months ago)
- Location:
- create-temporary-login/trunk
- Files:
-
- 4 edited
-
create-temporary-login.php (modified) (2 diffs)
-
includes/class-admin.php (modified) (1 diff)
-
languages/create-temporary-login.pot (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
create-temporary-login/trunk/create-temporary-login.php
r3126804 r3157726 4 4 Plugin URI: https://wordpress.org/plugins/create-temporary-login 5 5 Description: Create passwordless temporary login links to easily give access to your site's dashboard. 6 Version: 1.0. 46 Version: 1.0.5 7 7 Author: Hakik Zaman 8 8 Author URI: https://profiles.wordpress.org/users/hakik … … 21 21 */ 22 22 if ( ! defined( 'CTLAZ_TEMP_LOGIN_VERSION' ) ) { 23 define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0. 4' );23 define( 'CTLAZ_TEMP_LOGIN_VERSION', '1.0.5' ); 24 24 } 25 25 -
create-temporary-login/trunk/includes/class-admin.php
r3108848 r3157726 99 99 */ 100 100 public function create_temporary_login(){ 101 102 /** 103 * If current user is a temporary user and 104 * 105 * want to access the `Plugin Settings` page using the link 106 * 107 */ 108 109 if( is_user_logged_in() && 110 ctlaz_create_temporary_login()->get_option()->is_temporary_user( get_current_user_id() ) 111 ){ 112 /** 113 * Redirect the user to the `Dashboard > index.php` 114 */ 115 wp_safe_redirect( admin_url() ); 116 } 117 101 118 102 119 echo "<h1>".esc_html__( 'WP Bifröst - Settings (Instant Passwordless Temporary Login Links)', 'create-temporary-login' )."</h1>"; -
create-temporary-login/trunk/languages/create-temporary-login.pot
r3095291 r3157726 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WP Bifröst - Create Passwordless Temporary Login Links 1.0.3\n"5 "Project-Id-Version: WP Bifröst - Instant Passwordless Temporary Login Links 1.0.5\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-0 5-30T06:31:54+00:00\n"12 "POT-Creation-Date: 2024-09-24T09:08:51+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 9.0\n"14 "X-Generator: WP-CLI 2.10.0\n" 15 15 "X-Domain: create-temporary-login\n" 16 16 17 17 #. Plugin Name of the plugin 18 msgid "WP Bifröst - Create Passwordless Temporary Login Links" 18 #: create-temporary-login.php 19 msgid "WP Bifröst - Instant Passwordless Temporary Login Links" 19 20 msgstr "" 20 21 21 22 #. Plugin URI of the plugin 23 #: create-temporary-login.php 22 24 msgid "https://wordpress.org/plugins/create-temporary-login" 23 25 msgstr "" 24 26 25 27 #. Description of the plugin 28 #: create-temporary-login.php 26 29 msgid "Create passwordless temporary login links to easily give access to your site's dashboard." 27 30 msgstr "" 28 31 29 32 #. Author of the plugin 33 #: create-temporary-login.php 30 34 msgid "Hakik Zaman" 31 35 msgstr "" 32 36 33 37 #. Author URI of the plugin 38 #: create-temporary-login.php 34 39 msgid "https://profiles.wordpress.org/users/hakik" 35 40 msgstr "" 36 41 37 #: includes/class-admin.php:1 0238 msgid "WP Bifröst - Settings ( CreatePasswordless Temporary Login Links)"42 #: includes/class-admin.php:119 43 msgid "WP Bifröst - Settings (Instant Passwordless Temporary Login Links)" 39 44 msgstr "" 40 45 41 #: includes/class-admin.php:1 0446 #: includes/class-admin.php:121 42 47 msgid "Generate a link" 43 48 msgstr "" 44 49 45 #: includes/class-admin.php:1 4350 #: includes/class-admin.php:160 46 51 msgid "Delete" 47 52 msgstr "" 48 53 49 #: includes/class-admin.php:1 4554 #: includes/class-admin.php:162 50 55 msgid "Copied" 51 56 msgstr "" 52 57 53 #: includes/class-admin.php:1 4958 #: includes/class-admin.php:166 54 59 msgid "Extend 3 days" 55 60 msgstr "" 56 61 57 #: includes/class-admin.php:1 5762 #: includes/class-admin.php:175 58 63 msgid "Click to Copy!" 59 64 msgstr "" 60 65 61 #: includes/class-admin.php:2 4966 #: includes/class-admin.php:267 62 67 msgid "Create Temporary Login" 63 68 msgstr "" 64 69 65 #: includes/class-admin.php: 28670 #: includes/class-admin.php:304 66 71 msgid "<strong>Error:</strong> The username is not registered on this site. If you are unsure of your username, try your email address instead." 67 72 msgstr "" -
create-temporary-login/trunk/readme.txt
r3126804 r3157726 5 5 Requires at least: 6.2 6 6 Tested up to: 6.6 7 Stable tag: 1.0. 47 Stable tag: 1.0.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 89 89 == Changelog == 90 90 91 = 1.0.5 = 92 * Fix: Disallowed a temporary user to access plugin setting page using a link. 93 91 94 = 1.0.4 = 92 * Update: Extend time for 3 days buttonis always visible now.95 * Update: Extend time for 3 days is always visible now. 93 96 94 97 = 1.0.3 =
Note: See TracChangeset
for help on using the changeset viewer.