Changeset 3319592
- Timestamp:
- 06/29/2025 09:17:19 PM (9 months ago)
- Location:
- simple-custom-login-page
- Files:
-
- 45 added
- 10 edited
-
tags/1.0.3 (added)
-
tags/1.0.3/admin (added)
-
tags/1.0.3/admin/class-simple-custom-login-page-admin.php (added)
-
tags/1.0.3/admin/css (added)
-
tags/1.0.3/admin/css/simple-custom-login-page-admin.css (added)
-
tags/1.0.3/admin/images (added)
-
tags/1.0.3/admin/images/sclp-logo.svg (added)
-
tags/1.0.3/admin/index.php (added)
-
tags/1.0.3/admin/js (added)
-
tags/1.0.3/admin/js/simple-custom-login-page-admin.js (added)
-
tags/1.0.3/admin/partials (added)
-
tags/1.0.3/admin/partials/simple-custom-login-page-admin-display.php (added)
-
tags/1.0.3/includes (added)
-
tags/1.0.3/includes/class-simple-custom-login-page-activator.php (added)
-
tags/1.0.3/includes/class-simple-custom-login-page-deactivator.php (added)
-
tags/1.0.3/includes/class-simple-custom-login-page-i18n.php (added)
-
tags/1.0.3/includes/class-simple-custom-login-page-loader.php (added)
-
tags/1.0.3/includes/class-simple-custom-login-page.php (added)
-
tags/1.0.3/includes/index.php (added)
-
tags/1.0.3/index.php (added)
-
tags/1.0.3/languages (added)
-
tags/1.0.3/languages/simple-custom-login-page-de_DE.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-de_DE.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-el.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-el.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-es_ES.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-es_ES.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-fr_FR.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-fr_FR.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-it_IT.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-it_IT.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-ru_RU.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-ru_RU.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-sv_SE.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-sv_SE.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-tr_TR.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-tr_TR.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-uk.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-uk.po (added)
-
tags/1.0.3/languages/simple-custom-login-page-zh_CN.mo (added)
-
tags/1.0.3/languages/simple-custom-login-page-zh_CN.po (added)
-
tags/1.0.3/languages/simple-custom-login-page.pot (added)
-
tags/1.0.3/readme.txt (added)
-
tags/1.0.3/simple-custom-login-page.php (added)
-
tags/1.0.3/uninstall.php (added)
-
trunk/admin/class-simple-custom-login-page-admin.php (modified) (1 diff)
-
trunk/admin/css/simple-custom-login-page-admin.css (modified) (1 diff)
-
trunk/admin/js/simple-custom-login-page-admin.js (modified) (1 diff)
-
trunk/includes/class-simple-custom-login-page-activator.php (modified) (2 diffs)
-
trunk/includes/class-simple-custom-login-page-deactivator.php (modified) (1 diff)
-
trunk/includes/class-simple-custom-login-page-i18n.php (modified) (2 diffs)
-
trunk/includes/class-simple-custom-login-page-loader.php (modified) (1 diff)
-
trunk/includes/class-simple-custom-login-page.php (modified) (4 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/simple-custom-login-page.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-custom-login-page/trunk/admin/class-simple-custom-login-page-admin.php
r3015871 r3319592 9 9 * @subpackage Simple_Custom_Login_Page/admin 10 10 */ 11 12 // If this file is called directly, abort. 13 if ( ! defined( 'ABSPATH' ) ) { 14 exit; 15 } 11 16 12 17 /** -
simple-custom-login-page/trunk/admin/css/simple-custom-login-page-admin.css
r3015871 r3319592 1 1 .settings_page_simple-custom-login-page table { 2 margin: 32px 0;3 background: #fff;4 border-radius: 16px;5 max-width: 600px;2 margin: 32px 0; 3 background: #fff; 4 border-radius: 16px; 5 max-width: 600px; 6 6 } 7 7 8 8 .settings_page_simple-custom-login-page table th { 9 width: 150px;9 width: 150px; 10 10 } 11 11 12 12 .settings_page_simple-custom-login-page table th, 13 13 .settings_page_simple-custom-login-page table td { 14 padding: 16px;14 padding: 16px; 15 15 } 16 16 17 17 .settings_page_simple-custom-login-page table input[type="text"] { 18 width: 100%18 width: 100% 19 19 } 20 20 21 21 .sclp-image-selector img { 22 display: block;23 width: auto;24 height: auto;25 max-width: 300px;26 max-height: 100px;27 margin-bottom: 8px;22 display: block; 23 width: auto; 24 height: auto; 25 max-width: 300px; 26 max-height: 100px; 27 margin-bottom: 8px; 28 28 } 29 29 30 30 .sclp-heading { 31 display: flex;32 align-items: center;33 font-weight: 100;34 font-size: 38px;35 margin: 16px 0;36 padding: 16px;37 color: #ffffff;38 background: #2271b1;39 border-radius: 16px;40 max-width: 568px;41 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25);31 display: flex; 32 align-items: center; 33 font-weight: 100; 34 font-size: 38px; 35 margin: 16px 0; 36 padding: 16px; 37 color: #ffffff; 38 background: #2271b1; 39 border-radius: 16px; 40 max-width: 568px; 41 box-shadow: 0 5px 10px rgba(0, 0, 0, 0.25); 42 42 } 43 43 44 44 .sclp-heading::before { 45 content: "";46 display: block;47 background-image: url(../images/sclp-logo.svg);48 background-repeat: no-repeat;49 background-size: 100%;50 width: 60px;51 height: 60px;52 margin-right: 16px;45 content: ""; 46 display: block; 47 background-image: url(../images/sclp-logo.svg); 48 background-repeat: no-repeat; 49 background-size: 100%; 50 width: 60px; 51 height: 60px; 52 margin-right: 16px; 53 53 } 54 54 55 55 .sclp-info { 56 color: #777;57 font-size: 12px;58 font-style: italic;56 color: #777; 57 font-size: 12px; 58 font-style: italic; 59 59 } -
simple-custom-login-page/trunk/admin/js/simple-custom-login-page-admin.js
r3015871 r3319592 1 jQuery(document).ready(function ($) { 2 let custom_uploader; 3 $('#upload_image_button').click(function (e) { 4 e.preventDefault(); 1 /** 2 * Simple Custom Login Page Admin JavaScript 3 * 4 * @package Simple_Custom_Login_Page 5 * @since 1.0.0 6 */ 5 7 6 if (custom_uploader) { 7 custom_uploader.open(); 8 return; 9 } 8 jQuery( document ).ready( 9 function ($) { 10 let custom_uploader; 11 $( '#upload_image_button' ).click( 12 function (e) { 13 e.preventDefault(); 10 14 11 custom_uploader = wp.media.frames.file_frame = wp.media({ 12 title: 'Choose Image', 13 button: { 14 text: 'Choose Image' 15 }, 16 multiple: false 17 }); 15 if (custom_uploader) { 16 custom_uploader.open(); 17 return; 18 } 18 19 19 custom_uploader.on('select', function () { 20 attachment = custom_uploader.state().get('selection').first().toJSON(); 21 $('#simple_custom_login_page_image').val(attachment.url); 22 $('#upload_image_preview').attr('src', attachment.url); 23 }); 20 custom_uploader = wp.media.frames.file_frame = wp.media( 21 { 22 title: 'Choose Image', 23 button: { 24 text: 'Choose Image' 25 }, 26 multiple: false 27 } 28 ); 24 29 25 custom_uploader.open(); 26 }); 30 custom_uploader.on( 31 'select', 32 function () { 33 attachment = custom_uploader.state().get( 'selection' ).first().toJSON(); 34 $( '#simple_custom_login_page_image' ).val( attachment.url ); 35 $( '#upload_image_preview' ).attr( 'src', attachment.url ); 36 } 37 ); 27 38 28 $('#reset_image_button').click(function (e) { 29 e.preventDefault(); 30 $('#simple_custom_login_page_image').val(''); 31 $('#upload_image_preview').attr('src', $('#upload_image_preview').data('default')); 32 }); 39 custom_uploader.open(); 40 } 41 ); 33 42 34 $('#simple_custom_login_page_form_bg').wpColorPicker(); 35 $('#simple_custom_login_page_background').wpColorPicker(); 36 $('#simple_custom_login_page_text_color').wpColorPicker(); 37 $('#simple_custom_login_page_link_color').wpColorPicker(); 38 }); 43 $( '#reset_image_button' ).click( 44 function (e) { 45 e.preventDefault(); 46 $( '#simple_custom_login_page_image' ).val( '' ); 47 $( '#upload_image_preview' ).attr( 'src', $( '#upload_image_preview' ).data( 'default' ) ); 48 } 49 ); 39 50 40 51 $( '#simple_custom_login_page_form_bg' ).wpColorPicker(); 52 $( '#simple_custom_login_page_background' ).wpColorPicker(); 53 $( '#simple_custom_login_page_text_color' ).wpColorPicker(); 54 $( '#simple_custom_login_page_link_color' ).wpColorPicker(); 55 } 56 ); -
simple-custom-login-page/trunk/includes/class-simple-custom-login-page-activator.php
r3015871 r3319592 9 9 * @subpackage Simple_Custom_Login_Page/includes 10 10 */ 11 12 // If this file is called directly, abort. 13 if ( ! defined( 'ABSPATH' ) ) { 14 exit; 15 } 11 16 12 17 /** … … 28 33 */ 29 34 public static function activate() { 30 31 35 } 32 33 36 } -
simple-custom-login-page/trunk/includes/class-simple-custom-login-page-deactivator.php
r3015871 r3319592 9 9 * @subpackage Simple_Custom_Login_Page/includes 10 10 */ 11 12 // If this file is called directly, abort. 13 if ( ! defined( 'ABSPATH' ) ) { 14 exit; 15 } 11 16 12 17 /** -
simple-custom-login-page/trunk/includes/class-simple-custom-login-page-i18n.php
r3015871 r3319592 12 12 * @subpackage Simple_Custom_Login_Page/includes 13 13 */ 14 15 // If this file is called directly, abort. 16 if ( ! defined( 'ABSPATH' ) ) { 17 exit; 18 } 14 19 15 20 /** … … 38 43 dirname( dirname( plugin_basename( __FILE__ ) ) ) . '/languages/' 39 44 ); 40 41 45 } 42 43 46 } -
simple-custom-login-page/trunk/includes/class-simple-custom-login-page-loader.php
r3015871 r3319592 9 9 * @subpackage Simple_Custom_Login_Page/includes 10 10 */ 11 12 // If this file is called directly, abort. 13 if ( ! defined( 'ABSPATH' ) ) { 14 exit; 15 } 11 16 12 17 /** -
simple-custom-login-page/trunk/includes/class-simple-custom-login-page.php
r3199992 r3319592 9 9 * @subpackage Simple_Custom_Login_Page/includes 10 10 */ 11 12 // If this file is called directly, abort. 13 if ( ! defined( 'ABSPATH' ) ) { 14 exit; 15 } 11 16 12 17 /** … … 65 70 $this->version = SCLP_VERSION; 66 71 } else { 67 $this->version = '1.0. 2';72 $this->version = '1.0.3'; 68 73 } 69 74 $this->plugin_name = 'simple-custom-login-page'; … … 95 100 * core plugin. 96 101 */ 97 require_once plugin_dir_path( dirname( __FILE__ )) . 'includes/class-simple-custom-login-page-loader.php';102 require_once plugin_dir_path( __DIR__ ) . 'includes/class-simple-custom-login-page-loader.php'; 98 103 99 104 /** … … 101 106 * of the plugin. 102 107 */ 103 require_once plugin_dir_path( dirname( __FILE__ )) . 'includes/class-simple-custom-login-page-i18n.php';108 require_once plugin_dir_path( __DIR__ ) . 'includes/class-simple-custom-login-page-i18n.php'; 104 109 105 110 /** 106 111 * The class responsible for defining all actions that occur in the admin area. 107 112 */ 108 require_once plugin_dir_path( dirname( __FILE__ )) . 'admin/class-simple-custom-login-page-admin.php';113 require_once plugin_dir_path( __DIR__ ) . 'admin/class-simple-custom-login-page-admin.php'; 109 114 110 115 $this->loader = new Simple_Custom_Login_Page_Loader(); -
simple-custom-login-page/trunk/readme.txt
r3199992 r3319592 1 1 === Simple Custom Login Page === 2 2 Contributors: pattihis 3 Tags: login, logo, login logo, admin, customisation, customization, branding, colors, custom login, wp-login, login page, login brand3 Tags: login, custom login, branding, colors, wp-login 4 4 Requires at least: 5.3.0 5 Tested up to: 6. 7.15 Tested up to: 6.8 6 6 Requires PHP: 7.0 7 Stable tag: 1.0. 27 Stable tag: 1.0.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 70 70 == Changelog == 71 71 72 = Version 1.0.3 = 73 * Ensure compatibility with WP 6.8 74 * Reduced tags to the 5 most useful and relevant ones 75 * Ensured full WordPress coding standards compliance (PHPCS) 76 72 77 = Version 1.0.2 = 73 78 * Compatible with WP 6.7 -
simple-custom-login-page/trunk/simple-custom-login-page.php
r3199992 r3319592 14 14 * Plugin URI: https://wordpress.org/plugins/simple-custom-login-page/ 15 15 * Description: This plugin allows you to customize the image and the appearance of the WordPress Login Screen. 16 * Version: 1.0. 216 * Version: 1.0.3 17 17 * Requires at least: 5.3.0 18 * Tested up to: 6. 7.118 * Tested up to: 6.8 19 19 * Requires PHP: 7.0 20 20 * Author: George Pattichis … … 53 53 * @var string The current plugin version. 54 54 */ 55 define( 'SCLP_VERSION', '1.0. 2' );55 define( 'SCLP_VERSION', '1.0.3' ); 56 56 57 57 /**
Note: See TracChangeset
for help on using the changeset viewer.