Version Description
- Added a new admin page header.
- Add redirect_to query parameter when Global Access redirects to a login page.
Download this release
Release Info
Developer | Collizo4sky |
Plugin | WP User Avatar |
Version | 3.2.2 |
Comparing to | |
See all releases |
Code changes from version 3.2.1 to 3.2.2
- assets/css/admin-style.css +151 -1
- assets/images/profilepress-logo.svg +1 -0
- changelog.txt +4 -0
- deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php +27 -37
- languages/wp-user-avatar.pot +336 -295
- readme.txt +5 -1
- src/Admin/SettingsPages/AbstractSettingsPage.php +184 -54
- src/Admin/SettingsPages/AddNewForm.php +1 -2
- src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php +47 -22
- src/Admin/SettingsPages/EmailSettings/WPListTable.php +2 -2
- src/Admin/SettingsPages/ExtensionsSettingsPage.php +21 -11
- src/Admin/SettingsPages/Forms.php +18 -4
- src/Admin/SettingsPages/GeneralSettings.php +60 -17
- src/Admin/SettingsPages/MailOptin.php +1 -1
- src/Admin/SettingsPages/MemberDirectories.php +8 -2
- src/Admin/SettingsPages/ToolsSettingsPage.php +10 -11
- src/Admin/index.php +1 -1
- src/AdminBarDashboardAccess/Init.php +22 -31
- src/Base.php +3 -1
- src/Classes/AdminNotices.php +16 -0
- src/Classes/GlobalSiteAccess.php +6 -1
- src/ContentProtection/SettingsPage.php +24 -13
- src/Functions/PPressBFnote.php +158 -0
- src/Functions/custom-settings-api.php +3 -8
- vendor/autoload.php +1 -1
- vendor/composer/autoload_files.php +1 -0
- vendor/composer/autoload_real.php +7 -7
- vendor/composer/autoload_static.php +5 -4
- vendor/composer/installed.php +2 -2
- wp-user-avatar.php +2 -2
assets/css/admin-style.css
CHANGED
@@ -409,7 +409,8 @@
|
|
409 |
.ppview .pp-settings-wrap {
|
410 |
display: flex;
|
411 |
border: 1px solid #c8d7e1;
|
412 |
-
border-top: 0
|
|
|
413 |
}
|
414 |
|
415 |
.ppview .pp-settings-wrap .dashicons {
|
@@ -1835,4 +1836,153 @@ textarea.wp-editor-area {
|
|
1835 |
.ppress-extensions-upsell-wrap .ppress-extensions-upsell-highlight {
|
1836 |
font-weight: bold;
|
1837 |
color: #007cba;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1838 |
}
|
409 |
.ppview .pp-settings-wrap {
|
410 |
display: flex;
|
411 |
border: 1px solid #c8d7e1;
|
412 |
+
/*border-top: 0;*/
|
413 |
+
margin-top: 5px;
|
414 |
}
|
415 |
|
416 |
.ppview .pp-settings-wrap .dashicons {
|
1836 |
.ppress-extensions-upsell-wrap .ppress-extensions-upsell-highlight {
|
1837 |
font-weight: bold;
|
1838 |
color: #007cba;
|
1839 |
+
}
|
1840 |
+
|
1841 |
+
/* new admin pages header */
|
1842 |
+
.ppress-admin .ppress-admin-banner {
|
1843 |
+
background-color: #326ee0;
|
1844 |
+
-webkit-box-sizing: border-box;
|
1845 |
+
box-sizing: border-box;
|
1846 |
+
overflow: hidden;
|
1847 |
+
position: relative;
|
1848 |
+
top: 0;
|
1849 |
+
width: 100%;
|
1850 |
+
padding: 15px;
|
1851 |
+
}
|
1852 |
+
|
1853 |
+
.ppress-admin .ppress-admin-wrap {
|
1854 |
+
margin-bottom: 10px;
|
1855 |
+
}
|
1856 |
+
|
1857 |
+
.ppress-admin .ppress-admin-banner.ppress-pro {
|
1858 |
+
padding: 15px 15px 0;
|
1859 |
+
}
|
1860 |
+
|
1861 |
+
.ppress-admin .ppress-admin-banner.ppress-pro.ppress-no-submenu {
|
1862 |
+
padding-bottom: 15px;
|
1863 |
+
}
|
1864 |
+
|
1865 |
+
.ppress-admin .wrap {
|
1866 |
+
padding-left: 20px;
|
1867 |
+
margin: 0 20px 0 2px;
|
1868 |
+
}
|
1869 |
+
|
1870 |
+
.wp-admin.ppress-admin #wpcontent {
|
1871 |
+
padding: 0;
|
1872 |
+
}
|
1873 |
+
|
1874 |
+
.ppress-admin .ppress-admin-banner__logo {
|
1875 |
+
padding: 0 0 15px;
|
1876 |
+
display: block;
|
1877 |
+
}
|
1878 |
+
|
1879 |
+
.ppress-admin .ppress-admin-banner__logo img {
|
1880 |
+
width: 140px;
|
1881 |
+
height: auto;
|
1882 |
+
float: left;
|
1883 |
+
margin-top: 20px;
|
1884 |
+
padding-left: 15px;
|
1885 |
+
}
|
1886 |
+
|
1887 |
+
.ppress-admin .ppress-admin-banner__helplinks {
|
1888 |
+
float: right;
|
1889 |
+
padding: 10px 20px 20px;
|
1890 |
+
}
|
1891 |
+
|
1892 |
+
.ppress-admin .ppress-admin-banner__helplinks a {
|
1893 |
+
color: rgba(255, 255, 255, 0.92);
|
1894 |
+
text-decoration: none;
|
1895 |
+
}
|
1896 |
+
|
1897 |
+
.ppress-admin .ppress-admin-banner__helplinks a.ppress-active {
|
1898 |
+
background: #fff;
|
1899 |
+
padding: 5px;
|
1900 |
+
color: #326ee0;
|
1901 |
+
border-radius: 4px;
|
1902 |
+
}
|
1903 |
+
|
1904 |
+
.ppress-admin .ppress-admin-banner__helplinks > span {
|
1905 |
+
padding-right: 15px;
|
1906 |
+
}
|
1907 |
+
|
1908 |
+
.ppress-admin div#screen-meta-links {
|
1909 |
+
position: absolute;
|
1910 |
+
right: 0;
|
1911 |
+
z-index: 9;
|
1912 |
+
}
|
1913 |
+
|
1914 |
+
.ppress-admin .ppress-nav-tab-wrapper {
|
1915 |
+
padding: 0;
|
1916 |
+
margin: 10px 16px 0;
|
1917 |
+
border-bottom: 0;
|
1918 |
+
}
|
1919 |
+
|
1920 |
+
.ppress-admin .ppress-nav-tab-wrapper .ppress-nav-tab {
|
1921 |
+
display: block;
|
1922 |
+
font-weight: 500;
|
1923 |
+
padding: 5px 12px;
|
1924 |
+
text-decoration: none;
|
1925 |
+
border: 1px solid transparent;
|
1926 |
+
background-color: transparent;
|
1927 |
+
color: rgba(255, 255, 255, 0.92);
|
1928 |
+
margin: 0;
|
1929 |
+
}
|
1930 |
+
|
1931 |
+
.ppress-admin .ppress-nav-tab-wrapper .ppress-nav-tab.ppress-nav-active {
|
1932 |
+
background-color: #fff;
|
1933 |
+
color: #2d3559;
|
1934 |
+
border-color: #fff;
|
1935 |
+
border-radius: 4px 4px 0 0;
|
1936 |
+
}
|
1937 |
+
|
1938 |
+
.ppress-admin-banner.ppress-not-pro {
|
1939 |
+
padding-bottom: 0;
|
1940 |
+
}
|
1941 |
+
|
1942 |
+
.ppress-admin .ppress-no-submenu .ppress-nav-tab-wrapper {
|
1943 |
+
margin-top: 0;
|
1944 |
+
}
|
1945 |
+
|
1946 |
+
.ppress-admin-banner .ppress-header-menus {
|
1947 |
+
margin-top: 10px;
|
1948 |
+
}
|
1949 |
+
|
1950 |
+
.ppress-admin .ppress-admin-wrap + .wrap h2 {
|
1951 |
+
font-size: 21px;
|
1952 |
+
font-weight: 500;
|
1953 |
+
}
|
1954 |
+
|
1955 |
+
.ppress-admin .ppress-admin-wrap .subsubsub {
|
1956 |
+
background: #fff;
|
1957 |
+
font-size: 14px;
|
1958 |
+
padding: 0 16px;
|
1959 |
+
margin-top: 0;
|
1960 |
+
float: none;
|
1961 |
+
text-align: left;
|
1962 |
+
}
|
1963 |
+
|
1964 |
+
.ppress-admin .ppress-admin-wrap .subsubsub a {
|
1965 |
+
color: #1d2327;
|
1966 |
+
display: block;
|
1967 |
+
font-weight: 600;
|
1968 |
+
padding: 8px 12px;
|
1969 |
+
}
|
1970 |
+
|
1971 |
+
.ppress-admin .ppress-admin-wrap .subsubsub a.ppress-current {
|
1972 |
+
color: #326ee0;
|
1973 |
+
}
|
1974 |
+
|
1975 |
+
.ppress-admin.wp-core-ui .wrap a.ppress-link {
|
1976 |
+
display: block;
|
1977 |
+
margin-top: 10px;
|
1978 |
+
font-size: 1em;
|
1979 |
+
|
1980 |
+
}
|
1981 |
+
|
1982 |
+
.ppress-admin.wp-core-ui .wrap a.ppress-link svg {
|
1983 |
+
width: 1.2em;
|
1984 |
+
margin: 0 .2em 0;
|
1985 |
+
height: 1.4em;
|
1986 |
+
vertical-align: middle;
|
1987 |
+
fill: currentcolor;
|
1988 |
}
|
assets/images/profilepress-logo.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg viewBox="0 0 491 104" xmlns="http://www.w3.org/2000/svg"><g fill="#fff"><path d="M350.7 29c-7 0-14.2.1-21.1.1v45.7h7.3v-14h13.8c21.8-.3 21.7-31.8 0-31.8zm0 25h-13.8V35.7h13.8c12 0 12 18.3 0 18.3z"/><path d="M386.4 41.8c-3.4 0-7.1.8-9.5 5l-.4-4.2h-6.3v32.2h6.7V57.3c0-5.9 4.1-8.8 8.7-8.8 2.5 0 4 .6 5.7 2l3.1-5.9c-1.8-1.7-4.9-2.8-8-2.8zM410.8 41.7c-10 0-16.9 7-16.9 16.8 0 10.3 6.8 17 17.4 17 5 0 10.5-1.8 13.8-5.5l-4.4-4.2c-2 2.2-6.1 3.4-9.3 3.4-5.9 0-9.9-3.2-10.5-8.1H427c1.2-13.1-5.8-19.4-16.2-19.4zM401 55.5c1-5.1 5.1-7.8 10-7.8 5.4 0 9.1 2.7 9.5 7.8zM444.5 55.4c-4.1-.4-6.9-1.4-7-4.1 0-2.5 2.7-3.9 6.8-3.9 3.2 0 5.9.7 8.5 3l3.8-4.4c-3.6-3.2-7.4-4.3-12.4-4.3-6 0-13.4 2.7-13.4 9.8.1 7.1 7 9.1 13.1 9.6 4.8.5 7.5 1.6 7.4 4.4-.1 3-3.6 4.2-6.9 4.2-3.8-.1-8.3-1.4-11.3-4.8l-3.5 4.8c4.3 4.8 9.5 5.9 14.7 5.9 8.4 0 13.6-4.2 13.7-10.2.2-8.2-7.5-9.5-13.5-10zM475.6 55.4c-4.1-.4-6.9-1.4-7-4.1 0-2.5 2.7-3.9 6.9-3.9 3.2 0 5.9.7 8.5 3l3.8-4.4c-3.6-3.2-7.4-4.3-12.4-4.3-6 0-13.4 2.7-13.4 9.8.1 7.1 7 9.1 13.1 9.6 4.8.5 7.5 1.6 7.4 4.4-.1 3-3.6 4.2-6.9 4.2-3.8-.1-8.3-1.4-11.3-4.8l-3.5 4.8c4.3 4.8 9.5 5.9 14.7 5.9 8.4 0 13.6-4.2 13.7-10.2.1-8.2-7.7-9.5-13.6-10zM135.5 29h-22.2v45.8h12.9V62.3h9.3c12.2-.1 18.3-7.4 18.3-16.7 0-8.9-6-16.6-18.3-16.6zm0 22.4h-9.3V40.1h9.3c3.5 0 5.4 2.7 5.4 5.7s-1.8 5.6-5.4 5.6zM169.6 46l-.7-3.5h-10.8v32.2h12V57.9c0-4.3 2.5-6.1 5.6-6.1 2 0 3.5.4 5.4 2l4.8-8.7c-2.1-2.2-5.2-3.4-8.5-3.4-3.1 0-6.1 1.3-7.8 4.3zM204.5 41.8c-9.3 0-18.4 5-18.4 16.9 0 11.7 9.1 16.8 18.4 16.8 9.1 0 18.4-5.1 18.4-16.8 0-11.8-8.9-16.9-18.4-16.9zm0 23.8c-4.2 0-6.7-3.3-6.7-7s2.4-7 6.7-7 6.7 3.3 6.7 7c0 4-2.6 7-6.7 7zM261.4 28.3c-3.4 0-6.8 2-6.8 6.1 0 4 3.4 6 6.8 6 3.3 0 6.7-2 6.7-6 0-4.1-3.4-6.1-6.7-6.1zM272.6 28.9h11.9v45.8h-11.9zM307.3 41.7c-8.7 0-17.9 5.2-17.9 17 0 11.7 8.6 16.8 18.8 16.8 5.6 0 10.8-1.8 14.7-5.3l-5.9-6.6c-2.1 1.6-4.8 2.6-8.3 2.6-2.6 0-6.3-1.2-7.2-4.1H324c2.7-12.8-5.3-20.4-16.7-20.4zm-5.8 12.6c.8-5.3 11.3-5.1 11.7 0z"/><path d="M255.3 43.1h-12.1v-1.6c0-2.8 1.7-4 3.6-4 1.2 0 2.3.1 3.3.5l2.3-8.3c-2.1-1.1-4.7-1.4-7.2-1.4-6.7 0-13.9 3.7-13.9 13.2v1.6h-5.5v9.1h5.5v22.5h12V52.2h12.1v22.5h12.1V43.1h-8.7z"/><path clip-rule="evenodd" d="M47.6 6.2c25.3 0 45.8 20.5 45.8 45.8S72.9 97.8 47.6 97.8 1.8 77.3 1.8 52 22.3 6.2 47.6 6.2zM25.9 50.4 50 26.3c1.9-1.9 5.1-1.9 7 0l12.3 12.3c1.9 1.9 1.9 5.1 0 7L49.7 65.2l4.3 4.3c2.1 2.1 2.1 5.4 0 7.4l-.6.6c-2 2-5.4 2-7.4 0l-4.3-4.3-13.6-13.6-2.2-2.2c-2-1.9-2-5 0-7zm25.9-9.9L40.1 52.3c-.9.9-.9 2.3 0 3.2s2.3.9 3.2 0l11.8-11.8c.9-.9.9-2.3 0-3.2-.9-.9-2.4-.9-3.3 0z" fill-rule="evenodd"/></g></svg>
|
changelog.txt
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
== Changelog ==
|
2 |
|
|
|
|
|
|
|
|
|
3 |
= 3.2.1 =
|
4 |
* Fixed issue with avatar sizes.
|
5 |
* Fix: PHP DOMDocument loadHTML not encoding UTF-8 correctly.
|
1 |
== Changelog ==
|
2 |
|
3 |
+
= 3.2.2 =
|
4 |
+
* Added a new admin page header.
|
5 |
+
* Add redirect_to query parameter when Global Access redirects to a login page.
|
6 |
+
|
7 |
= 3.2.1 =
|
8 |
* Fixed issue with avatar sizes.
|
9 |
* Fix: PHP DOMDocument loadHTML not encoding UTF-8 correctly.
|
deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php
CHANGED
@@ -8,18 +8,15 @@ use ProfilePress\Custom_Settings_Page_Api;
|
|
8 |
*
|
9 |
*
|
10 |
*/
|
11 |
-
class WP_User_Avatar_Admin
|
12 |
{
|
13 |
-
/**
|
14 |
-
* Constructor
|
15 |
-
*/
|
16 |
public function __construct()
|
17 |
{
|
18 |
// Settings saved to wp_options
|
19 |
add_action('admin_init', array($this, 'wpua_options'));
|
20 |
// Admin menu settings
|
21 |
-
add_filter('
|
22 |
-
|
23 |
add_filter('ppress_general_settings_admin_page_title', [$this, 'change_page_title']);
|
24 |
|
25 |
add_action('admin_init', array($this, 'wpua_register_settings'));
|
@@ -54,9 +51,10 @@ class WP_User_Avatar_Admin extends AbstractSettingsPage
|
|
54 |
*/
|
55 |
public function menu_tab($tabs)
|
56 |
{
|
57 |
-
$tabs[
|
58 |
-
'
|
59 |
-
'
|
|
|
60 |
];
|
61 |
|
62 |
return $tabs;
|
@@ -64,7 +62,7 @@ class WP_User_Avatar_Admin extends AbstractSettingsPage
|
|
64 |
|
65 |
public function change_page_title($title)
|
66 |
{
|
67 |
-
if (isset($_GET['
|
68 |
$title = esc_html__('Profile & Cover Photo', 'wp-user-avatar');
|
69 |
}
|
70 |
|
@@ -81,7 +79,7 @@ class WP_User_Avatar_Admin extends AbstractSettingsPage
|
|
81 |
],
|
82 |
[
|
83 |
'section_title' => esc_html__('Check out MailOptin', 'wp-user-avatar'),
|
84 |
-
'content' =>
|
85 |
]
|
86 |
];
|
87 |
|
@@ -111,32 +109,24 @@ class WP_User_Avatar_Admin extends AbstractSettingsPage
|
|
111 |
return $content;
|
112 |
}
|
113 |
|
114 |
-
public function settings_page_callback(
|
115 |
{
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
$this->register_core_settings($instance);
|
133 |
-
$instance->tab($this->settings_tab_args());
|
134 |
-
$instance->build();
|
135 |
-
|
136 |
-
return true;
|
137 |
-
}
|
138 |
-
|
139 |
-
return $page;
|
140 |
}
|
141 |
|
142 |
|
@@ -146,7 +136,7 @@ class WP_User_Avatar_Admin extends AbstractSettingsPage
|
|
146 |
*/
|
147 |
public function wpua_is_menu_page()
|
148 |
{
|
149 |
-
return isset($_GET['page'], $_GET['
|
150 |
}
|
151 |
|
152 |
/**
|
8 |
*
|
9 |
*
|
10 |
*/
|
11 |
+
class WP_User_Avatar_Admin
|
12 |
{
|
|
|
|
|
|
|
13 |
public function __construct()
|
14 |
{
|
15 |
// Settings saved to wp_options
|
16 |
add_action('admin_init', array($this, 'wpua_options'));
|
17 |
// Admin menu settings
|
18 |
+
add_filter('ppress_settings_page_submenus_tabs', [$this, 'menu_tab']);
|
19 |
+
add_action('ppress_admin_settings_submenu_page_general_wp-user-avatar', [$this, 'settings_page_callback']);
|
20 |
add_filter('ppress_general_settings_admin_page_title', [$this, 'change_page_title']);
|
21 |
|
22 |
add_action('admin_init', array($this, 'wpua_register_settings'));
|
51 |
*/
|
52 |
public function menu_tab($tabs)
|
53 |
{
|
54 |
+
$tabs[10] = [
|
55 |
+
'parent' => 'general',
|
56 |
+
'id' => 'wp-user-avatar',
|
57 |
+
'label' => esc_html__('Profile & Cover Photo', 'wp-user-avatar')
|
58 |
];
|
59 |
|
60 |
return $tabs;
|
62 |
|
63 |
public function change_page_title($title)
|
64 |
{
|
65 |
+
if (isset($_GET['section']) && $_GET['section'] == 'wp-user-avatar') {
|
66 |
$title = esc_html__('Profile & Cover Photo', 'wp-user-avatar');
|
67 |
}
|
68 |
|
79 |
],
|
80 |
[
|
81 |
'section_title' => esc_html__('Check out MailOptin', 'wp-user-avatar'),
|
82 |
+
'content' => AbstractSettingsPage::mailoptin_ad_block(),
|
83 |
]
|
84 |
];
|
85 |
|
109 |
return $content;
|
110 |
}
|
111 |
|
112 |
+
public function settings_page_callback()
|
113 |
{
|
114 |
+
add_filter('wp_cspa_main_content_area', function () {
|
115 |
+
ob_start();
|
116 |
+
require_once(WPUA_INC . 'wpua-options-page.php');
|
117 |
+
|
118 |
+
return ob_get_clean();
|
119 |
+
});
|
120 |
+
|
121 |
+
add_action('wp_cspa_form_tag', function () {
|
122 |
+
echo sprintf('action="%s"', admin_url('options.php'));
|
123 |
+
});
|
124 |
+
|
125 |
+
$instance = Custom_Settings_Page_Api::instance();
|
126 |
+
$instance->option_name('ppress_wp_user_avatar_options');
|
127 |
+
$instance->page_header(esc_html__('Profile & Cover Photo', 'wp-user-avatar'));
|
128 |
+
$instance->sidebar(self::sidebar_args());
|
129 |
+
$instance->build();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
130 |
}
|
131 |
|
132 |
|
136 |
*/
|
137 |
public function wpua_is_menu_page()
|
138 |
{
|
139 |
+
return isset($_GET['page'], $_GET['section']) && $_GET['section'] == 'wp-user-avatar' ? true : false;
|
140 |
}
|
141 |
|
142 |
/**
|
languages/wp-user-avatar.pot
CHANGED
@@ -2,9 +2,9 @@
|
|
2 |
# This file is distributed under the same license as the ProfilePress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: ProfilePress 3.2.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
|
7 |
-
"POT-Creation-Date: 2021-
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
@@ -12,85 +12,76 @@ msgstr ""
|
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
16 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
|
|
17 |
msgid "Profile & Cover Photo"
|
18 |
msgstr ""
|
19 |
|
20 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
21 |
msgid "Available Shortcodes"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
25 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
26 |
msgid "Check out MailOptin"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
30 |
msgid "%s[avatar]%s displays a user's profile pictures."
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
34 |
msgid ""
|
35 |
"%s[avatar_upload]%s adds a standalone avatar uploader visible only to logged-"
|
36 |
"in users."
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
40 |
msgid "Learn more"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
44 |
-
#: deprecated/wp-user-avatar/includes/wpua-functions.php:65
|
45 |
-
#: deprecated/wp-user-avatar/includes/wpua-functions.php:73
|
46 |
-
#: deprecated/wp-user-avatar/includes/wpua-functions.php:78
|
47 |
-
#: deprecated/wp-user-avatar/includes/wpua-functions.php:131
|
48 |
-
#: src/Classes/ImageUploader.php:49
|
49 |
-
#: src/ShortcodeParser/MyAccount/MyAccountTag.php:496
|
50 |
-
msgid "Profile Picture"
|
51 |
-
msgstr ""
|
52 |
-
|
53 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:211
|
54 |
msgid "Mystery Man"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
58 |
msgid "Blank"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
62 |
msgid "Gravatar Logo"
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
66 |
msgid "Identicon (Generated)"
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
70 |
msgid "Wavatar (Generated)"
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
74 |
msgid "MonsterID (Generated)"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
78 |
msgid "Retro (Generated)"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
82 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
83 |
#: deprecated/wp-user-avatar/includes/wpua-options-page.php:119
|
84 |
#: deprecated/wp-user-avatar/includes/wpua-options-page.php:123
|
85 |
msgid "Default Profile Picture"
|
86 |
msgstr ""
|
87 |
|
88 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
89 |
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:179
|
90 |
msgid "Choose Image"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
94 |
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:79
|
95 |
#: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:283
|
96 |
#: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:98
|
@@ -98,7 +89,7 @@ msgstr ""
|
|
98 |
msgid "Remove"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:
|
102 |
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:205
|
103 |
msgid "Undo"
|
104 |
msgstr ""
|
@@ -352,6 +343,15 @@ msgstr ""
|
|
352 |
msgid "wp_user_avatar_upload"
|
353 |
msgstr ""
|
354 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
355 |
#: deprecated/wp-user-avatar/includes/wpua-functions.php:75
|
356 |
#: deprecated/wp-user-avatar/includes/wpua-functions.php:81
|
357 |
msgid "Image"
|
@@ -419,117 +419,112 @@ msgid ""
|
|
419 |
"generic logo or a generated one based on their e-mail address."
|
420 |
msgstr ""
|
421 |
|
422 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
423 |
msgid "ProfilePress - WordPress User Registration & Profile Plugin"
|
424 |
msgstr ""
|
425 |
|
426 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
427 |
-
|
428 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:385
|
429 |
-
#: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:28
|
430 |
-
msgid "General"
|
431 |
msgstr ""
|
432 |
|
433 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
434 |
-
|
435 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:116
|
436 |
-
msgid "Emails"
|
437 |
msgstr ""
|
438 |
|
439 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
440 |
-
|
441 |
-
#: src/Admin/SettingsPages/ToolsSettingsPage.php:60
|
442 |
-
msgid "Tools"
|
443 |
msgstr ""
|
444 |
|
445 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
446 |
-
msgid "
|
447 |
msgstr ""
|
448 |
|
449 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
450 |
-
msgid "
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
454 |
-
msgid "
|
|
|
|
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
458 |
-
msgid "
|
|
|
|
|
459 |
msgstr ""
|
460 |
|
461 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
462 |
-
msgid "
|
|
|
|
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
466 |
msgid "Use the coupon code %s10PERCENTOFF%s to save %s off MailOptin."
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
470 |
-
|
471 |
-
msgstr ""
|
472 |
-
|
473 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:149
|
474 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:166
|
475 |
#: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:162
|
476 |
#: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
|
477 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
478 |
#: src/Functions/GlobalFunctions.php:1240
|
479 |
#: src/Functions/GlobalFunctions.php:1268
|
480 |
#: src/Functions/GlobalFunctions.php:1290
|
481 |
msgid "Select..."
|
482 |
msgstr ""
|
483 |
|
484 |
-
#: src/Admin/SettingsPages/AbstractSettingsPage.php:
|
485 |
msgid "Custom URL Here"
|
486 |
msgstr ""
|
487 |
|
488 |
#: src/Admin/SettingsPages/AddNewForm.php:27
|
489 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
490 |
msgid "Add Member Directory"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
494 |
msgid "Drag & Drop Builder"
|
495 |
msgstr ""
|
496 |
|
497 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
498 |
msgid ""
|
499 |
"Create beautiful, responsive forms with easy to use drag & drop form builder."
|
500 |
msgstr ""
|
501 |
|
502 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
503 |
msgid "Get Started"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
507 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
508 |
msgid "Shortcode Builder"
|
509 |
msgstr ""
|
510 |
|
511 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
512 |
msgid ""
|
513 |
"Code your own from scratch with complete control and flexibility using "
|
514 |
"shortcodes."
|
515 |
msgstr ""
|
516 |
|
517 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
518 |
msgid "Build Now"
|
519 |
msgstr ""
|
520 |
|
521 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
522 |
msgid ""
|
523 |
"Code your own from scratch with complete control and flexibility. %sLearn "
|
524 |
"more%s."
|
525 |
msgstr ""
|
526 |
|
527 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
528 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
529 |
msgid "Upgrade to Premium"
|
530 |
msgstr ""
|
531 |
|
532 |
-
#: src/Admin/SettingsPages/AddNewForm.php:
|
533 |
msgid "Back to Overview"
|
534 |
msgstr ""
|
535 |
|
@@ -589,7 +584,7 @@ msgstr ""
|
|
589 |
#: src/Admin/SettingsPages/EmailSettings/CustomizerTrait.php:11
|
590 |
#: src/AdminBarDashboardAccess/include.settings-page.php:54
|
591 |
#: src/AdminBarDashboardAccess/include.settings-page.php:109
|
592 |
-
#: src/Functions/custom-settings-api.php:
|
593 |
#: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:1018
|
594 |
msgid "Save Changes"
|
595 |
msgstr ""
|
@@ -633,7 +628,7 @@ msgid ""
|
|
633 |
msgstr ""
|
634 |
|
635 |
#: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1369
|
636 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
637 |
msgid "Registration Settings"
|
638 |
msgstr ""
|
639 |
|
@@ -651,7 +646,7 @@ msgid "Check to make this a passwordless login form."
|
|
651 |
msgstr ""
|
652 |
|
653 |
#: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1416
|
654 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
655 |
msgid "Login Settings"
|
656 |
msgstr ""
|
657 |
|
@@ -704,14 +699,22 @@ msgstr ""
|
|
704 |
msgid "Add Media"
|
705 |
msgstr ""
|
706 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
707 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:88
|
708 |
msgid "Style"
|
709 |
msgstr ""
|
710 |
|
711 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:89
|
712 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:232
|
713 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
714 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
715 |
#: src/Classes/Miscellaneous.php:17
|
716 |
msgid "Settings"
|
717 |
msgstr ""
|
@@ -731,7 +734,7 @@ msgstr ""
|
|
731 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:235
|
732 |
#: src/Admin/SettingsPages/FormList.php:239
|
733 |
#: src/Admin/SettingsPages/FormList.php:315
|
734 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
735 |
#: src/ContentProtection/WPListTable.php:96
|
736 |
#: src/ContentProtection/WPListTable.php:291
|
737 |
#: src/ContentProtection/views/include.view-sidebar.php:12
|
@@ -1415,214 +1418,224 @@ msgstr ""
|
|
1415 |
msgid "Footer Text"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
1419 |
msgid "Account Welcome Email"
|
1420 |
msgstr ""
|
1421 |
|
1422 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1423 |
#: src/Classes/WelcomeEmailAfterSignup.php:51
|
1424 |
msgid "Welcome To %s"
|
1425 |
msgstr ""
|
1426 |
|
1427 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1428 |
msgid "Email that is sent to the user upon successful registration."
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:56
|
1432 |
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:74
|
|
|
1433 |
msgid "Users"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1437 |
msgid "Username of the registered user."
|
1438 |
msgstr ""
|
1439 |
|
1440 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:59
|
1441 |
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:77
|
|
|
1442 |
msgid "Email address of the registered user."
|
1443 |
msgstr ""
|
1444 |
|
1445 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1446 |
msgid "Password of the registered user."
|
1447 |
msgstr ""
|
1448 |
|
1449 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1450 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1451 |
msgid "Website title or name."
|
1452 |
msgstr ""
|
1453 |
|
1454 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1455 |
msgid "First Name entered by user on registration."
|
1456 |
msgstr ""
|
1457 |
|
1458 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1459 |
msgid "Last Name entered by user on registration."
|
1460 |
msgstr ""
|
1461 |
|
1462 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1463 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1464 |
msgid "URL to reset password."
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1468 |
msgid "URL to login.."
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1472 |
msgid "Password Reset Email"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1476 |
#: src/Classes/PasswordReset.php:24 src/RegisterActivation/Base.php:85
|
1477 |
msgid "[%s] Password Reset"
|
1478 |
msgstr ""
|
1479 |
|
1480 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1481 |
msgid "Email that is sent to the user upon password reset request."
|
1482 |
msgstr ""
|
1483 |
|
1484 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1485 |
msgid "Username of user."
|
1486 |
msgstr ""
|
1487 |
|
1488 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1489 |
msgid "New User Admin Notification"
|
1490 |
msgstr ""
|
1491 |
|
1492 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1493 |
#: src/Functions/GlobalFunctions.php:726 src/RegisterActivation/Base.php:89
|
1494 |
msgid "[%s] New User Registration"
|
1495 |
msgstr ""
|
1496 |
|
1497 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1498 |
msgid "Email that is sent to admins when there is a new user registration"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1502 |
msgid "Administrators"
|
1503 |
msgstr ""
|
1504 |
|
1505 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1506 |
msgid "Username of the newly registered user."
|
1507 |
msgstr ""
|
1508 |
|
1509 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1510 |
msgid "Email address of the newly registered user."
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1514 |
msgid "First name of the newly registered user."
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1518 |
msgid "Last name of the newly registered user."
|
1519 |
msgstr ""
|
1520 |
|
1521 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1522 |
msgid "Website name or name."
|
1523 |
msgstr ""
|
1524 |
|
1525 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1526 |
msgid "Replace \"field_key\" with the %scustom field key%s or usermeta key."
|
1527 |
msgstr ""
|
1528 |
|
1529 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1530 |
msgid "Admin Email Address(es)"
|
1531 |
msgstr ""
|
1532 |
|
1533 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1534 |
msgid ""
|
1535 |
"The Email address to receive admin notifications. Use comma to separate "
|
1536 |
"multiple email addresses."
|
1537 |
msgstr ""
|
1538 |
|
1539 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1540 |
msgid "Sender Name"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1544 |
msgid ""
|
1545 |
"The name to use as the sender of all ProfilePress emails. Preferably your "
|
1546 |
"website name."
|
1547 |
msgstr ""
|
1548 |
|
1549 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1550 |
msgid "Sender Email Address"
|
1551 |
msgstr ""
|
1552 |
|
1553 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1554 |
msgid "The email address to use as the sender of all ProfilePress emails."
|
1555 |
msgstr ""
|
1556 |
|
1557 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1558 |
msgid "HTML"
|
1559 |
msgstr ""
|
1560 |
|
1561 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1562 |
msgid "Plain Text"
|
1563 |
msgstr ""
|
1564 |
|
1565 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1566 |
msgid "Content Type"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1570 |
msgid ""
|
1571 |
"Choose whether to send ProfilePress emails in HTML or plain text. HTML is "
|
1572 |
"recommended."
|
1573 |
msgstr ""
|
1574 |
|
1575 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1576 |
msgid "Default Template"
|
1577 |
msgstr ""
|
1578 |
|
1579 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1580 |
msgid "Custom Email Template"
|
1581 |
msgstr ""
|
1582 |
|
1583 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1584 |
msgid "Email Template"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1588 |
msgid ""
|
1589 |
"Choose \"Custom Email Template\" if you want to code your own email template "
|
1590 |
"from scratch."
|
1591 |
msgstr ""
|
1592 |
|
1593 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1594 |
msgid "Customize Default Template"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1598 |
msgid "Preview Email"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1602 |
msgid "Enable Notification"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1606 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1607 |
msgid "Enable"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1611 |
msgid "Check to enable this email notification."
|
1612 |
msgstr ""
|
1613 |
|
1614 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1615 |
msgid "Subject Line"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1619 |
msgid "Enter the subject or title for the welcome message email."
|
1620 |
msgstr ""
|
1621 |
|
1622 |
-
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:
|
1623 |
msgid "Message Body"
|
1624 |
msgstr ""
|
1625 |
|
|
|
|
|
|
|
|
|
1626 |
#: src/Admin/SettingsPages/EmailSettings/WPListTable.php:23
|
1627 |
msgid "No email available."
|
1628 |
msgstr ""
|
@@ -1636,47 +1649,47 @@ msgstr ""
|
|
1636 |
msgid "Recipient"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:25
|
1640 |
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:37
|
|
|
1641 |
msgid "Addons"
|
1642 |
msgstr ""
|
1643 |
|
1644 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1645 |
msgid "Activate All"
|
1646 |
msgstr ""
|
1647 |
|
1648 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1649 |
msgid "Deactivate All"
|
1650 |
msgstr ""
|
1651 |
|
1652 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1653 |
msgid ""
|
1654 |
"Upgrade to Premium to unlock extensions and other great features. As a "
|
1655 |
"valued ProfilePress Lite user, you will %1$sreceive 10%3$s off%2$s your "
|
1656 |
"purchase, automatically applied at checkout!"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1660 |
msgid "Upgrade Now"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1664 |
msgid "Upgrade Plan"
|
1665 |
msgstr ""
|
1666 |
|
1667 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1668 |
msgid "Learn More"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1672 |
msgid "Unavailable: %s"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1676 |
msgid "Activated"
|
1677 |
msgstr ""
|
1678 |
|
1679 |
-
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:
|
1680 |
msgid "Deactivated"
|
1681 |
msgstr ""
|
1682 |
|
@@ -1717,7 +1730,7 @@ msgstr ""
|
|
1717 |
|
1718 |
#: src/Admin/SettingsPages/FormList.php:242
|
1719 |
#: src/Classes/FormPreviewHandler.php:45
|
1720 |
-
#: src/Functions/custom-settings-api.php:
|
1721 |
msgid "Preview"
|
1722 |
msgstr ""
|
1723 |
|
@@ -1725,34 +1738,34 @@ msgstr ""
|
|
1725 |
msgid "Drag & Drop"
|
1726 |
msgstr ""
|
1727 |
|
1728 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1729 |
msgid "Forms & Profiles"
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1733 |
msgid "Edit Form"
|
1734 |
msgstr ""
|
1735 |
|
1736 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1737 |
msgid "Add Form"
|
1738 |
msgstr ""
|
1739 |
|
1740 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1741 |
msgid "Edit Frontend Profile"
|
1742 |
msgstr ""
|
1743 |
|
1744 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1745 |
msgid ""
|
1746 |
"Melange combines login, registration & password reset forms in a single form."
|
1747 |
msgstr ""
|
1748 |
|
1749 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1750 |
msgid "Filter by Type"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1754 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1755 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1756 |
#: src/Classes/AjaxHandler.php:54 src/NavigationMenuLinks/Backend.php:34
|
1757 |
#: src/ShortcodeParser/Builder/GlobalShortcodes.php:237
|
1758 |
#: src/Themes/DragDrop/AbstractBuildScratch.php:180
|
@@ -1760,336 +1773,350 @@ msgstr ""
|
|
1760 |
msgid "Login"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1764 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1765 |
#: src/Classes/AjaxHandler.php:59
|
1766 |
msgid "Registration"
|
1767 |
msgstr ""
|
1768 |
|
1769 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1770 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1771 |
#: src/Classes/AjaxHandler.php:64
|
1772 |
msgid "Password Reset"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1776 |
#: src/NavigationMenuLinks/Backend.php:32
|
1777 |
#: src/ShortcodeParser/Builder/GlobalShortcodes.php:302
|
1778 |
msgid "Edit Profile"
|
1779 |
msgstr ""
|
1780 |
|
1781 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1782 |
msgid "Melange"
|
1783 |
msgstr ""
|
1784 |
|
1785 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1786 |
msgid "User Profile"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1790 |
msgid "Forms"
|
1791 |
msgstr ""
|
1792 |
|
1793 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1794 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
1795 |
msgid "Live Preview"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: src/Admin/SettingsPages/Forms.php:
|
1799 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
1800 |
msgid "Add New"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1804 |
-
msgid "
|
1805 |
msgstr ""
|
1806 |
|
1807 |
#: src/Admin/SettingsPages/GeneralSettings.php:66
|
1808 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1809 |
msgid "Currently viewed page"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1813 |
msgid "Previous/Referrer page (Pro feature)"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1817 |
msgid "WordPress Dashboard"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1821 |
msgid "Previous/Referrer page"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1825 |
msgid "Global"
|
1826 |
msgstr ""
|
1827 |
|
1828 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1829 |
msgid "Global Settings"
|
1830 |
msgstr ""
|
1831 |
|
1832 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1833 |
msgid "Password-reset Page"
|
1834 |
msgstr ""
|
1835 |
|
1836 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1837 |
msgid ""
|
1838 |
"Select the page you wish to make WordPress default \"Lost Password page\". "
|
1839 |
"%3$s This should be the page that contains a %1$spassword reset form "
|
1840 |
"shortcode%2$s."
|
1841 |
msgstr ""
|
1842 |
|
1843 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1844 |
msgid "Login Page"
|
1845 |
msgstr ""
|
1846 |
|
1847 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1848 |
msgid ""
|
1849 |
"Select the page you wish to make WordPress default Login page. %3$s This "
|
1850 |
"should be the page that contains a %1$slogin form shortcode%2$s."
|
1851 |
msgstr ""
|
1852 |
|
1853 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1854 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1855 |
msgid "Registration Page"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1859 |
msgid ""
|
1860 |
"Select the page you wish to make WordPress default Registration page. %3$s "
|
1861 |
"This should be the page that contains a %1$sregistration form shortcode%2$s."
|
1862 |
msgstr ""
|
1863 |
|
1864 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1865 |
msgid "My Account Page"
|
1866 |
msgstr ""
|
1867 |
|
1868 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1869 |
msgid ""
|
1870 |
"Select a page that contains %3$s shortcode. You can also use an %1$sedit "
|
1871 |
"profile shortcode%2$s on the My Account page in case you want something "
|
1872 |
"custom."
|
1873 |
msgstr ""
|
1874 |
|
1875 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1876 |
msgid "Disable Ajax Mode"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1880 |
msgid "Disable"
|
1881 |
msgstr ""
|
1882 |
|
1883 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1884 |
msgid ""
|
1885 |
"Check this box to disable ajax behaviour(whereby forms do not require page "
|
1886 |
"reload when submitted) in forms."
|
1887 |
msgstr ""
|
1888 |
|
1889 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1890 |
msgid "Remove Data on Uninstall"
|
1891 |
msgstr ""
|
1892 |
|
1893 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1894 |
msgid ""
|
1895 |
"Check this box if you would like ProfilePress to completely remove all of "
|
1896 |
"its data when the plugin is deleted."
|
1897 |
msgstr ""
|
1898 |
|
1899 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1900 |
msgid "Auto-login after registration"
|
1901 |
msgstr ""
|
1902 |
|
1903 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1904 |
msgid "Enable auto-login"
|
1905 |
msgstr ""
|
1906 |
|
1907 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1908 |
msgid ""
|
1909 |
"Check this option to automatically login users after successful registration."
|
1910 |
msgstr ""
|
1911 |
|
1912 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1913 |
msgid "Email Address and Username (default)"
|
1914 |
msgstr ""
|
1915 |
|
1916 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1917 |
msgid "Email Address Only"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1921 |
msgid "Username Only"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1925 |
msgid "Login with Email or Username"
|
1926 |
msgstr ""
|
1927 |
|
1928 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1929 |
msgid ""
|
1930 |
"By default, WordPress allows users to log in using either an email address "
|
1931 |
"or username. This setting allows you to restrict logins to only accept email "
|
1932 |
"addresses or usernames."
|
1933 |
msgstr ""
|
1934 |
|
1935 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1936 |
#: src/RegisterActivation/Base.php:167
|
1937 |
msgid "My Account"
|
1938 |
msgstr ""
|
1939 |
|
1940 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1941 |
msgid "My Account Settings"
|
1942 |
msgstr ""
|
1943 |
|
1944 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1945 |
msgid "Redirect Default Edit Profile"
|
1946 |
msgstr ""
|
1947 |
|
1948 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1949 |
#: src/ContentProtection/WPListTable.php:93
|
1950 |
-
#: src/Functions/custom-settings-api.php:
|
1951 |
msgid "Activate"
|
1952 |
msgstr ""
|
1953 |
|
1954 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1955 |
msgid ""
|
1956 |
"Redirect <a target=\"_blank\" href=\"%s\">default WordPress profile</a> to "
|
1957 |
"My Account page."
|
1958 |
msgstr ""
|
1959 |
|
1960 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1961 |
msgid "Edit Account Endpoint"
|
1962 |
msgstr ""
|
1963 |
|
1964 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1965 |
msgid "Endpoint for the \"My Account → Account Details\" page."
|
1966 |
msgstr ""
|
1967 |
|
1968 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1969 |
msgid "Change Password Endpoint"
|
1970 |
msgstr ""
|
1971 |
|
1972 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1973 |
msgid "Endpoint for the \"My Account → Change Password\" page."
|
1974 |
msgstr ""
|
1975 |
|
1976 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1977 |
msgid "Account Details Form"
|
1978 |
msgstr ""
|
1979 |
|
1980 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1981 |
msgid ""
|
1982 |
"Do you want to replace the default form in \"My Account → Account Details\" "
|
1983 |
"page? select an Edit Profile form that will replace it."
|
1984 |
msgstr ""
|
1985 |
|
1986 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1987 |
msgid "Frontend Profile"
|
1988 |
msgstr ""
|
1989 |
|
1990 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1991 |
msgid "Frontend Profile Settings"
|
1992 |
msgstr ""
|
1993 |
|
1994 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1995 |
msgid "Page with Profile Shortcode"
|
1996 |
msgstr ""
|
1997 |
|
1998 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
1999 |
msgid ""
|
2000 |
"Select the page that contains your <a href=\"%s\">Frontend user profile "
|
2001 |
"shortcode</a>."
|
2002 |
msgstr ""
|
2003 |
|
2004 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2005 |
msgid "Profile Slug"
|
2006 |
msgstr ""
|
2007 |
|
2008 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2009 |
msgid ""
|
2010 |
"Enter your preferred profile URL slug. Default to \"profile\" if empty. If "
|
2011 |
"slug is \"profile\", URL becomes %s where \"john\" is a user's username."
|
2012 |
msgstr ""
|
2013 |
|
2014 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2015 |
msgid "Disable Guests from Viewing Profiles"
|
2016 |
msgstr ""
|
2017 |
|
2018 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2019 |
msgid ""
|
2020 |
"Enable this option to stop disable guests or non-registered users from "
|
2021 |
"viewing users profiles."
|
2022 |
msgstr ""
|
2023 |
|
2024 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2025 |
msgid "Disable Members from Viewing Profiles"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2029 |
msgid ""
|
2030 |
"Enable this option to stop members from viewing other users profiles. If "
|
2031 |
"enabled, users can only see their own profile."
|
2032 |
msgstr ""
|
2033 |
|
2034 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2035 |
msgid "Comment Author URL to Profile"
|
2036 |
msgstr ""
|
2037 |
|
2038 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2039 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2040 |
msgid "Enable option"
|
2041 |
msgstr ""
|
2042 |
|
2043 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2044 |
msgid "Change URL of comment authors to their ProfilePress front-end profile."
|
2045 |
msgstr ""
|
2046 |
|
2047 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2048 |
msgid "Authors Page to Profile"
|
2049 |
msgstr ""
|
2050 |
|
2051 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2052 |
msgid "Change and redirect authors pages %s to their front-end profiles %s."
|
2053 |
msgstr ""
|
2054 |
|
2055 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2056 |
msgid "Redirection"
|
2057 |
msgstr ""
|
2058 |
|
2059 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2060 |
msgid "Redirection Settings"
|
2061 |
msgstr ""
|
2062 |
|
2063 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2064 |
#: src/Widgets/TabbedWidget.php:214
|
2065 |
msgid "Log out"
|
2066 |
msgstr ""
|
2067 |
|
2068 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2069 |
msgid ""
|
2070 |
"Select the page users will be redirected to after logout. To redirect to a "
|
2071 |
"custom URL instead of a selected page, enter the URL in input field directly "
|
2072 |
"above this description."
|
2073 |
msgstr ""
|
2074 |
|
2075 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2076 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2077 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2078 |
msgid "Leave the \"custom URL\" field empty to fallback to the selected page."
|
2079 |
msgstr ""
|
2080 |
|
2081 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2082 |
msgid ""
|
2083 |
"Select the page or custom URL users will be redirected to after login. To "
|
2084 |
"redirect to a custom URL instead of a selected page, enter the URL in input "
|
2085 |
"field directly above this description"
|
2086 |
msgstr ""
|
2087 |
|
2088 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2089 |
msgid "Default.."
|
2090 |
msgstr ""
|
2091 |
|
2092 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2093 |
msgid ""
|
2094 |
"Select the page or custom URL users will be redirected to after they "
|
2095 |
"successfully reset or change their password. To redirect to a custom URL "
|
@@ -2097,123 +2124,123 @@ msgid ""
|
|
2097 |
"description."
|
2098 |
msgstr ""
|
2099 |
|
2100 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2101 |
#: src/ContentProtection/WPListTable.php:30
|
2102 |
msgid "Access"
|
2103 |
msgstr ""
|
2104 |
|
2105 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2106 |
msgid "Access Settings"
|
2107 |
msgstr ""
|
2108 |
|
2109 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2110 |
msgid ""
|
2111 |
"%sNote:%s Access setting takes precedence over %sContent Protection rules%s."
|
2112 |
msgstr ""
|
2113 |
|
2114 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2115 |
msgid "Global Site Access"
|
2116 |
msgstr ""
|
2117 |
|
2118 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2119 |
msgid "Accessible to Everyone"
|
2120 |
msgstr ""
|
2121 |
|
2122 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2123 |
msgid "Accessible to Logged-in Users"
|
2124 |
msgstr ""
|
2125 |
|
2126 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2127 |
msgid "Redirect Page"
|
2128 |
msgstr ""
|
2129 |
|
2130 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2131 |
msgid ""
|
2132 |
"Select the page or custom URL to redirect users that are not logged in to."
|
2133 |
msgstr ""
|
2134 |
|
2135 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2136 |
msgid "Pages to Exclude"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2140 |
msgid ""
|
2141 |
"Select the pages to exclude beside the redirect page that will be accessible "
|
2142 |
"by everyone."
|
2143 |
msgstr ""
|
2144 |
|
2145 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2146 |
msgid "Accessible Homepage"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2150 |
msgid "Check to allow homepage to be accessible by everyone."
|
2151 |
msgstr ""
|
2152 |
|
2153 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2154 |
#: src/ContentProtection/Frontend/PostContent.php:62
|
2155 |
msgid "You are unauthorized to view this page."
|
2156 |
msgstr ""
|
2157 |
|
2158 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2159 |
msgid "Global Restricted Access Message"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2163 |
msgid ""
|
2164 |
"This is the message shown to users that do not have permission to view the "
|
2165 |
"content."
|
2166 |
msgstr ""
|
2167 |
|
2168 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2169 |
msgid "BuddyPress"
|
2170 |
msgstr ""
|
2171 |
|
2172 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2173 |
msgid "BuddyPress Settings"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2177 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2178 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2179 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2180 |
msgid "Check to enable"
|
2181 |
msgstr ""
|
2182 |
|
2183 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2184 |
msgid "Check to redirect BuddyPress registration page to your selected %s"
|
2185 |
msgstr ""
|
2186 |
|
2187 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2188 |
msgid "Override Avatar"
|
2189 |
msgstr ""
|
2190 |
|
2191 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2192 |
msgid ""
|
2193 |
"Check to override BuddyPress users uploaded avatars with that of "
|
2194 |
"ProfilePress."
|
2195 |
msgstr ""
|
2196 |
|
2197 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2198 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2199 |
msgid "Override Profile URL"
|
2200 |
msgstr ""
|
2201 |
|
2202 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2203 |
msgid ""
|
2204 |
"Check to change the profile URL of BuddyPress users to ProfilePress front-"
|
2205 |
"end profile."
|
2206 |
msgstr ""
|
2207 |
|
2208 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2209 |
msgid "bbPress"
|
2210 |
msgstr ""
|
2211 |
|
2212 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2213 |
msgid "bbPress Settings"
|
2214 |
msgstr ""
|
2215 |
|
2216 |
-
#: src/Admin/SettingsPages/GeneralSettings.php:
|
2217 |
msgid "Check to change bbPress profile URL to ProfilePress front-end profile."
|
2218 |
msgstr ""
|
2219 |
|
@@ -2408,13 +2435,13 @@ msgstr ""
|
|
2408 |
msgid "Plugin unavailable."
|
2409 |
msgstr ""
|
2410 |
|
2411 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
2412 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
2413 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
2414 |
msgid "Member Directories"
|
2415 |
msgstr ""
|
2416 |
|
2417 |
-
#: src/Admin/SettingsPages/MemberDirectories.php:
|
2418 |
msgid "Edit Member Directory"
|
2419 |
msgstr ""
|
2420 |
|
@@ -2422,24 +2449,24 @@ msgstr ""
|
|
2422 |
msgid "No members directory is currently available. %sConsider creating one%s"
|
2423 |
msgstr ""
|
2424 |
|
2425 |
-
#: src/Admin/SettingsPages/ToolsSettingsPage.php:
|
2426 |
msgid "Logs"
|
2427 |
msgstr ""
|
2428 |
|
2429 |
-
#: src/Admin/SettingsPages/ToolsSettingsPage.php:
|
2430 |
msgid "Debug Error Log"
|
2431 |
msgstr ""
|
2432 |
|
2433 |
-
#: src/Admin/SettingsPages/ToolsSettingsPage.php:
|
2434 |
msgid "Delete Log"
|
2435 |
msgstr ""
|
2436 |
|
2437 |
-
#: src/AdminBarDashboardAccess/Init.php:
|
2438 |
msgid "Admin Bar & Dashboard"
|
2439 |
msgstr ""
|
2440 |
|
2441 |
-
#: src/AdminBarDashboardAccess/Init.php:
|
2442 |
-
#: src/AdminBarDashboardAccess/Init.php:
|
2443 |
msgid "Admin Bar & Dashboard Access"
|
2444 |
msgstr ""
|
2445 |
|
@@ -2494,7 +2521,7 @@ msgid ""
|
|
2494 |
"will be redirected to website homepage."
|
2495 |
msgstr ""
|
2496 |
|
2497 |
-
#: src/Classes/AdminNotices.php:
|
2498 |
msgid ""
|
2499 |
"Hey, I noticed you have been using ProfilePress for at least 7 days now - "
|
2500 |
"that's awesome! Could you please do us a BIG favor and give it a %1$s5-star "
|
@@ -2502,19 +2529,19 @@ msgid ""
|
|
2502 |
"motivation - thanks!"
|
2503 |
msgstr ""
|
2504 |
|
2505 |
-
#: src/Classes/AdminNotices.php:
|
2506 |
msgid "Sure! I'd love to give a review"
|
2507 |
msgstr ""
|
2508 |
|
2509 |
-
#: src/Classes/AdminNotices.php:
|
2510 |
msgid "Dismiss Forever"
|
2511 |
msgstr ""
|
2512 |
|
2513 |
-
#: src/Classes/AdminNotices.php:
|
2514 |
msgid "Change Permalink Structure"
|
2515 |
msgstr ""
|
2516 |
|
2517 |
-
#: src/Classes/AdminNotices.php:
|
2518 |
msgid ""
|
2519 |
"Your site permalink structure is currently set to <code>Plain</code>. This "
|
2520 |
"setting is not compatible with ProfilePress. Change your permalink structure "
|
@@ -2522,7 +2549,7 @@ msgid ""
|
|
2522 |
"p><p>%s"
|
2523 |
msgstr ""
|
2524 |
|
2525 |
-
#: src/Classes/AdminNotices.php:
|
2526 |
msgid ""
|
2527 |
"Important news! %1$sWP User Avatar%2$s is now %1$sProfilePress%2$s. We added "
|
2528 |
"new features such as member directories, frontend user registration & login "
|
@@ -2530,21 +2557,21 @@ msgid ""
|
|
2530 |
"%4$sDismiss Notice%5$s"
|
2531 |
msgstr ""
|
2532 |
|
2533 |
-
#: src/Classes/AdminNotices.php:
|
2534 |
msgid ""
|
2535 |
"ProfilePress needs to create several pages (User Profiles, My Account, "
|
2536 |
"Registration, Login, Password Reset, Member Directory) to function correctly."
|
2537 |
msgstr ""
|
2538 |
|
2539 |
-
#: src/Classes/AdminNotices.php:
|
2540 |
msgid "Create Pages"
|
2541 |
msgstr ""
|
2542 |
|
2543 |
-
#: src/Classes/AdminNotices.php:
|
2544 |
msgid "No Thanks"
|
2545 |
msgstr ""
|
2546 |
|
2547 |
-
#: src/Classes/AdminNotices.php:
|
2548 |
msgid ""
|
2549 |
"User registration currently disabled. To enable, Go to <a href=\"%1$s"
|
2550 |
"\">Settings -> General</a>, and under Membership, check \"Anyone can register"
|
@@ -3084,33 +3111,33 @@ msgstr ""
|
|
3084 |
msgid "Selected %s Archive Pages"
|
3085 |
msgstr ""
|
3086 |
|
3087 |
-
#: src/ContentProtection/SettingsPage.php:
|
3088 |
-
#: src/ContentProtection/SettingsPage.php:
|
3089 |
msgid "Content Protection"
|
3090 |
msgstr ""
|
3091 |
|
3092 |
-
#: src/ContentProtection/SettingsPage.php:
|
3093 |
msgid "Edit Protection Rule"
|
3094 |
msgstr ""
|
3095 |
|
3096 |
-
#: src/ContentProtection/SettingsPage.php:
|
3097 |
msgid "Add Protection Rule"
|
3098 |
msgstr ""
|
3099 |
|
3100 |
-
#: src/ContentProtection/SettingsPage.php:
|
3101 |
msgid "Protection Rules"
|
3102 |
msgstr ""
|
3103 |
|
3104 |
-
#: src/ContentProtection/SettingsPage.php:
|
3105 |
msgid "Title cannot be empty."
|
3106 |
msgstr ""
|
3107 |
|
3108 |
-
#: src/ContentProtection/SettingsPage.php:
|
3109 |
#: src/Themes/DragDrop/AbstractTheme.php:114
|
3110 |
msgid "Changes saved."
|
3111 |
msgstr ""
|
3112 |
|
3113 |
-
#: src/ContentProtection/SettingsPage.php:
|
3114 |
msgid "Add a Protection Rule"
|
3115 |
msgstr ""
|
3116 |
|
@@ -3282,7 +3309,21 @@ msgstr ""
|
|
3282 |
msgid "Error: The file you uploaded is not accepted on our website."
|
3283 |
msgstr ""
|
3284 |
|
3285 |
-
#: src/Functions/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3286 |
msgid "Code"
|
3287 |
msgstr ""
|
3288 |
|
@@ -5455,9 +5496,9 @@ msgstr ""
|
|
5455 |
msgid "ProfilePress"
|
5456 |
msgstr ""
|
5457 |
|
5458 |
-
#. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.
|
5459 |
#. Plugin URI of the plugin/theme
|
5460 |
-
#. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.
|
5461 |
#. Author URI of the plugin/theme
|
5462 |
msgid "https://profilepress.net"
|
5463 |
msgstr ""
|
2 |
# This file is distributed under the same license as the ProfilePress package.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: ProfilePress 3.2.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-user-avatar\n"
|
7 |
+
"POT-Creation-Date: 2021-11-01 15:05:50+00:00\n"
|
8 |
"MIME-Version: 1.0\n"
|
9 |
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
|
15 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:57
|
16 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:66
|
17 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:127
|
18 |
msgid "Profile & Cover Photo"
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:77
|
22 |
msgid "Available Shortcodes"
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:81
|
26 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:211
|
27 |
msgid "Check out MailOptin"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:93
|
31 |
msgid "%s[avatar]%s displays a user's profile pictures."
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:100
|
35 |
msgid ""
|
36 |
"%s[avatar_upload]%s adds a standalone avatar uploader visible only to logged-"
|
37 |
"in users."
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:106
|
41 |
msgid "Learn more"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:201
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
msgid "Mystery Man"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:202
|
49 |
msgid "Blank"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:203
|
53 |
msgid "Gravatar Logo"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:204
|
57 |
msgid "Identicon (Generated)"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:205
|
61 |
msgid "Wavatar (Generated)"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:206
|
65 |
msgid "MonsterID (Generated)"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:207
|
69 |
msgid "Retro (Generated)"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:241
|
73 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:242
|
74 |
#: deprecated/wp-user-avatar/includes/wpua-options-page.php:119
|
75 |
#: deprecated/wp-user-avatar/includes/wpua-options-page.php:123
|
76 |
msgid "Default Profile Picture"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:242
|
80 |
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:179
|
81 |
msgid "Choose Image"
|
82 |
msgstr ""
|
83 |
|
84 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:243
|
85 |
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:79
|
86 |
#: src/Admin/SettingsPages/EmailSettings/DefaultTemplateCustomizer.php:283
|
87 |
#: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:98
|
89 |
msgid "Remove"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar-admin.php:243
|
93 |
#: deprecated/wp-user-avatar/includes/class-wp-user-avatar.php:205
|
94 |
msgid "Undo"
|
95 |
msgstr ""
|
343 |
msgid "wp_user_avatar_upload"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: deprecated/wp-user-avatar/includes/wpua-functions.php:65
|
347 |
+
#: deprecated/wp-user-avatar/includes/wpua-functions.php:73
|
348 |
+
#: deprecated/wp-user-avatar/includes/wpua-functions.php:78
|
349 |
+
#: deprecated/wp-user-avatar/includes/wpua-functions.php:131
|
350 |
+
#: src/Classes/ImageUploader.php:49
|
351 |
+
#: src/ShortcodeParser/MyAccount/MyAccountTag.php:496
|
352 |
+
msgid "Profile Picture"
|
353 |
+
msgstr ""
|
354 |
+
|
355 |
#: deprecated/wp-user-avatar/includes/wpua-functions.php:75
|
356 |
#: deprecated/wp-user-avatar/includes/wpua-functions.php:81
|
357 |
msgid "Image"
|
419 |
"generic logo or a generated one based on their e-mail address."
|
420 |
msgstr ""
|
421 |
|
422 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:26
|
423 |
msgid "ProfilePress - WordPress User Registration & Profile Plugin"
|
424 |
msgstr ""
|
425 |
|
426 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:67
|
427 |
+
msgid "Review"
|
|
|
|
|
|
|
428 |
msgstr ""
|
429 |
|
430 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:71
|
431 |
+
msgid "Support"
|
|
|
|
|
432 |
msgstr ""
|
433 |
|
434 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:75
|
435 |
+
msgid "Pro Upgrade"
|
|
|
|
|
436 |
msgstr ""
|
437 |
|
438 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:79
|
439 |
+
msgid "Docs"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:207
|
443 |
+
msgid "Need Support?"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:236
|
447 |
+
msgid ""
|
448 |
+
"Whether you need help or have a new feature request, let us know. %sRequest "
|
449 |
+
"Support%s"
|
450 |
msgstr ""
|
451 |
|
452 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:244
|
453 |
+
msgid ""
|
454 |
+
"Detailed documentation is also available on the plugin website. %sView "
|
455 |
+
"Knowledge Base%s"
|
456 |
msgstr ""
|
457 |
|
458 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:252
|
459 |
+
msgid ""
|
460 |
+
"If you are enjoying ProfilePress and find it useful, please consider leaving "
|
461 |
+
"a ★★★★★ review on WordPress.org. %sLeave a Review%s"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:264
|
465 |
msgid "Use the coupon code %s10PERCENTOFF%s to save %s off MailOptin."
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:279
|
469 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:296
|
|
|
|
|
|
|
|
|
470 |
#: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:162
|
471 |
#: src/Admin/SettingsPages/DragDropBuilder/Metabox.php:223
|
472 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:293
|
473 |
#: src/Functions/GlobalFunctions.php:1240
|
474 |
#: src/Functions/GlobalFunctions.php:1268
|
475 |
#: src/Functions/GlobalFunctions.php:1290
|
476 |
msgid "Select..."
|
477 |
msgstr ""
|
478 |
|
479 |
+
#: src/Admin/SettingsPages/AbstractSettingsPage.php:314
|
480 |
msgid "Custom URL Here"
|
481 |
msgstr ""
|
482 |
|
483 |
#: src/Admin/SettingsPages/AddNewForm.php:27
|
484 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:40
|
485 |
msgid "Add Member Directory"
|
486 |
msgstr ""
|
487 |
|
488 |
+
#: src/Admin/SettingsPages/AddNewForm.php:47
|
489 |
msgid "Drag & Drop Builder"
|
490 |
msgstr ""
|
491 |
|
492 |
+
#: src/Admin/SettingsPages/AddNewForm.php:48
|
493 |
msgid ""
|
494 |
"Create beautiful, responsive forms with easy to use drag & drop form builder."
|
495 |
msgstr ""
|
496 |
|
497 |
+
#: src/Admin/SettingsPages/AddNewForm.php:51
|
498 |
msgid "Get Started"
|
499 |
msgstr ""
|
500 |
|
501 |
+
#: src/Admin/SettingsPages/AddNewForm.php:61
|
502 |
+
#: src/Admin/SettingsPages/AddNewForm.php:77
|
503 |
msgid "Shortcode Builder"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: src/Admin/SettingsPages/AddNewForm.php:62
|
507 |
msgid ""
|
508 |
"Code your own from scratch with complete control and flexibility using "
|
509 |
"shortcodes."
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: src/Admin/SettingsPages/AddNewForm.php:65 src/Classes/AjaxHandler.php:116
|
513 |
msgid "Build Now"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: src/Admin/SettingsPages/AddNewForm.php:79
|
517 |
msgid ""
|
518 |
"Code your own from scratch with complete control and flexibility. %sLearn "
|
519 |
"more%s."
|
520 |
msgstr ""
|
521 |
|
522 |
+
#: src/Admin/SettingsPages/AddNewForm.php:85
|
523 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:120
|
524 |
msgid "Upgrade to Premium"
|
525 |
msgstr ""
|
526 |
|
527 |
+
#: src/Admin/SettingsPages/AddNewForm.php:123
|
528 |
msgid "Back to Overview"
|
529 |
msgstr ""
|
530 |
|
584 |
#: src/Admin/SettingsPages/EmailSettings/CustomizerTrait.php:11
|
585 |
#: src/AdminBarDashboardAccess/include.settings-page.php:54
|
586 |
#: src/AdminBarDashboardAccess/include.settings-page.php:109
|
587 |
+
#: src/Functions/custom-settings-api.php:1078
|
588 |
#: src/ShortcodeParser/Builder/FieldsShortcodeCallback.php:1018
|
589 |
msgid "Save Changes"
|
590 |
msgstr ""
|
628 |
msgstr ""
|
629 |
|
630 |
#: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1369
|
631 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:179
|
632 |
msgid "Registration Settings"
|
633 |
msgstr ""
|
634 |
|
646 |
msgstr ""
|
647 |
|
648 |
#: src/Admin/SettingsPages/DragDropBuilder/DragDropBuilder.php:1416
|
649 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:193
|
650 |
msgid "Login Settings"
|
651 |
msgstr ""
|
652 |
|
699 |
msgid "Add Media"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:87
|
703 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:20
|
704 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:57
|
705 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:82
|
706 |
+
#: src/ShortcodeParser/MyAccount/edit-profile.tmpl.php:28
|
707 |
+
msgid "General"
|
708 |
+
msgstr ""
|
709 |
+
|
710 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:88
|
711 |
msgid "Style"
|
712 |
msgstr ""
|
713 |
|
714 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:89
|
715 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:232
|
716 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:39
|
717 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:40
|
718 |
#: src/Classes/Miscellaneous.php:17
|
719 |
msgid "Settings"
|
720 |
msgstr ""
|
734 |
#: src/Admin/SettingsPages/DragDropBuilder/FieldBase.php:235
|
735 |
#: src/Admin/SettingsPages/FormList.php:239
|
736 |
#: src/Admin/SettingsPages/FormList.php:315
|
737 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:170
|
738 |
#: src/ContentProtection/WPListTable.php:96
|
739 |
#: src/ContentProtection/WPListTable.php:291
|
740 |
#: src/ContentProtection/views/include.view-sidebar.php:12
|
1418 |
msgid "Footer Text"
|
1419 |
msgstr ""
|
1420 |
|
1421 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:28
|
1422 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:134
|
1423 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:58
|
1424 |
+
msgid "Emails"
|
1425 |
+
msgstr ""
|
1426 |
+
|
1427 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:70
|
1428 |
msgid "Account Welcome Email"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:71
|
1432 |
#: src/Classes/WelcomeEmailAfterSignup.php:51
|
1433 |
msgid "Welcome To %s"
|
1434 |
msgstr ""
|
1435 |
|
1436 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:73
|
1437 |
msgid "Email that is sent to the user upon successful registration."
|
1438 |
msgstr ""
|
1439 |
|
|
|
1440 |
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:74
|
1441 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:92
|
1442 |
msgid "Users"
|
1443 |
msgstr ""
|
1444 |
|
1445 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:76
|
1446 |
msgid "Username of the registered user."
|
1447 |
msgstr ""
|
1448 |
|
|
|
1449 |
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:77
|
1450 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:95
|
1451 |
msgid "Email address of the registered user."
|
1452 |
msgstr ""
|
1453 |
|
1454 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:78
|
1455 |
msgid "Password of the registered user."
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:79
|
1459 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:96
|
1460 |
msgid "Website title or name."
|
1461 |
msgstr ""
|
1462 |
|
1463 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:80
|
1464 |
msgid "First Name entered by user on registration."
|
1465 |
msgstr ""
|
1466 |
|
1467 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:81
|
1468 |
msgid "Last Name entered by user on registration."
|
1469 |
msgstr ""
|
1470 |
|
1471 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:82
|
1472 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:97
|
1473 |
msgid "URL to reset password."
|
1474 |
msgstr ""
|
1475 |
|
1476 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:83
|
1477 |
msgid "URL to login.."
|
1478 |
msgstr ""
|
1479 |
|
1480 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:88
|
1481 |
msgid "Password Reset Email"
|
1482 |
msgstr ""
|
1483 |
|
1484 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:89
|
1485 |
#: src/Classes/PasswordReset.php:24 src/RegisterActivation/Base.php:85
|
1486 |
msgid "[%s] Password Reset"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:91
|
1490 |
msgid "Email that is sent to the user upon password reset request."
|
1491 |
msgstr ""
|
1492 |
|
1493 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:94
|
1494 |
msgid "Username of user."
|
1495 |
msgstr ""
|
1496 |
|
1497 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:102
|
1498 |
msgid "New User Admin Notification"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:103
|
1502 |
#: src/Functions/GlobalFunctions.php:726 src/RegisterActivation/Base.php:89
|
1503 |
msgid "[%s] New User Registration"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:105
|
1507 |
msgid "Email that is sent to admins when there is a new user registration"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:106
|
1511 |
msgid "Administrators"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:108
|
1515 |
msgid "Username of the newly registered user."
|
1516 |
msgstr ""
|
1517 |
|
1518 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:109
|
1519 |
msgid "Email address of the newly registered user."
|
1520 |
msgstr ""
|
1521 |
|
1522 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:110
|
1523 |
msgid "First name of the newly registered user."
|
1524 |
msgstr ""
|
1525 |
|
1526 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:111
|
1527 |
msgid "Last name of the newly registered user."
|
1528 |
msgstr ""
|
1529 |
|
1530 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:112
|
1531 |
msgid "Website name or name."
|
1532 |
msgstr ""
|
1533 |
|
1534 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:114
|
1535 |
msgid "Replace \"field_key\" with the %scustom field key%s or usermeta key."
|
1536 |
msgstr ""
|
1537 |
|
1538 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:139
|
1539 |
msgid "Admin Email Address(es)"
|
1540 |
msgstr ""
|
1541 |
|
1542 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:140
|
1543 |
msgid ""
|
1544 |
"The Email address to receive admin notifications. Use comma to separate "
|
1545 |
"multiple email addresses."
|
1546 |
msgstr ""
|
1547 |
|
1548 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:145
|
1549 |
msgid "Sender Name"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:146
|
1553 |
msgid ""
|
1554 |
"The name to use as the sender of all ProfilePress emails. Preferably your "
|
1555 |
"website name."
|
1556 |
msgstr ""
|
1557 |
|
1558 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:152
|
1559 |
msgid "Sender Email Address"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:153
|
1563 |
msgid "The email address to use as the sender of all ProfilePress emails."
|
1564 |
msgstr ""
|
1565 |
|
1566 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:159
|
1567 |
msgid "HTML"
|
1568 |
msgstr ""
|
1569 |
|
1570 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:160
|
1571 |
msgid "Plain Text"
|
1572 |
msgstr ""
|
1573 |
|
1574 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:163
|
1575 |
msgid "Content Type"
|
1576 |
msgstr ""
|
1577 |
|
1578 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:164
|
1579 |
msgid ""
|
1580 |
"Choose whether to send ProfilePress emails in HTML or plain text. HTML is "
|
1581 |
"recommended."
|
1582 |
msgstr ""
|
1583 |
|
1584 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:169
|
1585 |
msgid "Default Template"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:170
|
1589 |
msgid "Custom Email Template"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:173
|
1593 |
msgid "Email Template"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:174
|
1597 |
msgid ""
|
1598 |
"Choose \"Custom Email Template\" if you want to code your own email template "
|
1599 |
"from scratch."
|
1600 |
msgstr ""
|
1601 |
|
1602 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:181
|
1603 |
msgid "Customize Default Template"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:224
|
1607 |
msgid "Preview Email"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:245
|
1611 |
msgid "Enable Notification"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:246
|
1615 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:371
|
1616 |
msgid "Enable"
|
1617 |
msgstr ""
|
1618 |
|
1619 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:249
|
1620 |
msgid "Check to enable this email notification."
|
1621 |
msgstr ""
|
1622 |
|
1623 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:254
|
1624 |
msgid "Subject Line"
|
1625 |
msgstr ""
|
1626 |
|
1627 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:255
|
1628 |
msgid "Enter the subject or title for the welcome message email."
|
1629 |
msgstr ""
|
1630 |
|
1631 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:260
|
1632 |
msgid "Message Body"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
+
#: src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php:303
|
1636 |
+
msgid "Available placeholders for subject and message body"
|
1637 |
+
msgstr ""
|
1638 |
+
|
1639 |
#: src/Admin/SettingsPages/EmailSettings/WPListTable.php:23
|
1640 |
msgid "No email available."
|
1641 |
msgstr ""
|
1649 |
msgid "Recipient"
|
1650 |
msgstr ""
|
1651 |
|
|
|
1652 |
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:37
|
1653 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:49
|
1654 |
msgid "Addons"
|
1655 |
msgstr ""
|
1656 |
|
1657 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:85
|
1658 |
msgid "Activate All"
|
1659 |
msgstr ""
|
1660 |
|
1661 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:88
|
1662 |
msgid "Deactivate All"
|
1663 |
msgstr ""
|
1664 |
|
1665 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:98
|
1666 |
msgid ""
|
1667 |
"Upgrade to Premium to unlock extensions and other great features. As a "
|
1668 |
"valued ProfilePress Lite user, you will %1$sreceive 10%3$s off%2$s your "
|
1669 |
"purchase, automatically applied at checkout!"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:104
|
1673 |
msgid "Upgrade Now"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:120
|
1677 |
msgid "Upgrade Plan"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:135
|
1681 |
msgid "Learn More"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:146
|
1685 |
msgid "Unavailable: %s"
|
1686 |
msgstr ""
|
1687 |
|
1688 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:151
|
1689 |
msgid "Activated"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
+
#: src/Admin/SettingsPages/ExtensionsSettingsPage.php:151
|
1693 |
msgid "Deactivated"
|
1694 |
msgstr ""
|
1695 |
|
1730 |
|
1731 |
#: src/Admin/SettingsPages/FormList.php:242
|
1732 |
#: src/Classes/FormPreviewHandler.php:45
|
1733 |
+
#: src/Functions/custom-settings-api.php:857
|
1734 |
msgid "Preview"
|
1735 |
msgstr ""
|
1736 |
|
1738 |
msgid "Drag & Drop"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
+
#: src/Admin/SettingsPages/Forms.php:47 src/Admin/SettingsPages/Forms.php:73
|
1742 |
msgid "Forms & Profiles"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: src/Admin/SettingsPages/Forms.php:50
|
1746 |
msgid "Edit Form"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
+
#: src/Admin/SettingsPages/Forms.php:54
|
1750 |
msgid "Add Form"
|
1751 |
msgstr ""
|
1752 |
|
1753 |
+
#: src/Admin/SettingsPages/Forms.php:58 src/Admin/SettingsPages/Forms.php:62
|
1754 |
msgid "Edit Frontend Profile"
|
1755 |
msgstr ""
|
1756 |
|
1757 |
+
#: src/Admin/SettingsPages/Forms.php:93
|
1758 |
msgid ""
|
1759 |
"Melange combines login, registration & password reset forms in a single form."
|
1760 |
msgstr ""
|
1761 |
|
1762 |
+
#: src/Admin/SettingsPages/Forms.php:110
|
1763 |
msgid "Filter by Type"
|
1764 |
msgstr ""
|
1765 |
|
1766 |
+
#: src/Admin/SettingsPages/Forms.php:114
|
1767 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:190
|
1768 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:306
|
1769 |
#: src/Classes/AjaxHandler.php:54 src/NavigationMenuLinks/Backend.php:34
|
1770 |
#: src/ShortcodeParser/Builder/GlobalShortcodes.php:237
|
1771 |
#: src/Themes/DragDrop/AbstractBuildScratch.php:180
|
1773 |
msgid "Login"
|
1774 |
msgstr ""
|
1775 |
|
1776 |
+
#: src/Admin/SettingsPages/Forms.php:119
|
1777 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:176
|
1778 |
#: src/Classes/AjaxHandler.php:59
|
1779 |
msgid "Registration"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
+
#: src/Admin/SettingsPages/Forms.php:125
|
1783 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:316
|
1784 |
#: src/Classes/AjaxHandler.php:64
|
1785 |
msgid "Password Reset"
|
1786 |
msgstr ""
|
1787 |
|
1788 |
+
#: src/Admin/SettingsPages/Forms.php:130 src/Classes/AjaxHandler.php:69
|
1789 |
#: src/NavigationMenuLinks/Backend.php:32
|
1790 |
#: src/ShortcodeParser/Builder/GlobalShortcodes.php:302
|
1791 |
msgid "Edit Profile"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
+
#: src/Admin/SettingsPages/Forms.php:137 src/Classes/AjaxHandler.php:75
|
1795 |
msgid "Melange"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
+
#: src/Admin/SettingsPages/Forms.php:145 src/Classes/AjaxHandler.php:82
|
1799 |
msgid "User Profile"
|
1800 |
msgstr ""
|
1801 |
|
1802 |
+
#: src/Admin/SettingsPages/Forms.php:177
|
1803 |
msgid "Forms"
|
1804 |
msgstr ""
|
1805 |
|
1806 |
+
#: src/Admin/SettingsPages/Forms.php:219
|
1807 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:114
|
1808 |
msgid "Live Preview"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
+
#: src/Admin/SettingsPages/Forms.php:299
|
1812 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:211
|
1813 |
msgid "Add New"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:62
|
1817 |
+
msgid "Integrations"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
#: src/Admin/SettingsPages/GeneralSettings.php:66
|
1821 |
+
msgid "Premium Addons"
|
1822 |
+
msgstr ""
|
1823 |
+
|
1824 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:83
|
1825 |
+
#: src/Admin/SettingsPages/ToolsSettingsPage.php:18
|
1826 |
+
#: src/Admin/SettingsPages/ToolsSettingsPage.php:61
|
1827 |
+
msgid "Tools"
|
1828 |
+
msgstr ""
|
1829 |
+
|
1830 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:109
|
1831 |
+
msgid "My Account edit profile form (default)"
|
1832 |
+
msgstr ""
|
1833 |
+
|
1834 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:112
|
1835 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:294
|
1836 |
msgid "Currently viewed page"
|
1837 |
msgstr ""
|
1838 |
|
1839 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:113
|
1840 |
msgid "Previous/Referrer page (Pro feature)"
|
1841 |
msgstr ""
|
1842 |
|
1843 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:114
|
1844 |
msgid "WordPress Dashboard"
|
1845 |
msgstr ""
|
1846 |
|
1847 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:118
|
1848 |
msgid "Previous/Referrer page"
|
1849 |
msgstr ""
|
1850 |
|
1851 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:123
|
1852 |
msgid "Global"
|
1853 |
msgstr ""
|
1854 |
|
1855 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:126
|
1856 |
msgid "Global Settings"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:129
|
1860 |
msgid "Password-reset Page"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:132
|
1864 |
msgid ""
|
1865 |
"Select the page you wish to make WordPress default \"Lost Password page\". "
|
1866 |
"%3$s This should be the page that contains a %1$spassword reset form "
|
1867 |
"shortcode%2$s."
|
1868 |
msgstr ""
|
1869 |
|
1870 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:137
|
1871 |
msgid "Login Page"
|
1872 |
msgstr ""
|
1873 |
|
1874 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:140
|
1875 |
msgid ""
|
1876 |
"Select the page you wish to make WordPress default Login page. %3$s This "
|
1877 |
"should be the page that contains a %1$slogin form shortcode%2$s."
|
1878 |
msgstr ""
|
1879 |
|
1880 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:145
|
1881 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:392
|
1882 |
msgid "Registration Page"
|
1883 |
msgstr ""
|
1884 |
|
1885 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:148
|
1886 |
msgid ""
|
1887 |
"Select the page you wish to make WordPress default Registration page. %3$s "
|
1888 |
"This should be the page that contains a %1$sregistration form shortcode%2$s."
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:153
|
1892 |
msgid "My Account Page"
|
1893 |
msgstr ""
|
1894 |
|
1895 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:156
|
1896 |
msgid ""
|
1897 |
"Select a page that contains %3$s shortcode. You can also use an %1$sedit "
|
1898 |
"profile shortcode%2$s on the My Account page in case you want something "
|
1899 |
"custom."
|
1900 |
msgstr ""
|
1901 |
|
1902 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:161
|
1903 |
msgid "Disable Ajax Mode"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:163
|
1907 |
msgid "Disable"
|
1908 |
msgstr ""
|
1909 |
|
1910 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:164
|
1911 |
msgid ""
|
1912 |
"Check this box to disable ajax behaviour(whereby forms do not require page "
|
1913 |
"reload when submitted) in forms."
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:169
|
1917 |
msgid "Remove Data on Uninstall"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:171
|
1921 |
msgid ""
|
1922 |
"Check this box if you would like ProfilePress to completely remove all of "
|
1923 |
"its data when the plugin is deleted."
|
1924 |
msgstr ""
|
1925 |
|
1926 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:182
|
1927 |
msgid "Auto-login after registration"
|
1928 |
msgstr ""
|
1929 |
|
1930 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:183
|
1931 |
msgid "Enable auto-login"
|
1932 |
msgstr ""
|
1933 |
|
1934 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:185
|
1935 |
msgid ""
|
1936 |
"Check this option to automatically login users after successful registration."
|
1937 |
msgstr ""
|
1938 |
|
1939 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:197
|
1940 |
msgid "Email Address and Username (default)"
|
1941 |
msgstr ""
|
1942 |
|
1943 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:198
|
1944 |
msgid "Email Address Only"
|
1945 |
msgstr ""
|
1946 |
|
1947 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:199
|
1948 |
msgid "Username Only"
|
1949 |
msgstr ""
|
1950 |
|
1951 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:202
|
1952 |
msgid "Login with Email or Username"
|
1953 |
msgstr ""
|
1954 |
|
1955 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:203
|
1956 |
msgid ""
|
1957 |
"By default, WordPress allows users to log in using either an email address "
|
1958 |
"or username. This setting allows you to restrict logins to only accept email "
|
1959 |
"addresses or usernames."
|
1960 |
msgstr ""
|
1961 |
|
1962 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:208
|
1963 |
#: src/RegisterActivation/Base.php:167
|
1964 |
msgid "My Account"
|
1965 |
msgstr ""
|
1966 |
|
1967 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:209
|
1968 |
msgid "My Account Settings"
|
1969 |
msgstr ""
|
1970 |
|
1971 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:213
|
1972 |
msgid "Redirect Default Edit Profile"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:214
|
1976 |
#: src/ContentProtection/WPListTable.php:93
|
1977 |
+
#: src/Functions/custom-settings-api.php:1008
|
1978 |
msgid "Activate"
|
1979 |
msgstr ""
|
1980 |
|
1981 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:217
|
1982 |
msgid ""
|
1983 |
"Redirect <a target=\"_blank\" href=\"%s\">default WordPress profile</a> to "
|
1984 |
"My Account page."
|
1985 |
msgstr ""
|
1986 |
|
1987 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:224
|
1988 |
msgid "Edit Account Endpoint"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:225
|
1992 |
msgid "Endpoint for the \"My Account → Account Details\" page."
|
1993 |
msgstr ""
|
1994 |
|
1995 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:230
|
1996 |
msgid "Change Password Endpoint"
|
1997 |
msgstr ""
|
1998 |
|
1999 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:231
|
2000 |
msgid "Endpoint for the \"My Account → Change Password\" page."
|
2001 |
msgstr ""
|
2002 |
|
2003 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:236
|
2004 |
msgid "Account Details Form"
|
2005 |
msgstr ""
|
2006 |
|
2007 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:237
|
2008 |
msgid ""
|
2009 |
"Do you want to replace the default form in \"My Account → Account Details\" "
|
2010 |
"page? select an Edit Profile form that will replace it."
|
2011 |
msgstr ""
|
2012 |
|
2013 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:241
|
2014 |
msgid "Frontend Profile"
|
2015 |
msgstr ""
|
2016 |
|
2017 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:242
|
2018 |
msgid "Frontend Profile Settings"
|
2019 |
msgstr ""
|
2020 |
|
2021 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:246
|
2022 |
msgid "Page with Profile Shortcode"
|
2023 |
msgstr ""
|
2024 |
|
2025 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:248
|
2026 |
msgid ""
|
2027 |
"Select the page that contains your <a href=\"%s\">Frontend user profile "
|
2028 |
"shortcode</a>."
|
2029 |
msgstr ""
|
2030 |
|
2031 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:253
|
2032 |
msgid "Profile Slug"
|
2033 |
msgstr ""
|
2034 |
|
2035 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:254
|
2036 |
msgid ""
|
2037 |
"Enter your preferred profile URL slug. Default to \"profile\" if empty. If "
|
2038 |
"slug is \"profile\", URL becomes %s where \"john\" is a user's username."
|
2039 |
msgstr ""
|
2040 |
|
2041 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:258
|
2042 |
msgid "Disable Guests from Viewing Profiles"
|
2043 |
msgstr ""
|
2044 |
|
2045 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:259
|
2046 |
msgid ""
|
2047 |
"Enable this option to stop disable guests or non-registered users from "
|
2048 |
"viewing users profiles."
|
2049 |
msgstr ""
|
2050 |
|
2051 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:264
|
2052 |
msgid "Disable Members from Viewing Profiles"
|
2053 |
msgstr ""
|
2054 |
|
2055 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:265
|
2056 |
msgid ""
|
2057 |
"Enable this option to stop members from viewing other users profiles. If "
|
2058 |
"enabled, users can only see their own profile."
|
2059 |
msgstr ""
|
2060 |
|
2061 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:270
|
2062 |
msgid "Comment Author URL to Profile"
|
2063 |
msgstr ""
|
2064 |
|
2065 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:271
|
2066 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:278
|
2067 |
msgid "Enable option"
|
2068 |
msgstr ""
|
2069 |
|
2070 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:273
|
2071 |
msgid "Change URL of comment authors to their ProfilePress front-end profile."
|
2072 |
msgstr ""
|
2073 |
|
2074 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:277
|
2075 |
msgid "Authors Page to Profile"
|
2076 |
msgstr ""
|
2077 |
|
2078 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:280
|
2079 |
msgid "Change and redirect authors pages %s to their front-end profiles %s."
|
2080 |
msgstr ""
|
2081 |
|
2082 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:285
|
2083 |
msgid "Redirection"
|
2084 |
msgstr ""
|
2085 |
|
2086 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:286
|
2087 |
msgid "Redirection Settings"
|
2088 |
msgstr ""
|
2089 |
|
2090 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:290
|
2091 |
#: src/Widgets/TabbedWidget.php:214
|
2092 |
msgid "Log out"
|
2093 |
msgstr ""
|
2094 |
|
2095 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:299
|
2096 |
msgid ""
|
2097 |
"Select the page users will be redirected to after logout. To redirect to a "
|
2098 |
"custom URL instead of a selected page, enter the URL in input field directly "
|
2099 |
"above this description."
|
2100 |
msgstr ""
|
2101 |
|
2102 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:300
|
2103 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:310
|
2104 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:327
|
2105 |
msgid "Leave the \"custom URL\" field empty to fallback to the selected page."
|
2106 |
msgstr ""
|
2107 |
|
2108 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:309
|
2109 |
msgid ""
|
2110 |
"Select the page or custom URL users will be redirected to after login. To "
|
2111 |
"redirect to a custom URL instead of a selected page, enter the URL in input "
|
2112 |
"field directly above this description"
|
2113 |
msgstr ""
|
2114 |
|
2115 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:321
|
2116 |
msgid "Default.."
|
2117 |
msgstr ""
|
2118 |
|
2119 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:326
|
2120 |
msgid ""
|
2121 |
"Select the page or custom URL users will be redirected to after they "
|
2122 |
"successfully reset or change their password. To redirect to a custom URL "
|
2124 |
"description."
|
2125 |
msgstr ""
|
2126 |
|
2127 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:333
|
2128 |
#: src/ContentProtection/WPListTable.php:30
|
2129 |
msgid "Access"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:334
|
2133 |
msgid "Access Settings"
|
2134 |
msgstr ""
|
2135 |
|
2136 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:340
|
2137 |
msgid ""
|
2138 |
"%sNote:%s Access setting takes precedence over %sContent Protection rules%s."
|
2139 |
msgstr ""
|
2140 |
|
2141 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:346
|
2142 |
msgid "Global Site Access"
|
2143 |
msgstr ""
|
2144 |
|
2145 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:348
|
2146 |
msgid "Accessible to Everyone"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:349
|
2150 |
msgid "Accessible to Logged-in Users"
|
2151 |
msgstr ""
|
2152 |
|
2153 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:354
|
2154 |
msgid "Redirect Page"
|
2155 |
msgstr ""
|
2156 |
|
2157 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:356
|
2158 |
msgid ""
|
2159 |
"Select the page or custom URL to redirect users that are not logged in to."
|
2160 |
msgstr ""
|
2161 |
|
2162 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:360
|
2163 |
msgid "Pages to Exclude"
|
2164 |
msgstr ""
|
2165 |
|
2166 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:366
|
2167 |
msgid ""
|
2168 |
"Select the pages to exclude beside the redirect page that will be accessible "
|
2169 |
"by everyone."
|
2170 |
msgstr ""
|
2171 |
|
2172 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:372
|
2173 |
msgid "Accessible Homepage"
|
2174 |
msgstr ""
|
2175 |
|
2176 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:373
|
2177 |
msgid "Check to allow homepage to be accessible by everyone."
|
2178 |
msgstr ""
|
2179 |
|
2180 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:377
|
2181 |
#: src/ContentProtection/Frontend/PostContent.php:62
|
2182 |
msgid "You are unauthorized to view this page."
|
2183 |
msgstr ""
|
2184 |
|
2185 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:378
|
2186 |
msgid "Global Restricted Access Message"
|
2187 |
msgstr ""
|
2188 |
|
2189 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:379
|
2190 |
msgid ""
|
2191 |
"This is the message shown to users that do not have permission to view the "
|
2192 |
"content."
|
2193 |
msgstr ""
|
2194 |
|
2195 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:386
|
2196 |
msgid "BuddyPress"
|
2197 |
msgstr ""
|
2198 |
|
2199 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:387
|
2200 |
msgid "BuddyPress Settings"
|
2201 |
msgstr ""
|
2202 |
|
2203 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:393
|
2204 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:400
|
2205 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:407
|
2206 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:423
|
2207 |
msgid "Check to enable"
|
2208 |
msgstr ""
|
2209 |
|
2210 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:394
|
2211 |
msgid "Check to redirect BuddyPress registration page to your selected %s"
|
2212 |
msgstr ""
|
2213 |
|
2214 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:398
|
2215 |
msgid "Override Avatar"
|
2216 |
msgstr ""
|
2217 |
|
2218 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:401
|
2219 |
msgid ""
|
2220 |
"Check to override BuddyPress users uploaded avatars with that of "
|
2221 |
"ProfilePress."
|
2222 |
msgstr ""
|
2223 |
|
2224 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:406
|
2225 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:422
|
2226 |
msgid "Override Profile URL"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:408
|
2230 |
msgid ""
|
2231 |
"Check to change the profile URL of BuddyPress users to ProfilePress front-"
|
2232 |
"end profile."
|
2233 |
msgstr ""
|
2234 |
|
2235 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:416
|
2236 |
msgid "bbPress"
|
2237 |
msgstr ""
|
2238 |
|
2239 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:417
|
2240 |
msgid "bbPress Settings"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
+
#: src/Admin/SettingsPages/GeneralSettings.php:424
|
2244 |
msgid "Check to change bbPress profile URL to ProfilePress front-end profile."
|
2245 |
msgstr ""
|
2246 |
|
2435 |
msgid "Plugin unavailable."
|
2436 |
msgstr ""
|
2437 |
|
2438 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:37
|
2439 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:55
|
2440 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:91
|
2441 |
msgid "Member Directories"
|
2442 |
msgstr ""
|
2443 |
|
2444 |
+
#: src/Admin/SettingsPages/MemberDirectories.php:44
|
2445 |
msgid "Edit Member Directory"
|
2446 |
msgstr ""
|
2447 |
|
2449 |
msgid "No members directory is currently available. %sConsider creating one%s"
|
2450 |
msgstr ""
|
2451 |
|
2452 |
+
#: src/Admin/SettingsPages/ToolsSettingsPage.php:41
|
2453 |
msgid "Logs"
|
2454 |
msgstr ""
|
2455 |
|
2456 |
+
#: src/Admin/SettingsPages/ToolsSettingsPage.php:44
|
2457 |
msgid "Debug Error Log"
|
2458 |
msgstr ""
|
2459 |
|
2460 |
+
#: src/Admin/SettingsPages/ToolsSettingsPage.php:54
|
2461 |
msgid "Delete Log"
|
2462 |
msgstr ""
|
2463 |
|
2464 |
+
#: src/AdminBarDashboardAccess/Init.php:32
|
2465 |
msgid "Admin Bar & Dashboard"
|
2466 |
msgstr ""
|
2467 |
|
2468 |
+
#: src/AdminBarDashboardAccess/Init.php:41
|
2469 |
+
#: src/AdminBarDashboardAccess/Init.php:58
|
2470 |
msgid "Admin Bar & Dashboard Access"
|
2471 |
msgstr ""
|
2472 |
|
2521 |
"will be redirected to website homepage."
|
2522 |
msgstr ""
|
2523 |
|
2524 |
+
#: src/Classes/AdminNotices.php:100
|
2525 |
msgid ""
|
2526 |
"Hey, I noticed you have been using ProfilePress for at least 7 days now - "
|
2527 |
"that's awesome! Could you please do us a BIG favor and give it a %1$s5-star "
|
2529 |
"motivation - thanks!"
|
2530 |
msgstr ""
|
2531 |
|
2532 |
+
#: src/Classes/AdminNotices.php:104
|
2533 |
msgid "Sure! I'd love to give a review"
|
2534 |
msgstr ""
|
2535 |
|
2536 |
+
#: src/Classes/AdminNotices.php:106
|
2537 |
msgid "Dismiss Forever"
|
2538 |
msgstr ""
|
2539 |
|
2540 |
+
#: src/Classes/AdminNotices.php:125
|
2541 |
msgid "Change Permalink Structure"
|
2542 |
msgstr ""
|
2543 |
|
2544 |
+
#: src/Classes/AdminNotices.php:129
|
2545 |
msgid ""
|
2546 |
"Your site permalink structure is currently set to <code>Plain</code>. This "
|
2547 |
"setting is not compatible with ProfilePress. Change your permalink structure "
|
2549 |
"p><p>%s"
|
2550 |
msgstr ""
|
2551 |
|
2552 |
+
#: src/Classes/AdminNotices.php:151
|
2553 |
msgid ""
|
2554 |
"Important news! %1$sWP User Avatar%2$s is now %1$sProfilePress%2$s. We added "
|
2555 |
"new features such as member directories, frontend user registration & login "
|
2557 |
"%4$sDismiss Notice%5$s"
|
2558 |
msgstr ""
|
2559 |
|
2560 |
+
#: src/Classes/AdminNotices.php:170
|
2561 |
msgid ""
|
2562 |
"ProfilePress needs to create several pages (User Profiles, My Account, "
|
2563 |
"Registration, Login, Password Reset, Member Directory) to function correctly."
|
2564 |
msgstr ""
|
2565 |
|
2566 |
+
#: src/Classes/AdminNotices.php:173
|
2567 |
msgid "Create Pages"
|
2568 |
msgstr ""
|
2569 |
|
2570 |
+
#: src/Classes/AdminNotices.php:173
|
2571 |
msgid "No Thanks"
|
2572 |
msgstr ""
|
2573 |
|
2574 |
+
#: src/Classes/AdminNotices.php:201
|
2575 |
msgid ""
|
2576 |
"User registration currently disabled. To enable, Go to <a href=\"%1$s"
|
2577 |
"\">Settings -> General</a>, and under Membership, check \"Anyone can register"
|
3111 |
msgid "Selected %s Archive Pages"
|
3112 |
msgstr ""
|
3113 |
|
3114 |
+
#: src/ContentProtection/SettingsPage.php:42
|
3115 |
+
#: src/ContentProtection/SettingsPage.php:60
|
3116 |
msgid "Content Protection"
|
3117 |
msgstr ""
|
3118 |
|
3119 |
+
#: src/ContentProtection/SettingsPage.php:45
|
3120 |
msgid "Edit Protection Rule"
|
3121 |
msgstr ""
|
3122 |
|
3123 |
+
#: src/ContentProtection/SettingsPage.php:49
|
3124 |
msgid "Add Protection Rule"
|
3125 |
msgstr ""
|
3126 |
|
3127 |
+
#: src/ContentProtection/SettingsPage.php:81
|
3128 |
msgid "Protection Rules"
|
3129 |
msgstr ""
|
3130 |
|
3131 |
+
#: src/ContentProtection/SettingsPage.php:122
|
3132 |
msgid "Title cannot be empty."
|
3133 |
msgstr ""
|
3134 |
|
3135 |
+
#: src/ContentProtection/SettingsPage.php:156
|
3136 |
#: src/Themes/DragDrop/AbstractTheme.php:114
|
3137 |
msgid "Changes saved."
|
3138 |
msgstr ""
|
3139 |
|
3140 |
+
#: src/ContentProtection/SettingsPage.php:177
|
3141 |
msgid "Add a Protection Rule"
|
3142 |
msgstr ""
|
3143 |
|
3309 |
msgid "Error: The file you uploaded is not accepted on our website."
|
3310 |
msgstr ""
|
3311 |
|
3312 |
+
#: src/Functions/PPressBFnote.php:68
|
3313 |
+
msgid ""
|
3314 |
+
"%1$sHuge Black Friday Sale%2$s: Get 25%% off your ProfilePress plugin "
|
3315 |
+
"upgrade today with the coupon %3$sBFCM2021%4$s"
|
3316 |
+
msgstr ""
|
3317 |
+
|
3318 |
+
#: src/Functions/PPressBFnote.php:77
|
3319 |
+
msgid "Save 25% Now!"
|
3320 |
+
msgstr ""
|
3321 |
+
|
3322 |
+
#: src/Functions/PPressBFnote.php:85
|
3323 |
+
msgid "Dismiss this notice"
|
3324 |
+
msgstr ""
|
3325 |
+
|
3326 |
+
#: src/Functions/custom-settings-api.php:856
|
3327 |
msgid "Code"
|
3328 |
msgstr ""
|
3329 |
|
5496 |
msgid "ProfilePress"
|
5497 |
msgstr ""
|
5498 |
|
5499 |
+
#. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.2) #-#-#-#-#
|
5500 |
#. Plugin URI of the plugin/theme
|
5501 |
+
#. #-#-#-#-# wp-user-avatar.pot (ProfilePress 3.2.2) #-#-#-#-#
|
5502 |
#. Author URI of the plugin/theme
|
5503 |
msgid "https://profilepress.net"
|
5504 |
msgstr ""
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: user registration, user profile, registration form, membership, login form
|
|
5 |
Requires at least: 4.7
|
6 |
Requires PHP: 5.6.0
|
7 |
Tested up to: 5.8
|
8 |
-
Stable tag: 3.2.
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
|
@@ -117,6 +117,10 @@ No. You can create and manage your forms, user profiles and member directories w
|
|
117 |
|
118 |
== Changelog ==
|
119 |
|
|
|
|
|
|
|
|
|
120 |
= 3.2.1 =
|
121 |
* Fixed issue with avatar sizes.
|
122 |
* Fix: PHP DOMDocument loadHTML not encoding UTF-8 correctly.
|
5 |
Requires at least: 4.7
|
6 |
Requires PHP: 5.6.0
|
7 |
Tested up to: 5.8
|
8 |
+
Stable tag: 3.2.2
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Modern membership plugin for user registration, login form, user profile, member directories & content restriction.
|
117 |
|
118 |
== Changelog ==
|
119 |
|
120 |
+
= 3.2.2 =
|
121 |
+
* Added a new admin page header.
|
122 |
+
* Add redirect_to query parameter when Global Access redirects to a login page.
|
123 |
+
|
124 |
= 3.2.1 =
|
125 |
* Fixed issue with avatar sizes.
|
126 |
* Fix: PHP DOMDocument loadHTML not encoding UTF-8 correctly.
|
src/Admin/SettingsPages/AbstractSettingsPage.php
CHANGED
@@ -13,10 +13,7 @@ abstract class AbstractSettingsPage
|
|
13 |
{
|
14 |
protected $option_name;
|
15 |
|
16 |
-
public
|
17 |
-
{
|
18 |
-
add_action('admin_menu', array($this, 'register_core_menu'));
|
19 |
-
}
|
20 |
|
21 |
private function getMenuIcon()
|
22 |
{
|
@@ -34,48 +31,185 @@ abstract class AbstractSettingsPage
|
|
34 |
$this->getMenuIcon(),
|
35 |
'80.0015'
|
36 |
);
|
|
|
|
|
|
|
|
|
37 |
}
|
38 |
|
39 |
-
/**
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
public function register_core_settings(Custom_Settings_Page_Api $instance, $remove_sidebar = false)
|
46 |
{
|
47 |
-
|
48 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
}
|
|
|
|
|
50 |
}
|
51 |
|
52 |
-
public function
|
53 |
{
|
54 |
-
$
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
|
60 |
-
|
61 |
-
$
|
|
|
|
|
|
|
|
|
|
|
62 |
}
|
63 |
|
64 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
65 |
|
66 |
-
|
67 |
}
|
|
|
68 |
|
69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
{
|
71 |
$sidebar_args = [
|
72 |
[
|
73 |
-
'section_title' => esc_html__('
|
74 |
-
'content' =>
|
75 |
],
|
76 |
[
|
77 |
'section_title' => esc_html__('Check out MailOptin', 'wp-user-avatar'),
|
78 |
-
'content' =>
|
79 |
]
|
80 |
];
|
81 |
|
@@ -86,27 +220,44 @@ abstract class AbstractSettingsPage
|
|
86 |
return $sidebar_args;
|
87 |
}
|
88 |
|
89 |
-
public function sidebar_support_docs()
|
90 |
{
|
|
|
|
|
91 |
$content = '<p>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
$content .= sprintf(
|
93 |
-
esc_html__('
|
94 |
-
'<
|
95 |
);
|
96 |
|
97 |
$content .= '</p>';
|
98 |
|
99 |
$content .= '<p>';
|
100 |
$content .= sprintf(
|
101 |
-
esc_html__('
|
102 |
-
'<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
);
|
104 |
$content .= '</p>';
|
105 |
|
106 |
return $content;
|
107 |
}
|
108 |
|
109 |
-
public function mailoptin_ad_block()
|
110 |
{
|
111 |
$content = '<p>';
|
112 |
$content .= sprintf(
|
@@ -121,27 +272,6 @@ abstract class AbstractSettingsPage
|
|
121 |
return $content;
|
122 |
}
|
123 |
|
124 |
-
protected function placeholder_tags_table($placeholders)
|
125 |
-
{
|
126 |
-
?>
|
127 |
-
<div class="ppress-placeholder-tags">
|
128 |
-
<table class="widefat striped">
|
129 |
-
<tbody>
|
130 |
-
<tr>
|
131 |
-
<th colspan="2"><?= esc_html__('Available placeholders for subject and message body', 'wp-user-avatar'); ?></th>
|
132 |
-
</tr>
|
133 |
-
<?php foreach ($placeholders as $tag => $description) : ?>
|
134 |
-
<tr>
|
135 |
-
<td><?= $tag ?></td>
|
136 |
-
<td><?= $description ?></td>
|
137 |
-
</tr>
|
138 |
-
<?php endforeach; ?>
|
139 |
-
</tbody>
|
140 |
-
</table>
|
141 |
-
</div>
|
142 |
-
<?php
|
143 |
-
}
|
144 |
-
|
145 |
protected function page_dropdown($id, $appends = [], $args = ['skip_append_default_select' => false])
|
146 |
{
|
147 |
$default_args = [
|
13 |
{
|
14 |
protected $option_name;
|
15 |
|
16 |
+
public static $parent_menu_url_map = [];
|
|
|
|
|
|
|
17 |
|
18 |
private function getMenuIcon()
|
19 |
{
|
31 |
$this->getMenuIcon(),
|
32 |
'80.0015'
|
33 |
);
|
34 |
+
|
35 |
+
do_action('ppress_register_menu_page_' . $this->active_menu_tab() . '_' . $this->active_submenu_tab());
|
36 |
+
|
37 |
+
do_action('ppress_register_menu_page');
|
38 |
}
|
39 |
|
40 |
+
/** --------------------------------------------------------------- */
|
41 |
+
|
42 |
+
// commented out to prevent any fatal error
|
43 |
+
//abstract function default_header_menu();
|
44 |
+
|
45 |
+
public function header_menu_tabs()
|
|
|
46 |
{
|
47 |
+
return [];
|
48 |
+
}
|
49 |
+
|
50 |
+
public function header_submenu_tabs()
|
51 |
+
{
|
52 |
+
return [];
|
53 |
+
}
|
54 |
+
|
55 |
+
public function settings_page_header($active_menu, $active_submenu)
|
56 |
+
{
|
57 |
+
$logo_url = PPRESS_ASSETS_URL . '/images/profilepress-logo.svg';
|
58 |
+
$submenus_count = count($this->header_menu_tabs());
|
59 |
+
?>
|
60 |
+
<div class="ppress-admin-wrap">
|
61 |
+
<div class="ppress-admin-banner<?= ExtensionManager::is_premium() ? ' ppress-pro' : ' ppress-not-pro' ?><?= $submenus_count < 2 ? ' ppress-no-submenu' : '' ?>">
|
62 |
+
<div class="ppress-admin-banner__logo">
|
63 |
+
<img src="<?= $logo_url ?>" alt="">
|
64 |
+
</div>
|
65 |
+
<div class="ppress-admin-banner__helplinks">
|
66 |
+
<span><a rel="noopener" href="https://wordpress.org/support/plugin/wp-user-avatar/reviews/?filter=5#new-post" target="_blank">
|
67 |
+
<span class="dashicons dashicons-star-filled"></span> <?= __('Review', 'wp-user-avatar'); ?>
|
68 |
+
</a></span>
|
69 |
+
<?php if (ExtensionManager::is_premium()) : ?>
|
70 |
+
<span><a rel="noopener" href="https://profilepress.net/submit-ticket/" target="_blank">
|
71 |
+
<span class="dashicons dashicons-admin-users"></span> <?= __('Support', 'wp-user-avatar'); ?>
|
72 |
+
</a></span>
|
73 |
+
<?php else : ?>
|
74 |
+
<span><a class="ppress-active" rel="noopener" href="https://profilepress.net/pricing/?utm_source=wp_dashboard&utm_medium=upgrade&utm_campaign=ppress_header_topright_menu" target="_blank">
|
75 |
+
<span class="dashicons dashicons-info"></span> <?= __('Pro Upgrade', 'wp-user-avatar'); ?>
|
76 |
+
</a></span>
|
77 |
+
<?php endif; ?>
|
78 |
+
<span><a rel="noopener" href="https://profilepress.net/docs/" target="_blank">
|
79 |
+
<span class="dashicons dashicons-book"></span> <?= __('Docs', 'wp-user-avatar'); ?>
|
80 |
+
</a></span>
|
81 |
+
</div>
|
82 |
+
<div class="clear"></div>
|
83 |
+
<?php $this->settings_page_header_menus($active_menu); ?>
|
84 |
+
</div>
|
85 |
+
<?php
|
86 |
+
|
87 |
+
$submenus = $this->header_submenu_tabs();
|
88 |
+
|
89 |
+
if ( ! empty($submenus) && count($submenus) > 1) {
|
90 |
+
$this->settings_page_header_sub_menus($active_menu, $active_submenu);
|
91 |
+
}
|
92 |
+
|
93 |
+
?>
|
94 |
+
</div>
|
95 |
+
<?php
|
96 |
+
}
|
97 |
+
|
98 |
+
public function settings_page_header_menus($active_menu)
|
99 |
+
{
|
100 |
+
$menus = $this->header_menu_tabs();
|
101 |
+
|
102 |
+
if (count($menus) < 2) return;
|
103 |
+
?>
|
104 |
+
<div class="ppress-header-menus">
|
105 |
+
<nav class="ppress-nav-tab-wrapper nav-tab-wrapper">
|
106 |
+
<?php foreach ($menus as $menu) : ?>
|
107 |
+
<?php
|
108 |
+
$id = sanitize_text_field(ppress_var($menu,'id', ''));
|
109 |
+
$url = esc_url_raw(! empty($menu['url']) ? $menu['url'] : add_query_arg('view', $id));
|
110 |
+
self::$parent_menu_url_map[$id] = $url;
|
111 |
+
?>
|
112 |
+
<a href="<?php echo esc_url(remove_query_arg(wp_removable_query_args(), $url)); ?>" class="ppress-nav-tab nav-tab<?= $id == $active_menu ? ' ppress-nav-active' : '' ?>">
|
113 |
+
<?php echo sanitize_text_field($menu['label']) ?>
|
114 |
+
</a>
|
115 |
+
<?php endforeach; ?>
|
116 |
+
</nav>
|
117 |
+
</div>
|
118 |
+
<?php
|
119 |
+
}
|
120 |
+
|
121 |
+
public function settings_page_header_sub_menus($active_menu, $active_submenu)
|
122 |
+
{
|
123 |
+
$submenus = $this->header_submenu_tabs();
|
124 |
+
|
125 |
+
if (count($submenus) < 2) return;
|
126 |
+
|
127 |
+
$active_menu_url = self::$parent_menu_url_map[$active_menu];
|
128 |
+
|
129 |
+
$submenus = wp_list_filter($submenus, ['parent' => $active_menu]);
|
130 |
+
|
131 |
+
echo '<ul class="subsubsub">';
|
132 |
+
|
133 |
+
foreach ($submenus as $submenu) {
|
134 |
+
|
135 |
+
printf(
|
136 |
+
'<li><a href="%s"%s>%s</a></li>',
|
137 |
+
esc_url(add_query_arg('section', $submenu['id'], $active_menu_url)),
|
138 |
+
$active_submenu == $submenu['id'] ? ' class="ppress-current"' : '',
|
139 |
+
$submenu['label']
|
140 |
+
);
|
141 |
+
}
|
142 |
+
echo '</ul>';
|
143 |
+
}
|
144 |
+
|
145 |
+
public function active_menu_tab()
|
146 |
+
{
|
147 |
+
static $cache = null;
|
148 |
+
|
149 |
+
if (is_null($cache)) {
|
150 |
+
$cache = isset($_GET['view']) ? sanitize_text_field($_GET['view']) : $this->default_header_menu();
|
151 |
}
|
152 |
+
|
153 |
+
return $cache;
|
154 |
}
|
155 |
|
156 |
+
public function active_submenu_tab()
|
157 |
{
|
158 |
+
static $cache = null;
|
159 |
+
|
160 |
+
if (is_null($cache)) {
|
161 |
+
|
162 |
+
$active_menu = $this->active_menu_tab();
|
163 |
|
164 |
+
$submenu_tabs = wp_list_filter($this->header_submenu_tabs(), ['parent' => $active_menu]);
|
165 |
+
$first_submenu_tab = '';
|
166 |
+
if ( ! empty($submenu_tabs)) {
|
167 |
+
$first_submenu_tab = array_values($submenu_tabs)[0]['id'];
|
168 |
+
}
|
169 |
+
|
170 |
+
$cache = isset($_GET['section']) && ppressGET_var('view', 'general', true) == $active_menu ? sanitize_text_field($_GET['section']) : $first_submenu_tab;
|
171 |
}
|
172 |
|
173 |
+
return $cache;
|
174 |
+
}
|
175 |
+
|
176 |
+
public function admin_page_callback()
|
177 |
+
{
|
178 |
+
$active_menu = $this->active_menu_tab();
|
179 |
+
|
180 |
+
$active_submenu = $this->active_submenu_tab();
|
181 |
+
|
182 |
+
$this->settings_page_header($active_menu, $active_submenu);
|
183 |
+
|
184 |
+
do_action('ppress_admin_settings_page_' . $active_menu);
|
185 |
|
186 |
+
do_action('ppress_admin_settings_submenu_page_' . $active_menu . '_' . $active_submenu);
|
187 |
}
|
188 |
+
/** --------------------------------------------------------------- */
|
189 |
|
190 |
+
/**
|
191 |
+
* Register core settings.
|
192 |
+
*
|
193 |
+
* @param Custom_Settings_Page_Api $instance
|
194 |
+
* @param bool $remove_sidebar
|
195 |
+
*/
|
196 |
+
public static function register_core_settings(Custom_Settings_Page_Api $instance, $remove_sidebar = false)
|
197 |
+
{
|
198 |
+
if ( ! $remove_sidebar) {
|
199 |
+
$instance->sidebar(self::sidebar_args());
|
200 |
+
}
|
201 |
+
}
|
202 |
+
|
203 |
+
public static function sidebar_args()
|
204 |
{
|
205 |
$sidebar_args = [
|
206 |
[
|
207 |
+
'section_title' => esc_html__('Need Support?', 'wp-user-avatar'),
|
208 |
+
'content' => self::sidebar_support_docs(),
|
209 |
],
|
210 |
[
|
211 |
'section_title' => esc_html__('Check out MailOptin', 'wp-user-avatar'),
|
212 |
+
'content' => self::mailoptin_ad_block(),
|
213 |
]
|
214 |
];
|
215 |
|
220 |
return $sidebar_args;
|
221 |
}
|
222 |
|
223 |
+
public static function sidebar_support_docs()
|
224 |
{
|
225 |
+
$link_icon = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" class="linkIcon"><path d="M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"></path></svg>';
|
226 |
+
|
227 |
$content = '<p>';
|
228 |
+
|
229 |
+
$support_url = 'https://wordpress.org/support/plugin/wp-user-avatar/';
|
230 |
+
|
231 |
+
if (ExtensionManager::is_premium()) {
|
232 |
+
$support_url = 'https://profilepress.net/submit-ticket/';
|
233 |
+
}
|
234 |
+
|
235 |
$content .= sprintf(
|
236 |
+
esc_html__('Whether you need help or have a new feature request, let us know. %sRequest Support%s', 'wp-user-avatar'),
|
237 |
+
'<a class="ppress-link" href="' . $support_url . '" target="_blank">', $link_icon . '</a>'
|
238 |
);
|
239 |
|
240 |
$content .= '</p>';
|
241 |
|
242 |
$content .= '<p>';
|
243 |
$content .= sprintf(
|
244 |
+
esc_html__('Detailed documentation is also available on the plugin website. %sView Knowledge Base%s', 'wp-user-avatar'),
|
245 |
+
'<a class="ppress-link" href="https://profilepress.net/docs/" target="_blank">', $link_icon . '</a>'
|
246 |
+
);
|
247 |
+
|
248 |
+
$content .= '</p>';
|
249 |
+
|
250 |
+
$content .= '<p>';
|
251 |
+
$content .= sprintf(
|
252 |
+
esc_html__('If you are enjoying ProfilePress and find it useful, please consider leaving a ★★★★★ review on WordPress.org. %sLeave a Review%s', 'wp-user-avatar'),
|
253 |
+
'<a class="ppress-link" href="https://wordpress.org/support/plugin/wp-user-avatar/reviews/?filter=5#new-post" target="_blank">', $link_icon . '</a>'
|
254 |
);
|
255 |
$content .= '</p>';
|
256 |
|
257 |
return $content;
|
258 |
}
|
259 |
|
260 |
+
public static function mailoptin_ad_block()
|
261 |
{
|
262 |
$content = '<p>';
|
263 |
$content .= sprintf(
|
272 |
return $content;
|
273 |
}
|
274 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
275 |
protected function page_dropdown($id, $appends = [], $args = ['skip_append_default_select' => false])
|
276 |
{
|
277 |
$default_args = [
|
src/Admin/SettingsPages/AddNewForm.php
CHANGED
@@ -11,7 +11,7 @@ if ( ! defined('ABSPATH')) {
|
|
11 |
exit;
|
12 |
}
|
13 |
|
14 |
-
class AddNewForm
|
15 |
{
|
16 |
/**
|
17 |
* Build the settings page structure. I.e tab, sidebar.
|
@@ -26,7 +26,6 @@ class AddNewForm extends AbstractSettingsPage
|
|
26 |
if ($_GET['page'] == PPRESS_MEMBER_DIRECTORIES_SLUG) {
|
27 |
$instance->page_header(__('Add Member Directory', 'wp-user-avatar'));
|
28 |
}
|
29 |
-
$this->register_core_settings($instance, true);
|
30 |
$instance->build(true);
|
31 |
}
|
32 |
|
11 |
exit;
|
12 |
}
|
13 |
|
14 |
+
class AddNewForm
|
15 |
{
|
16 |
/**
|
17 |
* Build the settings page structure. I.e tab, sidebar.
|
26 |
if ($_GET['page'] == PPRESS_MEMBER_DIRECTORIES_SLUG) {
|
27 |
$instance->page_header(__('Add Member Directory', 'wp-user-avatar'));
|
28 |
}
|
|
|
29 |
$instance->build(true);
|
30 |
}
|
31 |
|
src/Admin/SettingsPages/EmailSettings/EmailSettingsPage.php
CHANGED
@@ -2,17 +2,19 @@
|
|
2 |
|
3 |
namespace ProfilePress\Core\Admin\SettingsPages\EmailSettings;
|
4 |
|
5 |
-
use ProfilePress\Core\Admin\SettingsPages\AbstractSettingsPage;
|
6 |
use ProfilePress\Core\Classes\SendEmail;
|
7 |
use ProfilePress\Custom_Settings_Page_Api;
|
8 |
|
9 |
-
class EmailSettingsPage
|
10 |
{
|
11 |
public $email_notification_list_table;
|
12 |
|
|
|
|
|
13 |
public function __construct()
|
14 |
{
|
15 |
-
|
|
|
16 |
add_action('admin_init', [$this, 'handle_email_preview']);
|
17 |
|
18 |
add_action('admin_enqueue_scripts', function ($hook_suffix) {
|
@@ -28,6 +30,22 @@ class EmailSettingsPage extends AbstractSettingsPage
|
|
28 |
|
29 |
return $title;
|
30 |
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
}
|
32 |
|
33 |
public function screen_option()
|
@@ -114,7 +132,6 @@ class EmailSettingsPage extends AbstractSettingsPage
|
|
114 |
}
|
115 |
|
116 |
$page_header = esc_html__('Emails', 'wp-user-avatar');
|
117 |
-
$instance = Custom_Settings_Page_Api::instance();
|
118 |
|
119 |
$email_settings = [
|
120 |
[
|
@@ -179,16 +196,6 @@ class EmailSettingsPage extends AbstractSettingsPage
|
|
179 |
exit;
|
180 |
}
|
181 |
|
182 |
-
|
183 |
-
add_filter('wp_cspa_sanitize_skip', function ($return, $fieldkey, $value) use ($key) {
|
184 |
-
if ($fieldkey == $key . '_email_content') {
|
185 |
-
return stripslashes($value);
|
186 |
-
}
|
187 |
-
|
188 |
-
return $return;
|
189 |
-
|
190 |
-
}, 10, 3);
|
191 |
-
|
192 |
$page_header = $data['title'];
|
193 |
|
194 |
$email_content_field_type = 'email_editor';
|
@@ -256,14 +263,11 @@ class EmailSettingsPage extends AbstractSettingsPage
|
|
256 |
];
|
257 |
}
|
258 |
|
259 |
-
$
|
260 |
-
$
|
261 |
-
$this->
|
262 |
-
$
|
263 |
-
$
|
264 |
-
$instance->header_without_frills();
|
265 |
-
$instance->tab($this->settings_tab_args());
|
266 |
-
$instance->build(true);
|
267 |
|
268 |
$this->toggle_field_js_script();
|
269 |
}
|
@@ -289,6 +293,27 @@ class EmailSettingsPage extends AbstractSettingsPage
|
|
289 |
exit;
|
290 |
}
|
291 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
292 |
public function toggle_field_js_script()
|
293 |
{
|
294 |
?>
|
2 |
|
3 |
namespace ProfilePress\Core\Admin\SettingsPages\EmailSettings;
|
4 |
|
|
|
5 |
use ProfilePress\Core\Classes\SendEmail;
|
6 |
use ProfilePress\Custom_Settings_Page_Api;
|
7 |
|
8 |
+
class EmailSettingsPage
|
9 |
{
|
10 |
public $email_notification_list_table;
|
11 |
|
12 |
+
public $settingsPageInstance;
|
13 |
+
|
14 |
public function __construct()
|
15 |
{
|
16 |
+
add_action('ppress_admin_settings_page_email', [$this, 'admin_page']);
|
17 |
+
add_action('ppress_settings_page_screen_option', [$this, 'screen_option']);
|
18 |
add_action('admin_init', [$this, 'handle_email_preview']);
|
19 |
|
20 |
add_action('admin_enqueue_scripts', function ($hook_suffix) {
|
30 |
|
31 |
return $title;
|
32 |
});
|
33 |
+
|
34 |
+
add_action('ppress_register_menu_page', function () {
|
35 |
+
|
36 |
+
add_filter('wp_cspa_sanitize_skip', function ($return, $fieldkey, $value) {
|
37 |
+
|
38 |
+
if (isset($_GET['type']) && $fieldkey == sanitize_text_field($_GET['type']) . '_email_content') {
|
39 |
+
return stripslashes($value);
|
40 |
+
}
|
41 |
+
|
42 |
+
return $return;
|
43 |
+
|
44 |
+
}, 10, 3);
|
45 |
+
|
46 |
+
$this->settingsPageInstance = Custom_Settings_Page_Api::instance('', PPRESS_SETTINGS_DB_OPTION_NAME);
|
47 |
+
|
48 |
+
});
|
49 |
}
|
50 |
|
51 |
public function screen_option()
|
132 |
}
|
133 |
|
134 |
$page_header = esc_html__('Emails', 'wp-user-avatar');
|
|
|
135 |
|
136 |
$email_settings = [
|
137 |
[
|
196 |
exit;
|
197 |
}
|
198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
$page_header = $data['title'];
|
200 |
|
201 |
$email_content_field_type = 'email_editor';
|
263 |
];
|
264 |
}
|
265 |
|
266 |
+
$this->settingsPageInstance->page_header($page_header);
|
267 |
+
$this->settingsPageInstance->main_content($email_settings);
|
268 |
+
$this->settingsPageInstance->remove_white_design();
|
269 |
+
$this->settingsPageInstance->header_without_frills();
|
270 |
+
$this->settingsPageInstance->build(true);
|
|
|
|
|
|
|
271 |
|
272 |
$this->toggle_field_js_script();
|
273 |
}
|
293 |
exit;
|
294 |
}
|
295 |
|
296 |
+
protected function placeholder_tags_table($placeholders)
|
297 |
+
{
|
298 |
+
?>
|
299 |
+
<div class="ppress-placeholder-tags">
|
300 |
+
<table class="widefat striped">
|
301 |
+
<tbody>
|
302 |
+
<tr>
|
303 |
+
<th colspan="2"><?= esc_html__('Available placeholders for subject and message body', 'wp-user-avatar'); ?></th>
|
304 |
+
</tr>
|
305 |
+
<?php foreach ($placeholders as $tag => $description) : ?>
|
306 |
+
<tr>
|
307 |
+
<td><?= $tag ?></td>
|
308 |
+
<td><?= $description ?></td>
|
309 |
+
</tr>
|
310 |
+
<?php endforeach; ?>
|
311 |
+
</tbody>
|
312 |
+
</table>
|
313 |
+
</div>
|
314 |
+
<?php
|
315 |
+
}
|
316 |
+
|
317 |
public function toggle_field_js_script()
|
318 |
{
|
319 |
?>
|
src/Admin/SettingsPages/EmailSettings/WPListTable.php
CHANGED
@@ -41,7 +41,7 @@ class WPListTable extends \WP_List_Table
|
|
41 |
|
42 |
public function column_default($item, $column_name)
|
43 |
{
|
44 |
-
$url
|
45 |
|
46 |
if ($column_name == 'configure') {
|
47 |
return '<a class="button pp-email-configure" href="' . $url . '"><span class="dashicons dashicons-admin-generic"></span></a>';
|
@@ -60,7 +60,7 @@ class WPListTable extends \WP_List_Table
|
|
60 |
$class .= ' pp-is-active ';
|
61 |
}
|
62 |
|
63 |
-
$url = esc_url_raw(add_query_arg('type', $key));
|
64 |
$flag = '<span class="' . $class . '"></span>';
|
65 |
|
66 |
$hint = '';
|
41 |
|
42 |
public function column_default($item, $column_name)
|
43 |
{
|
44 |
+
$url = esc_url(remove_query_arg(wp_removable_query_args(),add_query_arg('type', sanitize_text_field($item['key']))));
|
45 |
|
46 |
if ($column_name == 'configure') {
|
47 |
return '<a class="button pp-email-configure" href="' . $url . '"><span class="dashicons dashicons-admin-generic"></span></a>';
|
60 |
$class .= ' pp-is-active ';
|
61 |
}
|
62 |
|
63 |
+
$url = esc_url_raw(remove_query_arg(wp_removable_query_args(),add_query_arg('type', $key)));
|
64 |
$flag = '<span class="' . $class . '"></span>';
|
65 |
|
66 |
$hint = '';
|
src/Admin/SettingsPages/ExtensionsSettingsPage.php
CHANGED
@@ -8,16 +8,28 @@ use ProfilePress\Custom_Settings_Page_Api;
|
|
8 |
|
9 |
class ExtensionsSettingsPage extends AbstractSettingsPage
|
10 |
{
|
|
|
|
|
11 |
public function __construct()
|
12 |
{
|
13 |
add_action('ppress_admin_hooks', function () {
|
14 |
-
add_action('
|
|
|
15 |
});
|
16 |
|
17 |
if ( ! ExtensionManager::is_premium()) {
|
18 |
add_filter('install_plugins_tabs', [$this, 'add_extension_tab']);
|
19 |
add_action('install_plugins_ppress_extensions', [$this, 'extension_view']);
|
20 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
}
|
22 |
|
23 |
public function add_extension_tab($tabs)
|
@@ -29,7 +41,7 @@ class ExtensionsSettingsPage extends AbstractSettingsPage
|
|
29 |
|
30 |
public function extension_view($tabs)
|
31 |
{
|
32 |
-
$this->
|
33 |
}
|
34 |
|
35 |
public function admin_page_title()
|
@@ -45,25 +57,23 @@ class ExtensionsSettingsPage extends AbstractSettingsPage
|
|
45 |
'<span style="color:#f18500">' . $this->admin_page_title() . '</span>',
|
46 |
'manage_options',
|
47 |
PPRESS_EXTENSIONS_SETTINGS_SLUG,
|
48 |
-
[$this, '
|
49 |
}
|
50 |
|
51 |
public function settings_page_function()
|
52 |
{
|
53 |
-
add_action('wp_cspa_main_content_area', array($this, '
|
54 |
add_action('wp_cspa_form_tag', function () {
|
55 |
echo 'id="ppress-extension-manager-form"';
|
56 |
});
|
57 |
|
58 |
-
$
|
59 |
-
$
|
60 |
-
$
|
61 |
-
$
|
62 |
-
$this->register_core_settings($instance, true);
|
63 |
-
$instance->build(true);
|
64 |
}
|
65 |
|
66 |
-
public function
|
67 |
{
|
68 |
?>
|
69 |
<div class="ppress-extensions-items-wrap">
|
8 |
|
9 |
class ExtensionsSettingsPage extends AbstractSettingsPage
|
10 |
{
|
11 |
+
protected $spInstance;
|
12 |
+
|
13 |
public function __construct()
|
14 |
{
|
15 |
add_action('ppress_admin_hooks', function () {
|
16 |
+
add_action('ppress_register_menu_page', [$this, 'register_settings_page']);
|
17 |
+
add_action('ppress_admin_settings_page_addons', [$this, 'settings_page_function']);
|
18 |
});
|
19 |
|
20 |
if ( ! ExtensionManager::is_premium()) {
|
21 |
add_filter('install_plugins_tabs', [$this, 'add_extension_tab']);
|
22 |
add_action('install_plugins_ppress_extensions', [$this, 'extension_view']);
|
23 |
}
|
24 |
+
|
25 |
+
add_action('admin_init', function () {
|
26 |
+
$this->spInstance = Custom_Settings_Page_Api::instance([], EM::DB_OPTION_NAME);
|
27 |
+
});
|
28 |
+
}
|
29 |
+
|
30 |
+
public function default_header_menu()
|
31 |
+
{
|
32 |
+
return 'addons';
|
33 |
}
|
34 |
|
35 |
public function add_extension_tab($tabs)
|
41 |
|
42 |
public function extension_view($tabs)
|
43 |
{
|
44 |
+
$this->admin_settings_page_callback();
|
45 |
}
|
46 |
|
47 |
public function admin_page_title()
|
57 |
'<span style="color:#f18500">' . $this->admin_page_title() . '</span>',
|
58 |
'manage_options',
|
59 |
PPRESS_EXTENSIONS_SETTINGS_SLUG,
|
60 |
+
[$this, 'admin_page_callback']);
|
61 |
}
|
62 |
|
63 |
public function settings_page_function()
|
64 |
{
|
65 |
+
add_action('wp_cspa_main_content_area', array($this, 'admin_settings_page_callback'), 10, 2);
|
66 |
add_action('wp_cspa_form_tag', function () {
|
67 |
echo 'id="ppress-extension-manager-form"';
|
68 |
});
|
69 |
|
70 |
+
$this->spInstance->add_view_classes('ppress-extensions');
|
71 |
+
$this->spInstance->page_header($this->admin_page_title());
|
72 |
+
$this->register_core_settings($this->spInstance, true);
|
73 |
+
$this->spInstance->build(true);
|
|
|
|
|
74 |
}
|
75 |
|
76 |
+
public function admin_settings_page_callback()
|
77 |
{
|
78 |
?>
|
79 |
<div class="ppress-extensions-items-wrap">
|
src/Admin/SettingsPages/Forms.php
CHANGED
@@ -22,7 +22,17 @@ class Forms extends AbstractSettingsPage
|
|
22 |
|
23 |
public function __construct()
|
24 |
{
|
25 |
-
add_action('
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
|
27 |
add_filter('set-screen-option', array($this, 'set_screen'), 10, 3);
|
28 |
add_filter('set_screen_option_forms_per_page', array($this, 'set_screen'), 10, 3);
|
@@ -55,7 +65,7 @@ class Forms extends AbstractSettingsPage
|
|
55 |
return $page_title;
|
56 |
}
|
57 |
|
58 |
-
public function
|
59 |
{
|
60 |
$hook = add_submenu_page(
|
61 |
PPRESS_SETTINGS_SLUG,
|
@@ -63,12 +73,17 @@ class Forms extends AbstractSettingsPage
|
|
63 |
esc_html__('Forms & Profiles', 'wp-user-avatar'),
|
64 |
'manage_options',
|
65 |
PPRESS_FORMS_SETTINGS_SLUG,
|
66 |
-
array($this, '
|
67 |
);
|
68 |
|
69 |
add_action("load-$hook", array($this, 'screen_option'));
|
70 |
}
|
71 |
|
|
|
|
|
|
|
|
|
|
|
72 |
/**
|
73 |
* Sub-menu header for form types.
|
74 |
*/
|
@@ -236,7 +251,6 @@ class Forms extends AbstractSettingsPage
|
|
236 |
return AddNewForm::get_instance()->settings_admin_page();
|
237 |
}
|
238 |
|
239 |
-
|
240 |
$short_circuit = apply_filters('ppress_forms_settings_admin_page_short_circuit', false);
|
241 |
|
242 |
if (false !== $short_circuit) return $short_circuit;
|
22 |
|
23 |
public function __construct()
|
24 |
{
|
25 |
+
add_action('ppress_register_menu_page', [$this, 'register_menu_page']);
|
26 |
+
|
27 |
+
add_action('ppress_admin_settings_page_forms', [$this, 'settings_admin_page_callback']);
|
28 |
+
add_action('ppress_admin_settings_page_add-new-form', [$this, 'settings_admin_page_callback']);
|
29 |
+
add_action('ppress_admin_settings_page_edit-shortcode-login', [$this, 'settings_admin_page_callback']);
|
30 |
+
add_action('ppress_admin_settings_page_edit-shortcode-registration', [$this, 'settings_admin_page_callback']);
|
31 |
+
add_action('ppress_admin_settings_page_edit-shortcode-password-reset', [$this, 'settings_admin_page_callback']);
|
32 |
+
add_action('ppress_admin_settings_page_edit-shortcode-edit-profile', [$this, 'settings_admin_page_callback']);
|
33 |
+
add_action('ppress_admin_settings_page_edit-shortcode-melange', [$this, 'settings_admin_page_callback']);
|
34 |
+
add_action('ppress_admin_settings_page_edit-shortcode-user-profile', [$this, 'settings_admin_page_callback']);
|
35 |
+
add_action('ppress_admin_settings_page_drag-drop-builder', [$this, 'settings_admin_page_callback']);
|
36 |
|
37 |
add_filter('set-screen-option', array($this, 'set_screen'), 10, 3);
|
38 |
add_filter('set_screen_option_forms_per_page', array($this, 'set_screen'), 10, 3);
|
65 |
return $page_title;
|
66 |
}
|
67 |
|
68 |
+
public function register_menu_page()
|
69 |
{
|
70 |
$hook = add_submenu_page(
|
71 |
PPRESS_SETTINGS_SLUG,
|
73 |
esc_html__('Forms & Profiles', 'wp-user-avatar'),
|
74 |
'manage_options',
|
75 |
PPRESS_FORMS_SETTINGS_SLUG,
|
76 |
+
array($this, 'admin_page_callback')
|
77 |
);
|
78 |
|
79 |
add_action("load-$hook", array($this, 'screen_option'));
|
80 |
}
|
81 |
|
82 |
+
public function default_header_menu()
|
83 |
+
{
|
84 |
+
return 'forms';
|
85 |
+
}
|
86 |
+
|
87 |
/**
|
88 |
* Sub-menu header for form types.
|
89 |
*/
|
251 |
return AddNewForm::get_instance()->settings_admin_page();
|
252 |
}
|
253 |
|
|
|
254 |
$short_circuit = apply_filters('ppress_forms_settings_admin_page_short_circuit', false);
|
255 |
|
256 |
if (false !== $short_circuit) return $short_circuit;
|
src/Admin/SettingsPages/GeneralSettings.php
CHANGED
@@ -9,10 +9,20 @@ use ProfilePress\Custom_Settings_Page_Api;
|
|
9 |
|
10 |
class GeneralSettings extends AbstractSettingsPage
|
11 |
{
|
|
|
|
|
12 |
public function __construct()
|
13 |
{
|
14 |
-
|
15 |
-
add_action('admin_menu', array($this, '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
|
17 |
// flush rewrite rule on save/persistence
|
18 |
add_action('wp_cspa_persist_settings', function () {
|
@@ -22,7 +32,7 @@ class GeneralSettings extends AbstractSettingsPage
|
|
22 |
$this->custom_sanitize();
|
23 |
}
|
24 |
|
25 |
-
public function
|
26 |
{
|
27 |
$hook = add_submenu_page(
|
28 |
PPRESS_SETTINGS_SLUG,
|
@@ -30,27 +40,63 @@ class GeneralSettings extends AbstractSettingsPage
|
|
30 |
esc_html__('Settings', 'wp-user-avatar'),
|
31 |
'manage_options',
|
32 |
PPRESS_SETTINGS_SLUG,
|
33 |
-
array($this, '
|
34 |
);
|
35 |
|
36 |
add_action("load-$hook", [$this, 'screen_option']);
|
37 |
}
|
38 |
|
39 |
-
public function
|
40 |
{
|
41 |
-
|
42 |
}
|
43 |
|
44 |
-
public function
|
45 |
{
|
46 |
-
|
47 |
-
|
|
|
|
|
|
|
|
|
|
|
48 |
}
|
49 |
|
50 |
-
if (
|
51 |
-
|
52 |
}
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
$custom_page = apply_filters('ppress_general_settings_admin_page_short_circuit', false);
|
55 |
|
56 |
if (false !== $custom_page) return $custom_page;
|
@@ -64,7 +110,7 @@ class GeneralSettings extends AbstractSettingsPage
|
|
64 |
|
65 |
$login_redirect_page_dropdown_args = [
|
66 |
['key' => 'current_page', 'label' => esc_html__('Currently viewed page', 'wp-user-avatar')],
|
67 |
-
['key' => '', 'label' => esc_html__('Previous/Referrer page (Pro feature)', 'wp-user-avatar'), 'disabled'=>true],
|
68 |
['key' => 'dashboard', 'label' => esc_html__('WordPress Dashboard', 'wp-user-avatar')]
|
69 |
];
|
70 |
|
@@ -381,11 +427,8 @@ class GeneralSettings extends AbstractSettingsPage
|
|
381 |
);
|
382 |
}
|
383 |
|
384 |
-
$
|
385 |
-
$
|
386 |
-
$this->register_core_settings($instance, true);
|
387 |
-
$instance->tab($this->settings_tab_args());
|
388 |
-
$instance->build_sidebar_tab_style();
|
389 |
}
|
390 |
|
391 |
public function custom_sanitize()
|
9 |
|
10 |
class GeneralSettings extends AbstractSettingsPage
|
11 |
{
|
12 |
+
public $settingsPageInstance;
|
13 |
+
|
14 |
public function __construct()
|
15 |
{
|
16 |
+
// registers the global ProfilePress dashboard menu
|
17 |
+
add_action('admin_menu', array($this, 'register_core_menu'));
|
18 |
+
|
19 |
+
add_action('ppress_register_menu_page_general_general', function () {
|
20 |
+
$this->settingsPageInstance = Custom_Settings_Page_Api::instance([], PPRESS_SETTINGS_DB_OPTION_NAME, esc_html__('General', 'wp-user-avatar'));
|
21 |
+
});
|
22 |
+
|
23 |
+
add_action('ppress_register_menu_page', array($this, 'register_menu_page'));
|
24 |
+
|
25 |
+
add_action('ppress_admin_settings_submenu_page_general_general', [$this, 'settings_admin_page_callback']);
|
26 |
|
27 |
// flush rewrite rule on save/persistence
|
28 |
add_action('wp_cspa_persist_settings', function () {
|
32 |
$this->custom_sanitize();
|
33 |
}
|
34 |
|
35 |
+
public function register_menu_page()
|
36 |
{
|
37 |
$hook = add_submenu_page(
|
38 |
PPRESS_SETTINGS_SLUG,
|
40 |
esc_html__('Settings', 'wp-user-avatar'),
|
41 |
'manage_options',
|
42 |
PPRESS_SETTINGS_SLUG,
|
43 |
+
array($this, 'admin_page_callback')
|
44 |
);
|
45 |
|
46 |
add_action("load-$hook", [$this, 'screen_option']);
|
47 |
}
|
48 |
|
49 |
+
public function default_header_menu()
|
50 |
{
|
51 |
+
return 'general';
|
52 |
}
|
53 |
|
54 |
+
public function header_menu_tabs()
|
55 |
{
|
56 |
+
$tabs = apply_filters('ppress_settings_page_tabs', [
|
57 |
+
20 => ['id' => 'general', 'url' => PPRESS_SETTINGS_SETTING_PAGE, 'label' => esc_html__('General', 'wp-user-avatar')],
|
58 |
+
40 => ['id' => 'email', 'url' => add_query_arg('view', 'email', PPRESS_SETTINGS_SETTING_PAGE), 'label' => esc_html__('Emails', 'wp-user-avatar')],
|
59 |
+
]);
|
60 |
+
|
61 |
+
if ( ! empty($this->integrations_submenu_tabs())) {
|
62 |
+
$tabs[60] = ['id' => 'integrations', 'url' => add_query_arg('view', 'integrations', PPRESS_SETTINGS_SETTING_PAGE), 'label' => esc_html__('Integrations', 'wp-user-avatar')];
|
63 |
}
|
64 |
|
65 |
+
if ( ! ExtensionManager::is_premium()) {
|
66 |
+
$tabs[999] = ['url' => PPRESS_EXTENSIONS_SETTINGS_PAGE, 'label' => esc_html__('Premium Addons', 'wp-user-avatar')];
|
67 |
}
|
68 |
|
69 |
+
ksort($tabs);
|
70 |
+
|
71 |
+
return $tabs;
|
72 |
+
}
|
73 |
+
|
74 |
+
public function integrations_submenu_tabs()
|
75 |
+
{
|
76 |
+
return apply_filters('ppress_integrations_submenu_tabs', []);
|
77 |
+
}
|
78 |
+
|
79 |
+
public function header_submenu_tabs()
|
80 |
+
{
|
81 |
+
$tabs = apply_filters('ppress_settings_page_submenus_tabs', [
|
82 |
+
0 => ['parent' => 'general', 'id' => 'general', 'label' => esc_html__('General', 'wp-user-avatar')],
|
83 |
+
99999 => ['parent' => 'general', 'id' => 'tools', 'label' => esc_html__('Tools', 'wp-user-avatar')],
|
84 |
+
]);
|
85 |
+
|
86 |
+
$tabs = $tabs + $this->integrations_submenu_tabs();
|
87 |
+
|
88 |
+
ksort($tabs);
|
89 |
+
|
90 |
+
return $tabs;
|
91 |
+
}
|
92 |
+
|
93 |
+
public function screen_option()
|
94 |
+
{
|
95 |
+
do_action('ppress_settings_page_screen_option');
|
96 |
+
}
|
97 |
+
|
98 |
+
public function settings_admin_page_callback()
|
99 |
+
{
|
100 |
$custom_page = apply_filters('ppress_general_settings_admin_page_short_circuit', false);
|
101 |
|
102 |
if (false !== $custom_page) return $custom_page;
|
110 |
|
111 |
$login_redirect_page_dropdown_args = [
|
112 |
['key' => 'current_page', 'label' => esc_html__('Currently viewed page', 'wp-user-avatar')],
|
113 |
+
['key' => '', 'label' => esc_html__('Previous/Referrer page (Pro feature)', 'wp-user-avatar'), 'disabled' => true],
|
114 |
['key' => 'dashboard', 'label' => esc_html__('WordPress Dashboard', 'wp-user-avatar')]
|
115 |
];
|
116 |
|
427 |
);
|
428 |
}
|
429 |
|
430 |
+
$this->settingsPageInstance->main_content(apply_filters('ppress_settings_page_args', $args));
|
431 |
+
$this->settingsPageInstance->build_sidebar_tab_style();
|
|
|
|
|
|
|
432 |
}
|
433 |
|
434 |
public function custom_sanitize()
|
src/Admin/SettingsPages/MailOptin.php
CHANGED
@@ -23,7 +23,7 @@ class MailOptin
|
|
23 |
{
|
24 |
if ( ! $this->is_configured()) {
|
25 |
add_action('ppress_admin_hooks', function () {
|
26 |
-
add_action('
|
27 |
});
|
28 |
}
|
29 |
|
23 |
{
|
24 |
if ( ! $this->is_configured()) {
|
25 |
add_action('ppress_admin_hooks', function () {
|
26 |
+
add_action('ppress_register_menu_page', array($this, 'register_settings_page'));
|
27 |
});
|
28 |
}
|
29 |
|
src/Admin/SettingsPages/MemberDirectories.php
CHANGED
@@ -22,7 +22,9 @@ class MemberDirectories extends AbstractSettingsPage
|
|
22 |
|
23 |
public function __construct()
|
24 |
{
|
25 |
-
add_action('
|
|
|
|
|
26 |
|
27 |
add_filter('set-screen-option', array($this, 'set_screen'), 10, 3);
|
28 |
add_filter('set_screen_option_forms_per_page', array($this, 'set_screen'), 10, 3);
|
@@ -53,12 +55,16 @@ class MemberDirectories extends AbstractSettingsPage
|
|
53 |
esc_html__('Member Directories', 'wp-user-avatar'),
|
54 |
'manage_options',
|
55 |
PPRESS_MEMBER_DIRECTORIES_SLUG,
|
56 |
-
array($this, '
|
57 |
);
|
58 |
|
59 |
add_action("load-$hook", array($this, 'screen_option'));
|
60 |
}
|
61 |
|
|
|
|
|
|
|
|
|
62 |
|
63 |
/**
|
64 |
* Save screen option.
|
22 |
|
23 |
public function __construct()
|
24 |
{
|
25 |
+
add_action('ppress_register_menu_page', array($this, 'register_settings_page'));
|
26 |
+
add_action('ppress_admin_settings_page_member-directories', [$this, 'settings_admin_page_callback']);
|
27 |
+
add_action('ppress_admin_settings_page_add-new', [$this, 'settings_admin_page_callback']);
|
28 |
|
29 |
add_filter('set-screen-option', array($this, 'set_screen'), 10, 3);
|
30 |
add_filter('set_screen_option_forms_per_page', array($this, 'set_screen'), 10, 3);
|
55 |
esc_html__('Member Directories', 'wp-user-avatar'),
|
56 |
'manage_options',
|
57 |
PPRESS_MEMBER_DIRECTORIES_SLUG,
|
58 |
+
array($this, 'admin_page_callback')
|
59 |
);
|
60 |
|
61 |
add_action("load-$hook", array($this, 'screen_option'));
|
62 |
}
|
63 |
|
64 |
+
public function default_header_menu()
|
65 |
+
{
|
66 |
+
return 'member-directories';
|
67 |
+
}
|
68 |
|
69 |
/**
|
70 |
* Save screen option.
|
src/Admin/SettingsPages/ToolsSettingsPage.php
CHANGED
@@ -4,18 +4,19 @@ namespace ProfilePress\Core\Admin\SettingsPages;
|
|
4 |
|
5 |
use ProfilePress\Custom_Settings_Page_Api;
|
6 |
|
7 |
-
class ToolsSettingsPage
|
8 |
{
|
9 |
public function __construct()
|
10 |
{
|
11 |
add_action('admin_init', [$this, 'clear_error_log']);
|
12 |
|
13 |
-
|
14 |
-
if (isset($_GET['view']) && $_GET['view'] == 'tools') {
|
15 |
-
$title = esc_html__('Tools', 'wp-user-avatar');
|
16 |
-
}
|
17 |
|
18 |
-
|
|
|
|
|
|
|
|
|
19 |
});
|
20 |
}
|
21 |
|
@@ -26,14 +27,14 @@ class ToolsSettingsPage extends AbstractSettingsPage
|
|
26 |
if ( ! in_array($_GET['ppress-delete-log'], ['social-login', 'debug'])) return;
|
27 |
|
28 |
ppress_clear_error_log($_GET['ppress-delete-log']);
|
29 |
-
wp_safe_redirect(add_query_arg('
|
30 |
exit;
|
31 |
}
|
32 |
|
33 |
public function admin_page()
|
34 |
{
|
35 |
-
$debug_log_content
|
36 |
-
$delete_debug_log_url
|
37 |
|
38 |
$settings = [
|
39 |
'logs' => apply_filters('ppress_error_log_settings', [
|
@@ -58,8 +59,6 @@ class ToolsSettingsPage extends AbstractSettingsPage
|
|
58 |
];
|
59 |
|
60 |
$instance = Custom_Settings_Page_Api::instance($settings, 'ppress_tools', esc_html__('Tools', 'wp-user-avatar'));
|
61 |
-
$this->register_core_settings($instance, true);
|
62 |
-
$instance->tab($this->settings_tab_args());
|
63 |
$instance->build_sidebar_tab_style();
|
64 |
}
|
65 |
|
4 |
|
5 |
use ProfilePress\Custom_Settings_Page_Api;
|
6 |
|
7 |
+
class ToolsSettingsPage
|
8 |
{
|
9 |
public function __construct()
|
10 |
{
|
11 |
add_action('admin_init', [$this, 'clear_error_log']);
|
12 |
|
13 |
+
add_action('ppress_admin_settings_submenu_page_general_tools', [$this, 'admin_page']);
|
|
|
|
|
|
|
14 |
|
15 |
+
add_action('ppress_register_menu_page_general_tools', function () {
|
16 |
+
|
17 |
+
add_filter('ppress_general_settings_admin_page_title', function () {
|
18 |
+
return esc_html__('Tools', 'wp-user-avatar');
|
19 |
+
});
|
20 |
});
|
21 |
}
|
22 |
|
27 |
if ( ! in_array($_GET['ppress-delete-log'], ['social-login', 'debug'])) return;
|
28 |
|
29 |
ppress_clear_error_log($_GET['ppress-delete-log']);
|
30 |
+
wp_safe_redirect(esc_url_raw(add_query_arg('section', 'tools', PPRESS_SETTINGS_SETTING_PAGE)));
|
31 |
exit;
|
32 |
}
|
33 |
|
34 |
public function admin_page()
|
35 |
{
|
36 |
+
$debug_log_content = ppress_get_error_log();
|
37 |
+
$delete_debug_log_url = esc_url_raw(add_query_arg(['ppress-delete-log' => 'debug', '_wpnonce' => ppress_create_nonce()]));
|
38 |
|
39 |
$settings = [
|
40 |
'logs' => apply_filters('ppress_error_log_settings', [
|
59 |
];
|
60 |
|
61 |
$instance = Custom_Settings_Page_Api::instance($settings, 'ppress_tools', esc_html__('Tools', 'wp-user-avatar'));
|
|
|
|
|
62 |
$instance->build_sidebar_tab_style();
|
63 |
}
|
64 |
|
src/Admin/index.php
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
<?php
|
2 |
//
|
1 |
+
<?php
|
2 |
//
|
src/AdminBarDashboardAccess/Init.php
CHANGED
@@ -5,16 +5,17 @@ namespace ProfilePress\Core\AdminBarDashboardAccess;
|
|
5 |
use ProfilePress\Core\Admin\SettingsPages\AbstractSettingsPage;
|
6 |
use ProfilePress\Custom_Settings_Page_Api;
|
7 |
|
8 |
-
class Init
|
9 |
{
|
10 |
public function __construct()
|
11 |
{
|
12 |
add_filter('show_admin_bar', [$this, 'admin_bar_control'], PHP_INT_MAX - 1);
|
13 |
add_action('admin_init', [$this, 'dashboard_access_control'], 1);
|
14 |
|
15 |
-
|
|
|
16 |
|
17 |
-
|
18 |
add_filter('ppress_general_settings_admin_page_title', [$this, 'change_page_title']);
|
19 |
}
|
20 |
|
@@ -26,7 +27,8 @@ class Init extends AbstractSettingsPage
|
|
26 |
public function menu_tab($tabs)
|
27 |
{
|
28 |
$tabs[50] = [
|
29 |
-
'
|
|
|
30 |
'label' => esc_html__('Admin Bar & Dashboard', 'wp-user-avatar')
|
31 |
];
|
32 |
|
@@ -35,44 +37,33 @@ class Init extends AbstractSettingsPage
|
|
35 |
|
36 |
public function change_page_title($title)
|
37 |
{
|
38 |
-
if (isset($_GET['
|
39 |
$title = esc_html__('Admin Bar & Dashboard Access', 'wp-user-avatar');
|
40 |
}
|
41 |
|
42 |
return $title;
|
43 |
}
|
44 |
|
45 |
-
public function settings_page_callback(
|
46 |
{
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
$instance = Custom_Settings_Page_Api::instance();
|
60 |
-
$instance->option_name('ppress_abdc_options');
|
61 |
-
$instance->page_header(esc_html__('Admin Bar & Dashboard Access', 'wp-user-avatar'));
|
62 |
-
$this->register_core_settings($instance);
|
63 |
-
$instance->tab($this->settings_tab_args());
|
64 |
-
$instance->build();
|
65 |
-
|
66 |
-
return true;
|
67 |
-
}
|
68 |
-
|
69 |
-
return $page;
|
70 |
}
|
71 |
|
72 |
|
73 |
public static function save_options()
|
74 |
{
|
75 |
-
if (isset($_POST['settings_submit'])) {
|
76 |
|
77 |
check_admin_referer('ppress_abc_settings_nonce', '_wpnonce');
|
78 |
|
@@ -82,7 +73,7 @@ class Init extends AbstractSettingsPage
|
|
82 |
|
83 |
update_option('ppress_abdc_options', $saved_options);
|
84 |
|
85 |
-
wp_safe_redirect(add_query_arg(['
|
86 |
exit;
|
87 |
}
|
88 |
}
|
5 |
use ProfilePress\Core\Admin\SettingsPages\AbstractSettingsPage;
|
6 |
use ProfilePress\Custom_Settings_Page_Api;
|
7 |
|
8 |
+
class Init
|
9 |
{
|
10 |
public function __construct()
|
11 |
{
|
12 |
add_filter('show_admin_bar', [$this, 'admin_bar_control'], PHP_INT_MAX - 1);
|
13 |
add_action('admin_init', [$this, 'dashboard_access_control'], 1);
|
14 |
|
15 |
+
add_action('admin_init', [$this, 'save_options']);
|
16 |
+
add_filter('ppress_settings_page_submenus_tabs', [$this, 'menu_tab']);
|
17 |
|
18 |
+
add_action('ppress_admin_settings_submenu_page_general_admin-bar-dashboard', [$this, 'settings_page_callback']);
|
19 |
add_filter('ppress_general_settings_admin_page_title', [$this, 'change_page_title']);
|
20 |
}
|
21 |
|
27 |
public function menu_tab($tabs)
|
28 |
{
|
29 |
$tabs[50] = [
|
30 |
+
'parent' => 'general',
|
31 |
+
'id' => 'admin-bar-dashboard',
|
32 |
'label' => esc_html__('Admin Bar & Dashboard', 'wp-user-avatar')
|
33 |
];
|
34 |
|
37 |
|
38 |
public function change_page_title($title)
|
39 |
{
|
40 |
+
if (isset($_GET['section']) && $_GET['section'] == 'admin-bar-dashboard') {
|
41 |
$title = esc_html__('Admin Bar & Dashboard Access', 'wp-user-avatar');
|
42 |
}
|
43 |
|
44 |
return $title;
|
45 |
}
|
46 |
|
47 |
+
public function settings_page_callback()
|
48 |
{
|
49 |
+
add_filter('wp_cspa_main_content_area', function () {
|
50 |
+
ob_start();
|
51 |
+
require dirname(__FILE__) . '/include.settings-page.php';
|
52 |
+
|
53 |
+
return ob_get_clean();
|
54 |
+
});
|
55 |
+
|
56 |
+
$instance = Custom_Settings_Page_Api::instance();
|
57 |
+
$instance->option_name('ppress_abdc_options');
|
58 |
+
$instance->page_header(esc_html__('Admin Bar & Dashboard Access', 'wp-user-avatar'));
|
59 |
+
AbstractSettingsPage::register_core_settings($instance);
|
60 |
+
$instance->build();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
}
|
62 |
|
63 |
|
64 |
public static function save_options()
|
65 |
{
|
66 |
+
if (isset($_GET['section']) && $_GET['section'] == 'admin-bar-dashboard' && isset($_POST['settings_submit'])) {
|
67 |
|
68 |
check_admin_referer('ppress_abc_settings_nonce', '_wpnonce');
|
69 |
|
73 |
|
74 |
update_option('ppress_abdc_options', $saved_options);
|
75 |
|
76 |
+
wp_safe_redirect(esc_url_raw(add_query_arg(['settings-updated' => 'true'])));
|
77 |
exit;
|
78 |
}
|
79 |
}
|
src/Base.php
CHANGED
@@ -55,7 +55,7 @@ define('PPRESS_EXTENSIONS_SETTINGS_SLUG', 'pp-extensions');
|
|
55 |
|
56 |
define('PPRESS_SETTINGS_SETTING_PAGE', admin_url('admin.php?page=' . PPRESS_SETTINGS_SLUG));
|
57 |
define('PPRESS_CUSTOM_FIELDS_SETTINGS_PAGE', add_query_arg(['view' => 'custom-fields'], PPRESS_SETTINGS_SETTING_PAGE));
|
58 |
-
define('PPRESS_CONTACT_INFO_SETTINGS_PAGE', add_query_arg(['
|
59 |
define('PPRESS_SETTINGS_EMAIL_SETTING_PAGE', add_query_arg('view', 'email', PPRESS_SETTINGS_SETTING_PAGE));
|
60 |
define('PPRESS_FORMS_SETTINGS_PAGE', admin_url('admin.php?page=' . PPRESS_FORMS_SETTINGS_SLUG));
|
61 |
define('PPRESS_MEMBER_DIRECTORIES_SETTINGS_PAGE', admin_url('admin.php?page=' . PPRESS_MEMBER_DIRECTORIES_SLUG));
|
@@ -234,6 +234,8 @@ class Base
|
|
234 |
|
235 |
GDPR::get_instance();
|
236 |
|
|
|
|
|
237 |
do_action('ppress_admin_hooks');
|
238 |
}
|
239 |
|
55 |
|
56 |
define('PPRESS_SETTINGS_SETTING_PAGE', admin_url('admin.php?page=' . PPRESS_SETTINGS_SLUG));
|
57 |
define('PPRESS_CUSTOM_FIELDS_SETTINGS_PAGE', add_query_arg(['view' => 'custom-fields'], PPRESS_SETTINGS_SETTING_PAGE));
|
58 |
+
define('PPRESS_CONTACT_INFO_SETTINGS_PAGE', add_query_arg(['section' => 'contact-info'], PPRESS_CUSTOM_FIELDS_SETTINGS_PAGE));
|
59 |
define('PPRESS_SETTINGS_EMAIL_SETTING_PAGE', add_query_arg('view', 'email', PPRESS_SETTINGS_SETTING_PAGE));
|
60 |
define('PPRESS_FORMS_SETTINGS_PAGE', admin_url('admin.php?page=' . PPRESS_FORMS_SETTINGS_SLUG));
|
61 |
define('PPRESS_MEMBER_DIRECTORIES_SETTINGS_PAGE', admin_url('admin.php?page=' . PPRESS_MEMBER_DIRECTORIES_SLUG));
|
234 |
|
235 |
GDPR::get_instance();
|
236 |
|
237 |
+
\PPressBFnote::instance();
|
238 |
+
|
239 |
do_action('ppress_admin_hooks');
|
240 |
}
|
241 |
|
src/Classes/AdminNotices.php
CHANGED
@@ -24,6 +24,22 @@ class AdminNotices
|
|
24 |
add_action('admin_init', array('PAnD', 'init'));
|
25 |
}
|
26 |
add_action('admin_init', array($this, 'act_on_request'));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
}
|
28 |
|
29 |
public function admin_notices_bucket()
|
24 |
add_action('admin_init', array('PAnD', 'init'));
|
25 |
}
|
26 |
add_action('admin_init', array($this, 'act_on_request'));
|
27 |
+
|
28 |
+
add_filter('admin_body_class', [$this, 'add_admin_body_class']);
|
29 |
+
}
|
30 |
+
|
31 |
+
public function add_admin_body_class($classes)
|
32 |
+
{
|
33 |
+
$current_screen = get_current_screen();
|
34 |
+
|
35 |
+
if (empty ($current_screen)) return $classes;
|
36 |
+
|
37 |
+
if (false !== strpos($current_screen->id, 'pp-')) {
|
38 |
+
// Leave space on both sides so other plugins do not conflict.
|
39 |
+
$classes .= ' ppress-admin ';
|
40 |
+
}
|
41 |
+
|
42 |
+
return $classes;
|
43 |
}
|
44 |
|
45 |
public function admin_notices_bucket()
|
src/Classes/GlobalSiteAccess.php
CHANGED
@@ -32,7 +32,7 @@ class GlobalSiteAccess
|
|
32 |
|
33 |
if ('login' != $access) return;
|
34 |
|
35 |
-
$redirect_url = ppress_get_setting('global_site_access_redirect_page');
|
36 |
$custom_redirect_url = ppress_get_setting('global_site_access_custom_redirect_page');
|
37 |
|
38 |
$excluded_pages = ppress_get_setting('global_site_access_exclude_pages', [], true);
|
@@ -49,7 +49,12 @@ class GlobalSiteAccess
|
|
49 |
$allow_homepage = ppress_get_setting('global_site_access_allow_homepage');
|
50 |
|
51 |
if ( ! empty($redirect_url)) {
|
|
|
52 |
$redirect_url = get_permalink(absint($redirect_url));
|
|
|
|
|
|
|
|
|
53 |
}
|
54 |
|
55 |
if ( ! empty($custom_redirect_url)) {
|
32 |
|
33 |
if ('login' != $access) return;
|
34 |
|
35 |
+
$redirect_url = $redirect_url_page_id = ppress_get_setting('global_site_access_redirect_page');
|
36 |
$custom_redirect_url = ppress_get_setting('global_site_access_custom_redirect_page');
|
37 |
|
38 |
$excluded_pages = ppress_get_setting('global_site_access_exclude_pages', [], true);
|
49 |
$allow_homepage = ppress_get_setting('global_site_access_allow_homepage');
|
50 |
|
51 |
if ( ! empty($redirect_url)) {
|
52 |
+
|
53 |
$redirect_url = get_permalink(absint($redirect_url));
|
54 |
+
|
55 |
+
if (ppress_get_setting('set_login_url') == $redirect_url_page_id) {
|
56 |
+
$redirect_url = add_query_arg('redirect_to', ppress_get_current_url_query_string(), $redirect_url);
|
57 |
+
}
|
58 |
}
|
59 |
|
60 |
if ( ! empty($custom_redirect_url)) {
|
src/ContentProtection/SettingsPage.php
CHANGED
@@ -17,9 +17,24 @@ class SettingsPage extends AbstractSettingsPage
|
|
17 |
|
18 |
function __construct()
|
19 |
{
|
20 |
-
add_action('
|
|
|
|
|
21 |
add_filter('set-screen-option', [__CLASS__, 'set_screen'], 10, 3);
|
22 |
add_filter('set_screen_option_rules_per_page', [__CLASS__, 'set_screen'], 10, 3);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
}
|
24 |
|
25 |
public function admin_page_title()
|
@@ -45,11 +60,16 @@ class SettingsPage extends AbstractSettingsPage
|
|
45 |
esc_html__('Content Protection', 'wp-user-avatar'),
|
46 |
'manage_options',
|
47 |
PPRESS_CONTENT_PROTECTION_SETTINGS_SLUG,
|
48 |
-
array($this, '
|
49 |
|
50 |
add_action("load-$hook", array($this, 'add_options'));
|
51 |
}
|
52 |
|
|
|
|
|
|
|
|
|
|
|
53 |
public static function set_screen($status, $option, $value)
|
54 |
{
|
55 |
return $value;
|
@@ -141,13 +161,12 @@ class SettingsPage extends AbstractSettingsPage
|
|
141 |
|
142 |
public function settings_page_function()
|
143 |
{
|
144 |
-
add_action('wp_cspa_main_content_area', array($this, '
|
145 |
add_action('wp_cspa_before_closing_header', [$this, 'add_new_button']);
|
146 |
|
147 |
$instance = Custom_Settings_Page_Api::instance();
|
148 |
$instance->option_name('ppview'); // adds ppview css class to #poststuff
|
149 |
$instance->page_header($this->admin_page_title());
|
150 |
-
$this->register_core_settings($instance, true);
|
151 |
$instance->build(true);
|
152 |
}
|
153 |
|
@@ -159,18 +178,10 @@ class SettingsPage extends AbstractSettingsPage
|
|
159 |
}
|
160 |
}
|
161 |
|
162 |
-
public function
|
163 |
{
|
164 |
$this->myListTable->prepare_items(); // has to be here.
|
165 |
|
166 |
-
if (isset($_GET['add']) && $_GET['add'] == 'new') {
|
167 |
-
$this->save_rule('add');
|
168 |
-
}
|
169 |
-
|
170 |
-
if (isset($_GET['action']) && $_GET['action'] == 'edit') {
|
171 |
-
$this->save_rule('edit');
|
172 |
-
}
|
173 |
-
|
174 |
if (isset($_GET['add']) || isset($_GET['action'])) {
|
175 |
$this->admin_notices();
|
176 |
require_once dirname(__FILE__) . '/views/include.view.php';
|
17 |
|
18 |
function __construct()
|
19 |
{
|
20 |
+
add_action('ppress_register_menu_page', [$this, 'register_cpf_settings_page']);
|
21 |
+
add_action('ppress_admin_settings_page_content-protection', [$this, 'settings_page_function']);
|
22 |
+
|
23 |
add_filter('set-screen-option', [__CLASS__, 'set_screen'], 10, 3);
|
24 |
add_filter('set_screen_option_rules_per_page', [__CLASS__, 'set_screen'], 10, 3);
|
25 |
+
|
26 |
+
add_action('admin_init', function () {
|
27 |
+
if (ppressGET_var('page') == PPRESS_CONTENT_PROTECTION_SETTINGS_SLUG) {
|
28 |
+
|
29 |
+
if (isset($_GET['add']) && $_GET['add'] == 'new') {
|
30 |
+
$this->save_rule('add');
|
31 |
+
}
|
32 |
+
|
33 |
+
if (isset($_GET['action']) && $_GET['action'] == 'edit') {
|
34 |
+
$this->save_rule('edit');
|
35 |
+
}
|
36 |
+
}
|
37 |
+
});
|
38 |
}
|
39 |
|
40 |
public function admin_page_title()
|
60 |
esc_html__('Content Protection', 'wp-user-avatar'),
|
61 |
'manage_options',
|
62 |
PPRESS_CONTENT_PROTECTION_SETTINGS_SLUG,
|
63 |
+
array($this, 'admin_page_callback'));
|
64 |
|
65 |
add_action("load-$hook", array($this, 'add_options'));
|
66 |
}
|
67 |
|
68 |
+
public function default_header_menu()
|
69 |
+
{
|
70 |
+
return 'content-protection';
|
71 |
+
}
|
72 |
+
|
73 |
public static function set_screen($status, $option, $value)
|
74 |
{
|
75 |
return $value;
|
161 |
|
162 |
public function settings_page_function()
|
163 |
{
|
164 |
+
add_action('wp_cspa_main_content_area', array($this, 'admin_settings_page_callback'), 10, 2);
|
165 |
add_action('wp_cspa_before_closing_header', [$this, 'add_new_button']);
|
166 |
|
167 |
$instance = Custom_Settings_Page_Api::instance();
|
168 |
$instance->option_name('ppview'); // adds ppview css class to #poststuff
|
169 |
$instance->page_header($this->admin_page_title());
|
|
|
170 |
$instance->build(true);
|
171 |
}
|
172 |
|
178 |
}
|
179 |
}
|
180 |
|
181 |
+
public function admin_settings_page_callback()
|
182 |
{
|
183 |
$this->myListTable->prepare_items(); // has to be here.
|
184 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
if (isset($_GET['add']) || isset($_GET['action'])) {
|
186 |
$this->admin_notices();
|
187 |
require_once dirname(__FILE__) . '/views/include.view.php';
|
src/Functions/PPressBFnote.php
ADDED
@@ -0,0 +1,158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
use ProfilePress\Core\Classes\ExtensionManager;
|
4 |
+
|
5 |
+
if ( ! class_exists('\PPressBFnote')) {
|
6 |
+
|
7 |
+
class PPressBFnote
|
8 |
+
{
|
9 |
+
public function __construct()
|
10 |
+
{
|
11 |
+
add_action('ppress_admin_notices', array($this, 'admin_notice'));
|
12 |
+
add_action('network_admin_notices', array($this, 'admin_notice'));
|
13 |
+
|
14 |
+
add_action('admin_init', array($this, 'dismiss_admin_notice'));
|
15 |
+
}
|
16 |
+
|
17 |
+
public function dismiss_admin_notice()
|
18 |
+
{
|
19 |
+
if ( ! isset($_GET['ppress-adaction']) || $_GET['ppress-adaction'] != 'ppressbfnote_dismiss_adnotice') {
|
20 |
+
return;
|
21 |
+
}
|
22 |
+
|
23 |
+
$url = admin_url();
|
24 |
+
update_option('ppressbfnote_dismiss_adnotice', 'true');
|
25 |
+
|
26 |
+
wp_redirect($url);
|
27 |
+
exit;
|
28 |
+
}
|
29 |
+
|
30 |
+
public function admin_notice()
|
31 |
+
{
|
32 |
+
global $pagenow;
|
33 |
+
|
34 |
+
if ($pagenow != 'index.php' && strpos(ppress_var($_GET, 'page'), 'pp-') === false) return;
|
35 |
+
|
36 |
+
if (ExtensionManager::is_premium()) return;
|
37 |
+
|
38 |
+
if ( ! current_user_can('administrator')) return;
|
39 |
+
|
40 |
+
$start = strtotime('november 24th, 2021');
|
41 |
+
$end = strtotime('december 1st, 2021');
|
42 |
+
$now = time();
|
43 |
+
|
44 |
+
if ($now < $start || $now > $end) return;
|
45 |
+
|
46 |
+
if (get_option('ppressbfnote_dismiss_adnotice', 'false') == 'true') {
|
47 |
+
return;
|
48 |
+
}
|
49 |
+
|
50 |
+
$dismiss_url = esc_url_raw(
|
51 |
+
add_query_arg(
|
52 |
+
array(
|
53 |
+
'ppress-adaction' => 'ppressbfnote_dismiss_adnotice'
|
54 |
+
),
|
55 |
+
admin_url()
|
56 |
+
)
|
57 |
+
);
|
58 |
+
$this->notice_css();
|
59 |
+
|
60 |
+
$bf_url = 'https://profilepress.net/pricing/?utm_source=wp-admin&utm_medium=admin-notice&utm_id=bf2021'
|
61 |
+
|
62 |
+
?>
|
63 |
+
<div class="ppressbfnote-admin-notice notice notice-success">
|
64 |
+
<div class="ppressbfnote-notice-first-half">
|
65 |
+
<p>
|
66 |
+
<?php
|
67 |
+
printf(
|
68 |
+
__('%1$sHuge Black Friday Sale%2$s: Get 25%% off your ProfilePress plugin upgrade today with the coupon %3$sBFCM2021%4$s', 'peters-login-redirect'),
|
69 |
+
'<span class="ppressbfnote-stylize"><strong>', '</strong></span>', '<code>', '</code>');
|
70 |
+
?>
|
71 |
+
</p>
|
72 |
+
<p style="text-decoration: underline;font-size: 12px;">Hurry as the deal is expiring soon.</p>
|
73 |
+
|
74 |
+
</div>
|
75 |
+
<div class="ppressbfnote-notice-other-half">
|
76 |
+
<a target="_blank" class="button button-primary button-hero" href="<?php echo $bf_url; ?>">
|
77 |
+
<?php _e('Save 25% Now!', 'peters-login-redirect'); ?>
|
78 |
+
</a>
|
79 |
+
<div class="ppressbfnote-notice-learn-more">
|
80 |
+
<a target="_blank" href="<?php echo $bf_url; ?>">Learn more</a>
|
81 |
+
</div>
|
82 |
+
</div>
|
83 |
+
<a href="<?php echo $dismiss_url; ?>">
|
84 |
+
<button type="button" class="notice-dismiss">
|
85 |
+
<span class="screen-reader-text"><?php _e('Dismiss this notice', 'peters-login-redirect'); ?>.</span>
|
86 |
+
</button>
|
87 |
+
</a>
|
88 |
+
</div>
|
89 |
+
<?php
|
90 |
+
}
|
91 |
+
|
92 |
+
public function notice_css()
|
93 |
+
{
|
94 |
+
?>
|
95 |
+
<style type="text/css">
|
96 |
+
.ppressbfnote-admin-notice {
|
97 |
+
background: #fff;
|
98 |
+
color: #000;
|
99 |
+
border-left-color: #46b450;
|
100 |
+
position: relative;
|
101 |
+
}
|
102 |
+
|
103 |
+
.ppressbfnote-admin-notice .notice-dismiss:before {
|
104 |
+
color: #72777c;
|
105 |
+
}
|
106 |
+
|
107 |
+
.ppressbfnote-admin-notice .ppressbfnote-stylize {
|
108 |
+
line-height: 2;
|
109 |
+
}
|
110 |
+
|
111 |
+
.ppressbfnote-admin-notice .button-primary {
|
112 |
+
background: #006799;
|
113 |
+
text-shadow: none;
|
114 |
+
border: 0;
|
115 |
+
box-shadow: none;
|
116 |
+
}
|
117 |
+
|
118 |
+
.ppressbfnote-notice-first-half {
|
119 |
+
width: 66%;
|
120 |
+
display: inline-block;
|
121 |
+
margin: 10px 0 20px;
|
122 |
+
}
|
123 |
+
|
124 |
+
.ppressbfnote-notice-other-half {
|
125 |
+
width: 33%;
|
126 |
+
display: inline-block;
|
127 |
+
padding: 20px 0;
|
128 |
+
position: absolute;
|
129 |
+
text-align: center;
|
130 |
+
}
|
131 |
+
|
132 |
+
.ppressbfnote-notice-first-half p {
|
133 |
+
font-size: 14px;
|
134 |
+
}
|
135 |
+
|
136 |
+
.ppressbfnote-notice-learn-more a {
|
137 |
+
margin: 10px;
|
138 |
+
}
|
139 |
+
|
140 |
+
.ppressbfnote-notice-learn-more {
|
141 |
+
margin-top: 10px;
|
142 |
+
}
|
143 |
+
</style>
|
144 |
+
<?php
|
145 |
+
}
|
146 |
+
|
147 |
+
public static function instance()
|
148 |
+
{
|
149 |
+
static $instance = null;
|
150 |
+
|
151 |
+
if (is_null($instance)) {
|
152 |
+
$instance = new self();
|
153 |
+
}
|
154 |
+
|
155 |
+
return $instance;
|
156 |
+
}
|
157 |
+
}
|
158 |
+
}
|
src/Functions/custom-settings-api.php
CHANGED
@@ -27,7 +27,6 @@
|
|
27 |
namespace ProfilePress;
|
28 |
|
29 |
ob_start();
|
30 |
-
|
31 |
class Custom_Settings_Page_Api
|
32 |
{
|
33 |
/** @var mixed|void database saved data. */
|
@@ -64,6 +63,8 @@ class Custom_Settings_Page_Api
|
|
64 |
$this->option_name = $option_name;
|
65 |
$this->main_content_config = $main_content_config;
|
66 |
$this->page_header = $page_header;
|
|
|
|
|
67 |
}
|
68 |
|
69 |
/**
|
@@ -1228,12 +1229,6 @@ public function _header($args)
|
|
1228 |
*/
|
1229 |
public static function instance($main_content_config = [], $option_name = '', $page_header = '')
|
1230 |
{
|
1231 |
-
|
1232 |
-
|
1233 |
-
if (is_null($instance)) {
|
1234 |
-
$instance = new self($main_content_config, $option_name, $page_header);
|
1235 |
-
}
|
1236 |
-
|
1237 |
-
return $instance;
|
1238 |
}
|
1239 |
}
|
27 |
namespace ProfilePress;
|
28 |
|
29 |
ob_start();
|
|
|
30 |
class Custom_Settings_Page_Api
|
31 |
{
|
32 |
/** @var mixed|void database saved data. */
|
63 |
$this->option_name = $option_name;
|
64 |
$this->main_content_config = $main_content_config;
|
65 |
$this->page_header = $page_header;
|
66 |
+
|
67 |
+
$this->persist_plugin_settings();
|
68 |
}
|
69 |
|
70 |
/**
|
1229 |
*/
|
1230 |
public static function instance($main_content_config = [], $option_name = '', $page_header = '')
|
1231 |
{
|
1232 |
+
return new self($main_content_config, $option_name, $page_header);
|
|
|
|
|
|
|
|
|
|
|
|
|
1233 |
}
|
1234 |
}
|
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 ComposerAutoloaderInit4aff4728cddd50f60d33ab8001f7c961::getLoader();
|
vendor/composer/autoload_files.php
CHANGED
@@ -8,4 +8,5 @@ $baseDir = dirname($vendorDir);
|
|
8 |
return array(
|
9 |
'fda73876e8be17735f680f484cec1679' => $baseDir . '/src/Functions/custom-settings-api.php',
|
10 |
'c665fdac59180654d68b0973da57cb88' => $baseDir . '/src/Functions/GlobalFunctions.php',
|
|
|
11 |
);
|
8 |
return array(
|
9 |
'fda73876e8be17735f680f484cec1679' => $baseDir . '/src/Functions/custom-settings-api.php',
|
10 |
'c665fdac59180654d68b0973da57cb88' => $baseDir . '/src/Functions/GlobalFunctions.php',
|
11 |
+
'50505506d80fdba1b322e2c072279641' => $baseDir . '/src/Functions/PPressBFnote.php',
|
12 |
);
|
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 ComposerAutoloaderInit61f4025cadd89a101fb83ed1a8f0fcd8
|
|
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 ComposerAutoloaderInit61f4025cadd89a101fb83ed1a8f0fcd8
|
|
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 ComposerAutoloaderInit4aff4728cddd50f60d33ab8001f7c961
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
24 |
|
25 |
require __DIR__ . '/platform_check.php';
|
26 |
|
27 |
+
spl_autoload_register(array('ComposerAutoloaderInit4aff4728cddd50f60d33ab8001f7c961', 'loadClassLoader'), true, true);
|
28 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
|
29 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit4aff4728cddd50f60d33ab8001f7c961', '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\ComposerStaticInit4aff4728cddd50f60d33ab8001f7c961::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\ComposerStaticInit4aff4728cddd50f60d33ab8001f7c961::$files;
|
57 |
} else {
|
58 |
$includeFiles = require __DIR__ . '/autoload_files.php';
|
59 |
}
|
60 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
61 |
+
composerRequire4aff4728cddd50f60d33ab8001f7c961($fileIdentifier, $file);
|
62 |
}
|
63 |
|
64 |
return $loader;
|
65 |
}
|
66 |
}
|
67 |
|
68 |
+
function composerRequire4aff4728cddd50f60d33ab8001f7c961($fileIdentifier, $file)
|
69 |
{
|
70 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
71 |
require $file;
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,11 +4,12 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
|
11 |
'c665fdac59180654d68b0973da57cb88' => __DIR__ . '/../..' . '/src/Functions/GlobalFunctions.php',
|
|
|
12 |
);
|
13 |
|
14 |
public static $prefixLengthsPsr4 = array (
|
@@ -286,9 +287,9 @@ class ComposerStaticInit61f4025cadd89a101fb83ed1a8f0fcd8
|
|
286 |
public static function getInitializer(ClassLoader $loader)
|
287 |
{
|
288 |
return \Closure::bind(function () use ($loader) {
|
289 |
-
$loader->prefixLengthsPsr4 =
|
290 |
-
$loader->prefixDirsPsr4 =
|
291 |
-
$loader->classMap =
|
292 |
|
293 |
}, null, ClassLoader::class);
|
294 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit4aff4728cddd50f60d33ab8001f7c961
|
8 |
{
|
9 |
public static $files = array (
|
10 |
'fda73876e8be17735f680f484cec1679' => __DIR__ . '/../..' . '/src/Functions/custom-settings-api.php',
|
11 |
'c665fdac59180654d68b0973da57cb88' => __DIR__ . '/../..' . '/src/Functions/GlobalFunctions.php',
|
12 |
+
'50505506d80fdba1b322e2c072279641' => __DIR__ . '/../..' . '/src/Functions/PPressBFnote.php',
|
13 |
);
|
14 |
|
15 |
public static $prefixLengthsPsr4 = array (
|
287 |
public static function getInitializer(ClassLoader $loader)
|
288 |
{
|
289 |
return \Closure::bind(function () use ($loader) {
|
290 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit4aff4728cddd50f60d33ab8001f7c961::$prefixLengthsPsr4;
|
291 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit4aff4728cddd50f60d33ab8001f7c961::$prefixDirsPsr4;
|
292 |
+
$loader->classMap = ComposerStaticInit4aff4728cddd50f60d33ab8001f7c961::$classMap;
|
293 |
|
294 |
}, null, ClassLoader::class);
|
295 |
}
|
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(
|
5 |
'type' => 'library',
|
6 |
'install_path' => __DIR__ . '/../../',
|
7 |
'aliases' => array(),
|
8 |
+
'reference' => '346f91d16f2cd79a05da281cd9dffe8d5f010982',
|
9 |
'name' => '__root__',
|
10 |
'dev' => false,
|
11 |
),
|
16 |
'type' => 'library',
|
17 |
'install_path' => __DIR__ . '/../../',
|
18 |
'aliases' => array(),
|
19 |
+
'reference' => '346f91d16f2cd79a05da281cd9dffe8d5f010982',
|
20 |
'dev_requirement' => false,
|
21 |
),
|
22 |
'collizo4sky/persist-admin-notices-dismissal' => array(
|
wp-user-avatar.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: ProfilePress
|
4 |
* Plugin URI: https://profilepress.net
|
5 |
* Description: The modern WordPress membership and user profile plugin.
|
6 |
-
* Version: 3.2.
|
7 |
* Author: ProfilePress Team
|
8 |
* Author URI: https://profilepress.net
|
9 |
* Text Domain: wp-user-avatar
|
@@ -14,7 +14,7 @@
|
|
14 |
defined('ABSPATH') or die("No script kiddies please!");
|
15 |
|
16 |
define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
|
17 |
-
define('PPRESS_VERSION_NUMBER', '3.2.
|
18 |
|
19 |
require __DIR__ . '/vendor/autoload.php';
|
20 |
|
3 |
* Plugin Name: ProfilePress
|
4 |
* Plugin URI: https://profilepress.net
|
5 |
* Description: The modern WordPress membership and user profile plugin.
|
6 |
+
* Version: 3.2.2
|
7 |
* Author: ProfilePress Team
|
8 |
* Author URI: https://profilepress.net
|
9 |
* Text Domain: wp-user-avatar
|
14 |
defined('ABSPATH') or die("No script kiddies please!");
|
15 |
|
16 |
define('PROFILEPRESS_SYSTEM_FILE_PATH', __FILE__);
|
17 |
+
define('PPRESS_VERSION_NUMBER', '3.2.2');
|
18 |
|
19 |
require __DIR__ . '/vendor/autoload.php';
|
20 |
|