Version Description
- Removed news dashboard widget
Download this release
Release Info
Developer | machothemes |
Plugin | Custom Login Page Customizer by Colorlib |
Version | 1.2.93 |
Comparing to | |
See all releases |
Code changes from version 1.2.92 to 1.2.93
colorlib-login-customizer.php
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Colorlib Login Customizer
|
4 |
-
* Version: 1.2.
|
5 |
* Description: Colorlib Login Customizer is an awesome and intuitive plugin that helps you personalize your login form directly from the Customizer. The plugin fully supports the Live Customizer feature and you can see all the changes in real time and edit them.
|
6 |
* Author: Colorlib
|
7 |
* Author URI: https://colorlib.com/
|
8 |
-
* Tested up to: 5.
|
9 |
* Requires: 4.6 or higher
|
10 |
* License: GPLv3 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -39,7 +39,6 @@ define( 'COLORLIB_LOGIN_CUSTOMIZER_SITE', rtrim( ABSPATH, '\\/' ) );
|
|
39 |
|
40 |
// Load plugin class files
|
41 |
require_once 'includes/class-colorlib-login-customizer-autoloader.php';
|
42 |
-
require_once 'includes/class-colorlib-dashboard-widget-extend-feed.php';
|
43 |
|
44 |
/**
|
45 |
* Returns the main instance of Colorlib_Login_Customizer to prevent the need to use globals.
|
@@ -69,5 +68,4 @@ function clc_check_for_review() {
|
|
69 |
}
|
70 |
|
71 |
colorlib_login_customizer();
|
72 |
-
clc_check_for_review();
|
73 |
-
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Colorlib Login Customizer
|
4 |
+
* Version: 1.2.93
|
5 |
* Description: Colorlib Login Customizer is an awesome and intuitive plugin that helps you personalize your login form directly from the Customizer. The plugin fully supports the Live Customizer feature and you can see all the changes in real time and edit them.
|
6 |
* Author: Colorlib
|
7 |
* Author URI: https://colorlib.com/
|
8 |
+
* Tested up to: 5.2
|
9 |
* Requires: 4.6 or higher
|
10 |
* License: GPLv3 or later
|
11 |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
39 |
|
40 |
// Load plugin class files
|
41 |
require_once 'includes/class-colorlib-login-customizer-autoloader.php';
|
|
|
42 |
|
43 |
/**
|
44 |
* Returns the main instance of Colorlib_Login_Customizer to prevent the need to use globals.
|
68 |
}
|
69 |
|
70 |
colorlib_login_customizer();
|
71 |
+
clc_check_for_review();
|
|
includes/class-colorlib-dashboard-widget-extend-feed.php
DELETED
@@ -1,91 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
if ( ! class_exists( 'Colorlib_Dashboard_Widget_Extend_Feed' ) ) {
|
4 |
-
|
5 |
-
class Colorlib_Dashboard_Widget_Extend_Feed {
|
6 |
-
|
7 |
-
public function __construct() {
|
8 |
-
|
9 |
-
// Actions.
|
10 |
-
add_action( 'wp_feed_options', array( $this, 'dashboard_update_feed_urls' ), 10, 2 );
|
11 |
-
|
12 |
-
// Filters.
|
13 |
-
add_filter( 'dashboard_secondary_items', array( $this, 'dashboard_items_count' ) );
|
14 |
-
|
15 |
-
}
|
16 |
-
|
17 |
-
public function dashboard_items_count() {
|
18 |
-
|
19 |
-
/**
|
20 |
-
* Apply the filters am_dashboard_feed_count for letting an admin
|
21 |
-
* override this count.
|
22 |
-
*/
|
23 |
-
return (int) apply_filters( 'colorlib_dashboard_feed_count', 6 );
|
24 |
-
}
|
25 |
-
|
26 |
-
public function dashboard_update_feed_urls( $feed, $url ) {
|
27 |
-
|
28 |
-
global $pagenow;
|
29 |
-
|
30 |
-
// Return early if not on the right page.
|
31 |
-
if ( 'admin-ajax.php' !== $pagenow ) {
|
32 |
-
return;
|
33 |
-
}
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Return early if not on the right feed.
|
37 |
-
* We want to modify the feed URLs only for the
|
38 |
-
* WordPress Events & News Dashboard Widget
|
39 |
-
*/
|
40 |
-
|
41 |
-
if ( is_array( $url ) ) {
|
42 |
-
if ( ! in_array( 'https://planet.wordpress.org/feed/', $url ) ) {
|
43 |
-
return;
|
44 |
-
}
|
45 |
-
}else{
|
46 |
-
if ( strpos( $url, 'planet.wordpress.org' ) === false ) {
|
47 |
-
return;
|
48 |
-
}
|
49 |
-
}
|
50 |
-
|
51 |
-
// Build the feed sources.
|
52 |
-
$all_feed_urls = $this->get_feed_urls( $url );
|
53 |
-
|
54 |
-
// Update the feed sources.
|
55 |
-
$feed->set_feed_url( $all_feed_urls );
|
56 |
-
}
|
57 |
-
|
58 |
-
public function get_feed_urls( $url ) {
|
59 |
-
|
60 |
-
// Initialize the feeds array.
|
61 |
-
$feed_urls = array( $url );
|
62 |
-
|
63 |
-
$check = get_transient( 'colorlib_dashboard_feed' );
|
64 |
-
$feeds = array();
|
65 |
-
if ( ! $check ) {
|
66 |
-
|
67 |
-
$feed_working = 'not-working';
|
68 |
-
|
69 |
-
// Load SimplePie Instance
|
70 |
-
$feed = fetch_feed( array( 'https://colorlib.com/wp/feed/' ) );
|
71 |
-
|
72 |
-
// TODO report error when is an error loading the feed
|
73 |
-
if ( ! is_wp_error( $feed ) ) {
|
74 |
-
$feed_urls[] = 'https://colorlib.com/wp/feed/';
|
75 |
-
$feed_working = 'working';
|
76 |
-
}
|
77 |
-
|
78 |
-
set_transient( 'colorlib_dashboard_feed', $feed_working, 12 * HOUR_IN_SECONDS );
|
79 |
-
|
80 |
-
}elseif ( 'working' == $check ) {
|
81 |
-
$feed_urls[] = 'https://colorlib.com/wp/feed/';
|
82 |
-
}
|
83 |
-
|
84 |
-
// Return the feed URLs.
|
85 |
-
return array_unique( $feed_urls );
|
86 |
-
}
|
87 |
-
}
|
88 |
-
|
89 |
-
// Create an instance.
|
90 |
-
new Colorlib_Dashboard_Widget_Extend_Feed();
|
91 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
includes/lib/class-colorlib-login-customizer-css-customization.php
CHANGED
@@ -44,7 +44,7 @@ class Colorlib_Login_Customizer_CSS_Customization {
|
|
44 |
add_filter( 'login_headerurl', array( $this, 'logo_url' ), 99 );
|
45 |
add_filter('login_headertext', array($this, 'logo_title'), 99);
|
46 |
add_filter('login_title', array($this, 'login_page_title'), 99);
|
47 |
-
|
48 |
add_action( 'customize_preview_init', array( $this, 'output_css_object' ), 26 );
|
49 |
}
|
50 |
|
44 |
add_filter( 'login_headerurl', array( $this, 'logo_url' ), 99 );
|
45 |
add_filter('login_headertext', array($this, 'logo_title'), 99);
|
46 |
add_filter('login_title', array($this, 'login_page_title'), 99);
|
47 |
+
|
48 |
add_action( 'customize_preview_init', array( $this, 'output_css_object' ), 26 );
|
49 |
}
|
50 |
|
languages/colorlib-login-customizer.po
CHANGED
@@ -5,7 +5,7 @@ msgstr ""
|
|
5 |
"Project-Id-Version: Colorlib Login Customizer 1.2.92\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/colorlib-login-customizer\n"
|
8 |
-
"POT-Creation-Date: 2019-09-10 13:
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
5 |
"Project-Id-Version: Colorlib Login Customizer 1.2.92\n"
|
6 |
"Report-Msgid-Bugs-To: "
|
7 |
"https://wordpress.org/support/plugin/colorlib-login-customizer\n"
|
8 |
+
"POT-Creation-Date: 2019-09-10 13:38:17+00:00\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=utf-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: silkalns
|
|
3 |
Tags: customize login, login, custom login, customize wordpress login, wordpress login, customizer, custom admin, login logo, logo, login customizer, custom wp-login
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.2
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
@@ -93,6 +93,9 @@ If you enjoy using Colorlib Login Customizer for WordPress please leave a [posit
|
|
93 |
|
94 |
== Changelog ==
|
95 |
|
|
|
|
|
|
|
96 |
= 1.2.92 =
|
97 |
* Update for possibility to add links inside certain form texts
|
98 |
|
3 |
Tags: customize login, login, custom login, customize wordpress login, wordpress login, customizer, custom admin, login logo, logo, login customizer, custom wp-login
|
4 |
Requires at least: 4.7
|
5 |
Tested up to: 5.2
|
6 |
+
Stable tag: 1.2.93
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
|
93 |
|
94 |
== Changelog ==
|
95 |
|
96 |
+
= 1.2.93 =
|
97 |
+
* Removed news dashboard widget
|
98 |
+
|
99 |
= 1.2.92 =
|
100 |
* Update for possibility to add links inside certain form texts
|
101 |
|