Version Description
- Prefixed class exist check with backslash.
- [Pro] Added MemberMouse integration.
Download this release
Release Info
Developer | Collizo4sky |
Plugin | Peter’s Login Redirect |
Version | 3.0.0.4 |
Comparing to | |
See all releases |
Code changes from version 3.0.0.3 to 3.0.0.4
- changelog.txt +4 -0
- languages/peters-login-redirect.pot +21 -37
- readme.txt +9 -1
- src/core/src/Admin/AbstractSettingsPage.php +1 -0
- src/core/src/Admin/ProfilePress.php +1 -1
- src/core/src/MoAdminNotice.php +1 -1
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +4 -4
- vendor/composer/installed.json +7 -7
- vendor/composer/installed.php +5 -5
- wplogin_redirect.php +2 -2
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 3.0.0.3 =
|
4 |
* Fixed multisite installation bug.
|
5 |
* Fixed issue where database migration didn't work.
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 3.0.0.4 =
|
4 |
+
* Prefixed class exist check with backslash.
|
5 |
+
* [Pro] [Added MemberMouse integration](https://loginwp.com/pricing/?utm_source=wprepo&utm_medium=changelog&utm_campaign=3004).
|
6 |
+
|
7 |
= 3.0.0.3 =
|
8 |
* Fixed multisite installation bug.
|
9 |
* Fixed issue where database migration didn't work.
|
languages/peters-login-redirect.pot
CHANGED
@@ -1,24 +1,17 @@
|
|
1 |
-
|
|
|
2 |
msgid ""
|
3 |
msgstr ""
|
4 |
-
"
|
5 |
-
"
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"Last-Translator: \n"
|
9 |
-
"Language-Team: \n"
|
10 |
"MIME-Version: 1.0\n"
|
11 |
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"
|
14 |
-
"
|
15 |
-
"
|
16 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
17 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
|
18 |
-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
|
19 |
-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
22 |
|
23 |
#: src/core/src/Admin/AbstractSettingsPage.php:30
|
24 |
msgid "Request Support"
|
@@ -44,41 +37,37 @@ msgstr ""
|
|
44 |
msgid "Need Support?"
|
45 |
msgstr ""
|
46 |
|
47 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
48 |
-
#, php-format
|
49 |
msgid ""
|
50 |
"Enhance the power of LoginWP with the Pro version featuring integrations "
|
51 |
"with many plugins. %sLearn more%s"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
55 |
msgid "Redirect to referrer or previous page"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
59 |
msgid "Redirect to currently viewing page"
|
60 |
msgstr ""
|
61 |
|
62 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
63 |
msgid "Get LoginWP Pro →"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
67 |
-
#, php-format
|
68 |
msgid ""
|
69 |
"Whether you need help or have a new feature request, let us know. %sRequest "
|
70 |
"Support%s"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
74 |
-
#, php-format
|
75 |
msgid ""
|
76 |
"Detailed documentation is also available on the plugin website. %sView "
|
77 |
"Knowledge Base%s"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#: src/core/src/Admin/AbstractSettingsPage.php:
|
81 |
-
#, php-format
|
82 |
msgid ""
|
83 |
"If you are enjoying LoginWP and find it useful, please consider leaving a "
|
84 |
"★★★★★ review on WordPress.org. %sLeave a Review%s"
|
@@ -97,7 +86,6 @@ msgid "Are you sure?"
|
|
97 |
msgstr ""
|
98 |
|
99 |
#: src/core/src/Admin/Admin.php:105
|
100 |
-
#, php-format
|
101 |
msgid ""
|
102 |
"Thank you for using LoginWP. Please rate the plugin %1$s on %2$sWordPress.org"
|
103 |
"%3$s to help us spread the word."
|
@@ -133,14 +121,12 @@ msgid "Upgrade to PRO"
|
|
133 |
msgstr ""
|
134 |
|
135 |
#: src/core/src/Admin/Admin.php:176
|
136 |
-
#, php-format
|
137 |
msgid ""
|
138 |
"Important news! %1$sPeters Login Redirect%2$s has been rebranded to "
|
139 |
"%1$sLoginWP%2$s with a new UI. %3$sCheck It Out%5$s | %4$sDismiss Notice%5$s"
|
140 |
msgstr ""
|
141 |
|
142 |
#: src/core/src/Admin/Admin.php:206
|
143 |
-
#, php-format
|
144 |
msgid ""
|
145 |
"Hey, I noticed you have been using LoginWP (Formerly Peter's Login Redirect) "
|
146 |
"for a while now - that's awesome! Could you please do me a BIG favor and "
|
@@ -202,15 +188,15 @@ msgstr ""
|
|
202 |
msgid "Login Forms"
|
203 |
msgstr ""
|
204 |
|
|
|
205 |
#: src/core/src/Admin/ProfilePress.php:207
|
206 |
-
#, php-format
|
207 |
msgid ""
|
208 |
"Could not install plugin. Please <a href=\"%s\">download</a> and install "
|
209 |
"manually."
|
210 |
msgstr ""
|
211 |
|
|
|
212 |
#: src/core/src/Admin/ProfilePress.php:219
|
213 |
-
#, php-format
|
214 |
msgid ""
|
215 |
"Could not activate plugin. Please activate from the <a href=\"%s\">Plugins "
|
216 |
"page</a>."
|
@@ -370,7 +356,6 @@ msgid "User Capability"
|
|
370 |
msgstr ""
|
371 |
|
372 |
#: src/core/src/Admin/RedirectWPList.php:95
|
373 |
-
#, php-format
|
374 |
msgid "No redirection rule found. %sConsider creating one%s"
|
375 |
msgstr ""
|
376 |
|
@@ -494,11 +479,9 @@ msgid "Website URL"
|
|
494 |
msgstr ""
|
495 |
|
496 |
#: src/core/src/Admin/RedirectionsPage.php:444
|
497 |
-
#, php-format
|
498 |
msgid ""
|
499 |
"With %sLoginWP PRO%s, you can redirect users to the current page they are "
|
500 |
-
"logging in from or the previous page
|
501 |
-
"page."
|
502 |
msgstr ""
|
503 |
|
504 |
#: src/core/src/Admin/SettingsPage.php:26
|
@@ -620,7 +603,6 @@ msgid "Site Admin"
|
|
620 |
msgstr ""
|
621 |
|
622 |
#: src/core/src/MoAdminNotice.php:64
|
623 |
-
#, php-format
|
624 |
msgid ""
|
625 |
"Free optin form plugin that will %1$sincrease your email list subscribers"
|
626 |
"%2$s and keep them engaged with %1$sautomated and schedule newsletters%2$s."
|
@@ -642,7 +624,9 @@ msgstr ""
|
|
642 |
msgid "LoginWP (Formerly Peter's Login Redirect)"
|
643 |
msgstr ""
|
644 |
|
|
|
645 |
#. Plugin URI of the plugin/theme
|
|
|
646 |
#. Author URI of the plugin/theme
|
647 |
msgid "https://loginwp.com"
|
648 |
msgstr ""
|
1 |
+
# Copyright (C) 2021 LoginWP (Formerly Peter's Login Redirect)
|
2 |
+
# This file is distributed under the same license as the LoginWP (Formerly Peter's Login Redirect) package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: LoginWP (Formerly Peter's Login Redirect) 3.0.0.4\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/peters-login-"
|
7 |
+
"redirect\n"
|
8 |
+
"POT-Creation-Date: 2021-10-07 11:18:52+00:00\n"
|
|
|
|
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n"
|
13 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
|
16 |
#: src/core/src/Admin/AbstractSettingsPage.php:30
|
17 |
msgid "Request Support"
|
37 |
msgid "Need Support?"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:122
|
|
|
41 |
msgid ""
|
42 |
"Enhance the power of LoginWP with the Pro version featuring integrations "
|
43 |
"with many plugins. %sLearn more%s"
|
44 |
msgstr ""
|
45 |
|
46 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:129
|
47 |
msgid "Redirect to referrer or previous page"
|
48 |
msgstr ""
|
49 |
|
50 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:130
|
51 |
msgid "Redirect to currently viewing page"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:138
|
55 |
msgid "Get LoginWP Pro →"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:156
|
|
|
59 |
msgid ""
|
60 |
"Whether you need help or have a new feature request, let us know. %sRequest "
|
61 |
"Support%s"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:164
|
|
|
65 |
msgid ""
|
66 |
"Detailed documentation is also available on the plugin website. %sView "
|
67 |
"Knowledge Base%s"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: src/core/src/Admin/AbstractSettingsPage.php:172
|
|
|
71 |
msgid ""
|
72 |
"If you are enjoying LoginWP and find it useful, please consider leaving a "
|
73 |
"★★★★★ review on WordPress.org. %sLeave a Review%s"
|
86 |
msgstr ""
|
87 |
|
88 |
#: src/core/src/Admin/Admin.php:105
|
|
|
89 |
msgid ""
|
90 |
"Thank you for using LoginWP. Please rate the plugin %1$s on %2$sWordPress.org"
|
91 |
"%3$s to help us spread the word."
|
121 |
msgstr ""
|
122 |
|
123 |
#: src/core/src/Admin/Admin.php:176
|
|
|
124 |
msgid ""
|
125 |
"Important news! %1$sPeters Login Redirect%2$s has been rebranded to "
|
126 |
"%1$sLoginWP%2$s with a new UI. %3$sCheck It Out%5$s | %4$sDismiss Notice%5$s"
|
127 |
msgstr ""
|
128 |
|
129 |
#: src/core/src/Admin/Admin.php:206
|
|
|
130 |
msgid ""
|
131 |
"Hey, I noticed you have been using LoginWP (Formerly Peter's Login Redirect) "
|
132 |
"for a while now - that's awesome! Could you please do me a BIG favor and "
|
188 |
msgid "Login Forms"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#. translators: %s - Lite plugin download URL.
|
192 |
#: src/core/src/Admin/ProfilePress.php:207
|
|
|
193 |
msgid ""
|
194 |
"Could not install plugin. Please <a href=\"%s\">download</a> and install "
|
195 |
"manually."
|
196 |
msgstr ""
|
197 |
|
198 |
+
#. translators: %s - Lite plugin download URL.
|
199 |
#: src/core/src/Admin/ProfilePress.php:219
|
|
|
200 |
msgid ""
|
201 |
"Could not activate plugin. Please activate from the <a href=\"%s\">Plugins "
|
202 |
"page</a>."
|
356 |
msgstr ""
|
357 |
|
358 |
#: src/core/src/Admin/RedirectWPList.php:95
|
|
|
359 |
msgid "No redirection rule found. %sConsider creating one%s"
|
360 |
msgstr ""
|
361 |
|
479 |
msgstr ""
|
480 |
|
481 |
#: src/core/src/Admin/RedirectionsPage.php:444
|
|
|
482 |
msgid ""
|
483 |
"With %sLoginWP PRO%s, you can redirect users to the current page they are "
|
484 |
+
"logging in from or back to the previous (referrer) page after login."
|
|
|
485 |
msgstr ""
|
486 |
|
487 |
#: src/core/src/Admin/SettingsPage.php:26
|
603 |
msgstr ""
|
604 |
|
605 |
#: src/core/src/MoAdminNotice.php:64
|
|
|
606 |
msgid ""
|
607 |
"Free optin form plugin that will %1$sincrease your email list subscribers"
|
608 |
"%2$s and keep them engaged with %1$sautomated and schedule newsletters%2$s."
|
624 |
msgid "LoginWP (Formerly Peter's Login Redirect)"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#. #-#-#-#-# peters-login-redirect.pot (LoginWP (Formerly Peter's Login Redirect) 3.0.0.4) #-#-#-#-#
|
628 |
#. Plugin URI of the plugin/theme
|
629 |
+
#. #-#-#-#-# peters-login-redirect.pot (LoginWP (Formerly Peter's Login Redirect) 3.0.0.4) #-#-#-#-#
|
630 |
#. Author URI of the plugin/theme
|
631 |
msgid "https://loginwp.com"
|
632 |
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: login, logout, redirect, login form, user registration, admin, administrat
|
|
5 |
Requires at least: 4.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.8
|
8 |
-
Stable tag: 3.0.0.
|
9 |
License: GPL-2.0+
|
10 |
|
11 |
Redirect users to different locations after they log in, log out and register based on different conditions.
|
@@ -31,11 +31,15 @@ This is the lite version that works with the default WordPress login page and li
|
|
31 |
* [WPForms](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
32 |
* [LearnDash](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
33 |
* [LifterLMS](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
|
|
34 |
* [MemberPress](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
|
|
35 |
* [Easy Digital Downloads](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
36 |
* [Restrict Content Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
37 |
* [Ultimate Member](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
38 |
* [WP User Manager](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
|
|
|
|
39 |
* [Theme My Login](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
40 |
* [User Registration (WPEverest)](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
41 |
|
@@ -70,6 +74,10 @@ Login redirects not working? This plugin uses WordPress's standard login_redirec
|
|
70 |
|
71 |
== Changelog ==
|
72 |
|
|
|
|
|
|
|
|
|
73 |
= 3.0.0.3 =
|
74 |
* Fixed multisite installation bug.
|
75 |
* Fixed issue where database migration didn't work.
|
5 |
Requires at least: 4.0
|
6 |
Requires PHP: 5.6
|
7 |
Tested up to: 5.8
|
8 |
+
Stable tag: 3.0.0.4
|
9 |
License: GPL-2.0+
|
10 |
|
11 |
Redirect users to different locations after they log in, log out and register based on different conditions.
|
31 |
* [WPForms](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
32 |
* [LearnDash](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
33 |
* [LifterLMS](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
34 |
+
* [ProfilePress](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
35 |
* [MemberPress](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
36 |
+
* [MemberMouse](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
37 |
* [Easy Digital Downloads](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
38 |
* [Restrict Content Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
39 |
* [Ultimate Member](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
40 |
* [WP User Manager](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
41 |
+
* [WP User Frontend](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
42 |
+
* [Paid Membership Pro](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
43 |
* [Theme My Login](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
44 |
* [User Registration (WPEverest)](https://loginwp.com/?utm_source=wprepo&utm_medium=link&utm_campaign=liteversion#pro-integrations)
|
45 |
|
74 |
|
75 |
== Changelog ==
|
76 |
|
77 |
+
= 3.0.0.4 =
|
78 |
+
* Prefixed class exist check with backslash.
|
79 |
+
* [Pro] [Added MemberMouse integration](https://loginwp.com/pricing/?utm_source=wprepo&utm_medium=changelog&utm_campaign=3004).
|
80 |
+
|
81 |
= 3.0.0.3 =
|
82 |
* Fixed multisite installation bug.
|
83 |
* Fixed issue where database migration didn't work.
|
src/core/src/Admin/AbstractSettingsPage.php
CHANGED
@@ -103,6 +103,7 @@ abstract class AbstractSettingsPage
|
|
103 |
'LearnDash',
|
104 |
'ProfilePress',
|
105 |
'MemberPress',
|
|
|
106 |
'Restrict Content Pro',
|
107 |
'LifterLMS',
|
108 |
'Easy Digital Downloads',
|
103 |
'LearnDash',
|
104 |
'ProfilePress',
|
105 |
'MemberPress',
|
106 |
+
'MemberMouse',
|
107 |
'Restrict Content Pro',
|
108 |
'LifterLMS',
|
109 |
'Easy Digital Downloads',
|
src/core/src/Admin/ProfilePress.php
CHANGED
@@ -674,7 +674,7 @@ class ProfilePress
|
|
674 |
*/
|
675 |
protected function is_activated()
|
676 |
{
|
677 |
-
return class_exists('ProfilePress\Core\Base');
|
678 |
}
|
679 |
|
680 |
public function redirect_to_ppress_settings()
|
674 |
*/
|
675 |
protected function is_activated()
|
676 |
{
|
677 |
+
return class_exists('\ProfilePress\Core\Base');
|
678 |
}
|
679 |
|
680 |
public function redirect_to_ppress_settings()
|
src/core/src/MoAdminNotice.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
|
3 |
-
if ( ! class_exists('MO_Admin_Notice')) {
|
4 |
|
5 |
class MO_Admin_Notice
|
6 |
{
|
1 |
<?php
|
2 |
|
3 |
+
if ( ! class_exists('\MO_Admin_Notice')) {
|
4 |
|
5 |
class MO_Admin_Notice
|
6 |
{
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInite2ce34532a123cb53a4c41ae29989246::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -24,15 +24,15 @@ class ComposerAutoloaderInit37fdd4a02b6406828ab351aaea94cb4c
|
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
-
spl_autoload_register(array('
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
-
spl_autoload_unregister(array('
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
-
call_user_func(\Composer\Autoload\
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
@@ -53,19 +53,19 @@ class ComposerAutoloaderInit37fdd4a02b6406828ab351aaea94cb4c
|
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
-
$includeFiles = Composer\Autoload\
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
-
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
-
function
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInite2ce34532a123cb53a4c41ae29989246
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInite2ce34532a123cb53a4c41ae29989246', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInite2ce34532a123cb53a4c41ae29989246', 'loadClassLoader'));
|
30 |
|
31 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
32 |
if ($useStaticLoader) {
|
33 |
require __DIR__ . '/autoload_static.php';
|
34 |
|
35 |
+
call_user_func(\Composer\Autoload\ComposerStaticInite2ce34532a123cb53a4c41ae29989246::getInitializer($loader));
|
36 |
} else {
|
37 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
38 |
foreach ($map as $namespace => $path) {
|
53 |
$loader->register(true);
|
54 |
|
55 |
if ($useStaticLoader) {
|
56 |
+
$includeFiles = Composer\Autoload\ComposerStaticInite2ce34532a123cb53a4c41ae29989246::$files;
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
+
composerRequiree2ce34532a123cb53a4c41ae29989246($fileIdentifier, $file);
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
+
function composerRequiree2ce34532a123cb53a4c41ae29989246($fileIdentifier, $file)
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'7c119350ad5d791b1ae2d87a60e07ace' => __DIR__ . '/../..' . '/src/core/src/MoAdminNotice.php',
|
@@ -156,9 +156,9 @@ class ComposerStaticInit37fdd4a02b6406828ab351aaea94cb4c
|
|
156 |
public static function getInitializer(ClassLoader $loader)
|
157 |
{
|
158 |
return \Closure::bind(function () use ($loader) {
|
159 |
-
$loader->prefixLengthsPsr4 =
|
160 |
-
$loader->prefixDirsPsr4 =
|
161 |
-
$loader->classMap =
|
162 |
|
163 |
}, null, ClassLoader::class);
|
164 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInite2ce34532a123cb53a4c41ae29989246
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'7c119350ad5d791b1ae2d87a60e07ace' => __DIR__ . '/../..' . '/src/core/src/MoAdminNotice.php',
|
156 |
public static function getInitializer(ClassLoader $loader)
|
157 |
{
|
158 |
return \Closure::bind(function () use ($loader) {
|
159 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInite2ce34532a123cb53a4c41ae29989246::$prefixLengthsPsr4;
|
160 |
+
$loader->prefixDirsPsr4 = ComposerStaticInite2ce34532a123cb53a4c41ae29989246::$prefixDirsPsr4;
|
161 |
+
$loader->classMap = ComposerStaticInite2ce34532a123cb53a4c41ae29989246::$classMap;
|
162 |
|
163 |
}, null, ClassLoader::class);
|
164 |
}
|
vendor/composer/installed.json
CHANGED
@@ -200,24 +200,24 @@
|
|
200 |
},
|
201 |
{
|
202 |
"name": "loginwp/core",
|
203 |
-
"version": "0.1.0-alpha.
|
204 |
-
"version_normalized": "0.1.0.0-
|
205 |
"source": {
|
206 |
"type": "git",
|
207 |
"url": "https://github.com/LoginWP/Core.git",
|
208 |
-
"reference": "
|
209 |
},
|
210 |
"dist": {
|
211 |
"type": "zip",
|
212 |
-
"url": "https://api.github.com/repos/LoginWP/Core/zipball/
|
213 |
-
"reference": "
|
214 |
"shasum": ""
|
215 |
},
|
216 |
"require": {
|
217 |
"collizo4sky/persist-admin-notices-dismissal": "^1.4",
|
218 |
"composer/installers": "~1.0"
|
219 |
},
|
220 |
-
"time": "2021-09-
|
221 |
"type": "wordpress-plugin",
|
222 |
"installation-source": "dist",
|
223 |
"autoload": {
|
@@ -233,7 +233,7 @@
|
|
233 |
"description": "Core lib for LoginWP",
|
234 |
"support": {
|
235 |
"issues": "https://github.com/LoginWP/Core/issues",
|
236 |
-
"source": "https://github.com/LoginWP/Core/tree/0.1.0-alpha.
|
237 |
},
|
238 |
"install-path": "../../src/core"
|
239 |
}
|
200 |
},
|
201 |
{
|
202 |
"name": "loginwp/core",
|
203 |
+
"version": "0.1.0-alpha.1633605085",
|
204 |
+
"version_normalized": "0.1.0.0-alpha1633605085",
|
205 |
"source": {
|
206 |
"type": "git",
|
207 |
"url": "https://github.com/LoginWP/Core.git",
|
208 |
+
"reference": "1b59aadd330c7f69e677c5d729da45c43cd70481"
|
209 |
},
|
210 |
"dist": {
|
211 |
"type": "zip",
|
212 |
+
"url": "https://api.github.com/repos/LoginWP/Core/zipball/1b59aadd330c7f69e677c5d729da45c43cd70481",
|
213 |
+
"reference": "1b59aadd330c7f69e677c5d729da45c43cd70481",
|
214 |
"shasum": ""
|
215 |
},
|
216 |
"require": {
|
217 |
"collizo4sky/persist-admin-notices-dismissal": "^1.4",
|
218 |
"composer/installers": "~1.0"
|
219 |
},
|
220 |
+
"time": "2021-09-29T14:32:34+00:00",
|
221 |
"type": "wordpress-plugin",
|
222 |
"installation-source": "dist",
|
223 |
"autoload": {
|
233 |
"description": "Core lib for LoginWP",
|
234 |
"support": {
|
235 |
"issues": "https://github.com/LoginWP/Core/issues",
|
236 |
+
"source": "https://github.com/LoginWP/Core/tree/0.1.0-alpha.1633605085"
|
237 |
},
|
238 |
"install-path": "../../src/core"
|
239 |
}
|
vendor/composer/installed.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
-
'reference' => '
|
9 |
'name' => '__root__',
|
10 |
'dev' => false,
|
11 |
),
|
@@ -16,7 +16,7 @@
|
|
16 |
'type' => 'library',
|
17 |
'install_path' => __DIR__ . '/../../',
|
18 |
'aliases' => array(),
|
19 |
-
'reference' => '
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'collizo4sky/persist-admin-notices-dismissal' => array(
|
@@ -38,12 +38,12 @@
|
|
38 |
'dev_requirement' => false,
|
39 |
),
|
40 |
'loginwp/core' => array(
|
41 |
-
'pretty_version' => '0.1.0-alpha.
|
42 |
-
'version' => '0.1.0.0-
|
43 |
'type' => 'wordpress-plugin',
|
44 |
'install_path' => __DIR__ . '/../../src/core',
|
45 |
'aliases' => array(),
|
46 |
-
'reference' => '
|
47 |
'dev_requirement' => false,
|
48 |
),
|
49 |
'roundcube/plugin-installer' => array(
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '139101866ba724c6c345bc905e1b79e0b28b9f57',
|
9 |
'name' => '__root__',
|
10 |
'dev' => false,
|
11 |
),
|
16 |
'type' => 'library',
|
17 |
'install_path' => __DIR__ . '/../../',
|
18 |
'aliases' => array(),
|
19 |
+
'reference' => '139101866ba724c6c345bc905e1b79e0b28b9f57',
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'collizo4sky/persist-admin-notices-dismissal' => array(
|
38 |
'dev_requirement' => false,
|
39 |
),
|
40 |
'loginwp/core' => array(
|
41 |
+
'pretty_version' => '0.1.0-alpha.1633605085',
|
42 |
+
'version' => '0.1.0.0-alpha1633605085',
|
43 |
'type' => 'wordpress-plugin',
|
44 |
'install_path' => __DIR__ . '/../../src/core',
|
45 |
'aliases' => array(),
|
46 |
+
'reference' => '1b59aadd330c7f69e677c5d729da45c43cd70481',
|
47 |
'dev_requirement' => false,
|
48 |
),
|
49 |
'roundcube/plugin-installer' => array(
|
wplogin_redirect.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: LoginWP (Formerly Peter's Login Redirect)
|
4 |
Plugin URI: https://loginwp.com
|
5 |
Description: Redirect users to different URLs based on their role, capability and more.
|
6 |
-
Version: 3.0.0.
|
7 |
Author: LoginWP Team
|
8 |
Author URI: https://loginwp.com
|
9 |
Text Domain: peters-login-redirect
|
@@ -16,7 +16,7 @@ use LoginWP\Core\Core;
|
|
16 |
require __DIR__ . '/vendor/autoload.php';
|
17 |
|
18 |
define('PTR_LOGINWP_SYSTEM_FILE_PATH', __FILE__);
|
19 |
-
define('PTR_LOGINWP_VERSION_NUMBER', '3.0.0.
|
20 |
|
21 |
add_action('init', function () {
|
22 |
load_plugin_textdomain('peters-login-redirect', false, dirname(plugin_basename(__FILE__)) . '/languages');
|
3 |
Plugin Name: LoginWP (Formerly Peter's Login Redirect)
|
4 |
Plugin URI: https://loginwp.com
|
5 |
Description: Redirect users to different URLs based on their role, capability and more.
|
6 |
+
Version: 3.0.0.4
|
7 |
Author: LoginWP Team
|
8 |
Author URI: https://loginwp.com
|
9 |
Text Domain: peters-login-redirect
|
16 |
require __DIR__ . '/vendor/autoload.php';
|
17 |
|
18 |
define('PTR_LOGINWP_SYSTEM_FILE_PATH', __FILE__);
|
19 |
+
define('PTR_LOGINWP_VERSION_NUMBER', '3.0.0.4');
|
20 |
|
21 |
add_action('init', function () {
|
22 |
load_plugin_textdomain('peters-login-redirect', false, dirname(plugin_basename(__FILE__)) . '/languages');
|