Version Description
Download this release
Release Info
Developer | uberweb |
Plugin | Uber Login Logo |
Version | 0.2 |
Comparing to | |
See all releases |
Code changes from version 0.1 to 0.2
- readme.txt +6 -2
- uber-login-logo-min.js +3 -1
- uber-login-logo.php +3 -3
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: uberweb
|
3 |
Tags: login, logo, login logo, admin, customisation, customization, custom login, media uploader, AJAX, wp-login
|
4 |
Requires at least: 3.0
|
5 |
-
Tested up to: 3.
|
6 |
-
Stable tag: 0.
|
7 |
|
8 |
A simple, lightweight WordPress plugin to change your login logo.
|
9 |
|
@@ -37,3 +37,7 @@ I'd like to keep this plugin simple, but if you think you have a good idea leave
|
|
37 |
|
38 |
* The first release.
|
39 |
|
|
|
|
|
|
|
|
2 |
Contributors: uberweb
|
3 |
Tags: login, logo, login logo, admin, customisation, customization, custom login, media uploader, AJAX, wp-login
|
4 |
Requires at least: 3.0
|
5 |
+
Tested up to: 3.3.1
|
6 |
+
Stable tag: 0.2
|
7 |
|
8 |
A simple, lightweight WordPress plugin to change your login logo.
|
9 |
|
37 |
|
38 |
* The first release.
|
39 |
|
40 |
+
= Version 0.2 =
|
41 |
+
|
42 |
+
* Compatible up to 3.3.1 (and probably beyond)
|
43 |
+
|
uber-login-logo-min.js
CHANGED
@@ -1 +1,3 @@
|
|
1 |
-
jQuery(document).ready(function(){
|
|
|
|
1 |
+
jQuery(document).ready(function(){function b(a,b){nonce=jQuery("#uber_login_logo_nonce").val();jQuery.post(ajaxurl,{action:"getImageData",id:a,src:b,uber_login_logo_nonce:nonce},function(a){jQuery(".uber-login-logo .img-holder .img-preview").html('<img src="'+a+'" />');jQuery(".uber-login-logo .img-holder").show();jQuery(".uber-login-logo .update-status").show()})}(function(){nonce=jQuery("#uber_login_logo_nonce").val();jQuery.post(ajaxurl,{action:"displayPreviewImg",uber_login_logo_nonce:nonce},
|
2 |
+
function(a){a&&(jQuery("#upload_image").val(a),jQuery(".uber-login-logo .img-holder .img-preview").html('<img src="'+a+'" />'),jQuery(".uber-login-logo .img-holder").show())})})();jQuery("#upload_image_button, #upload_image").click(function(){tb_show("","media-upload.php?type=image&TB_iframe=true");return!1});window.send_to_editor=function(a){word_old=!1;(imgurl=jQuery("img",a).attr("src"))||(word_old=!0);word_old?(imgurl=jQuery(a).attr("src"),imgclass=jQuery(a).attr("class")):imgclass=jQuery("img",
|
3 |
+
a).attr("class");imgid=parseInt(imgclass.replace(/\D/g,""),10);imgid=parseInt(imgclass.replace(/\D/g,""),10);jQuery("#upload_image").val(imgurl);tb_remove();b(imgid,imgurl)}});
|
uber-login-logo.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
* @link http://www.uberweb.com.au/uber-login-logo-wordpress-plugin/
|
7 |
*
|
8 |
* @author Alex Rogers
|
9 |
-
* @version 0.
|
10 |
* @package Uber_Login_Logo
|
11 |
*/
|
12 |
|
@@ -14,7 +14,7 @@
|
|
14 |
Plugin Name: Uber Login Logo
|
15 |
Plugin URI: http://www.uberweb.com.au/uber-login-logo-wordpress-plugin/
|
16 |
Description: Change login logo.
|
17 |
-
Version: 0.
|
18 |
Author: UberWeb
|
19 |
Author URI: http://www.uberweb.com.au/
|
20 |
License: GPLv2 or later
|
@@ -55,7 +55,7 @@ class UberLoginLogo
|
|
55 |
/**
|
56 |
* @const VERSION The current plugin version
|
57 |
*/
|
58 |
-
const VERSION = '0.
|
59 |
|
60 |
/**
|
61 |
* @const UBERURL Link to uberweb site
|
6 |
* @link http://www.uberweb.com.au/uber-login-logo-wordpress-plugin/
|
7 |
*
|
8 |
* @author Alex Rogers
|
9 |
+
* @version 0.2
|
10 |
* @package Uber_Login_Logo
|
11 |
*/
|
12 |
|
14 |
Plugin Name: Uber Login Logo
|
15 |
Plugin URI: http://www.uberweb.com.au/uber-login-logo-wordpress-plugin/
|
16 |
Description: Change login logo.
|
17 |
+
Version: 0.2
|
18 |
Author: UberWeb
|
19 |
Author URI: http://www.uberweb.com.au/
|
20 |
License: GPLv2 or later
|
55 |
/**
|
56 |
* @const VERSION The current plugin version
|
57 |
*/
|
58 |
+
const VERSION = '0.2';
|
59 |
|
60 |
/**
|
61 |
* @const UBERURL Link to uberweb site
|