Changeset 2054404
- Timestamp:
- 03/21/2019 05:02:15 AM (7 years ago)
- Location:
- nomorepass-forget-your-passwords/trunk
- Files:
-
- 3 edited
-
nomorepass.php (modified) (2 diffs)
-
public/js/admin.js (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
nomorepass-forget-your-passwords/trunk/nomorepass.php
r1916266 r2054404 5 5 Description: Plugin to allow login using NoMorePass app 6 6 Author: Jose A. Espinosa 7 Version: 1.9. 07 Version: 1.9.1 8 8 Author URI: https://www.yoprogramo.com 9 9 Text Domain: nomorepass … … 34 34 35 35 function nomorepass_load_scripts_admin() { 36 wp_register_script('nomorepass_admin_script', plugins_url('public/js/admin.js', __FILE__) );36 wp_register_script('nomorepass_admin_script', plugins_url('public/js/admin.js', __FILE__),array('jquery')); 37 37 wp_enqueue_media(); 38 38 wp_enqueue_script('nomorepass_admin_script'); -
nomorepass-forget-your-passwords/trunk/public/js/admin.js
r1916268 r2054404 1 1 // The "Upload" button 2 $(document).ready(function() {3 $('.upload_image_button').click(function() {2 jQuery(document).ready(function() { 3 jQuery('.upload_image_button').click(function() { 4 4 var send_attachment_bkp = wp.media.editor.send.attachment; 5 var button = $(this);5 var button = jQuery(this); 6 6 wp.media.editor.send.attachment = function(props, attachment) { 7 $(button).parent().prev().attr('src', attachment.url);8 $(button).prev().val(attachment.id);7 jQuery(button).parent().prev().attr('src', attachment.url); 8 jQuery(button).prev().val(attachment.id); 9 9 wp.media.editor.send.attachment = send_attachment_bkp; 10 10 } … … 14 14 15 15 // The "Remove" button (remove the value from input type='hidden') 16 $('.remove_image_button').click(function() {16 jQuery('.remove_image_button').click(function() { 17 17 var answer = confirm('Are you sure?'); 18 18 if (answer == true) { 19 var src = $(this).parent().prev().attr('data-src');20 $(this).parent().prev().attr('src', src);21 $(this).prev().prev().val('');19 var src = jQuery(this).parent().prev().attr('data-src'); 20 jQuery(this).parent().prev().attr('src', src); 21 jQuery(this).prev().prev().val(''); 22 22 } 23 23 return false; -
nomorepass-forget-your-passwords/trunk/readme.txt
r1989620 r2054404 2 2 Contributors: biblioeteca 3 3 Donate link: https://www.biblioeteca.com/biblioeteca.web/dona 4 Tags: password, login, nomorepass, wordpress login, wp login form, wp-login, clef, two-factor, clef replacement, password manager, safe login, qr login4 Tags: password, login, nomorepass, wordpress login, wp login form, wp-login, two-factor, password manager, safe login, qr login, mobile 5 5 Requires at least: 3.5 6 Tested up to: 5. 07 Stable tag: 1.9. 06 Tested up to: 5.1.1 7 Stable tag: 1.9.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 43 43 1. etc. 44 44 45 <strong>Perfect replacement for two-factor authentication plugin Clef</strong>.45 <strong>Perfect replacement for old two-factor authentication plugin Clef</strong>. 46 46 47 47 == Installation == … … 120 120 == Changelog == 121 121 122 = 1.9.1 = 123 * Fixed error is no other plugin is using jquery in admin page 124 122 125 = 1.9.0 = 123 126 * Allows custom modifications of text
Note: See TracChangeset
for help on using the changeset viewer.