Version Description
minor UI adjustments
Download this release
Release Info
Developer | petersplugins |
Plugin | 404page – your smart custom 404 error page |
Version | 11.2.5 |
Comparing to | |
See all releases |
Code changes from version 11.2.4 to 11.2.5
- 404page.php +1 -1
- inc/class-404page-admin.php +5 -3
- inc/class-404page-block-editor.php +1 -1
- inc/class-404page-classic-editor.php +1 -1
- inc/class-404page-deprecated.php +1 -1
- inc/class-404page-settings.php +1 -1
- inc/class-404page.php +1 -1
- inc/ppf/assets/css/pp-admin-page.css +55 -14
- inc/ppf/assets/img/addons.svg +1 -0
- inc/ppf/assets/img/addons_current.svg +1 -0
- inc/ppf/assets/img/advanced.svg +1 -0
- inc/ppf/assets/img/advanced_current.svg +1 -0
- inc/ppf/assets/img/general.svg +1 -0
- inc/ppf/assets/img/general_current.svg +1 -0
- inc/ppf/assets/img/info.svg +1 -0
- inc/ppf/assets/img/info_current.svg +1 -0
- inc/ppf/assets/img/videos.svg +1 -0
- inc/ppf/assets/img/videos_current.svg +1 -0
- inc/ppf/loader.php +2 -2
- inc/ppf/ppf-admin.php +15 -14
- inc/ppf/ppf-class.php +4 -4
- inc/ppf/ppf-plugin-addon.php +4 -4
- inc/ppf/ppf-plugin.php +4 -4
- inc/ppf/ppf-settings.php +4 -4
- inc/ppf/ppf-subclass.php +4 -4
- loader.php +1 -1
- readme.txt +7 -1
404page.php
CHANGED
@@ -9,7 +9,7 @@
|
|
9 |
* Plugin Name: 404page - your smart custom 404 error page
|
10 |
* Plugin URI: https://petersplugins.com/404page/
|
11 |
* Description: Custom 404 the easy way! Set any page as custom 404 error page. No coding needed. Works with (almost) every Theme.
|
12 |
-
* Version: 11.2.
|
13 |
* Author: Peter Raschendorfer
|
14 |
* Author URI: https://petersplugins.com
|
15 |
* Text Domain: 404page
|
9 |
* Plugin Name: 404page - your smart custom 404 error page
|
10 |
* Plugin URI: https://petersplugins.com/404page/
|
11 |
* Description: Custom 404 the easy way! Set any page as custom 404 error page. No coding needed. Works with (almost) every Theme.
|
12 |
+
* Version: 11.2.5
|
13 |
* Author: Peter Raschendorfer
|
14 |
* Author URI: https://petersplugins.com
|
15 |
* Text Domain: 404page
|
inc/class-404page-admin.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
15 |
*/
|
16 |
if ( !class_exists( 'PP_404Page_Admin' ) ) {
|
17 |
|
18 |
-
class PP_404Page_Admin extends
|
19 |
|
20 |
|
21 |
/**
|
@@ -78,6 +78,7 @@ if ( !class_exists( 'PP_404Page_Admin' ) ) {
|
|
78 |
'section' => 'general',
|
79 |
'order' => 10,
|
80 |
'title' => esc_html__( 'General', '404page' ),
|
|
|
81 |
'fields' => array(
|
82 |
array(
|
83 |
'key' => 'page_id',
|
@@ -92,6 +93,7 @@ if ( !class_exists( 'PP_404Page_Admin' ) ) {
|
|
92 |
'section' => 'advanced',
|
93 |
'order' => 20,
|
94 |
'title' => esc_html__( 'Advanced', '404page' ),
|
|
|
95 |
'fields' => array(
|
96 |
array(
|
97 |
'key' => 'hide',
|
@@ -127,6 +129,7 @@ if ( !class_exists( 'PP_404Page_Admin' ) ) {
|
|
127 |
'section' => 'videos',
|
128 |
'order' => 100,
|
129 |
'title' => esc_html__( 'Explainer Videos', '404page' ),
|
|
|
130 |
'html' => $this->add_videos(),
|
131 |
'nosubmit' => true
|
132 |
|
@@ -476,8 +479,7 @@ if ( !class_exists( 'PP_404Page_Admin' ) ) {
|
|
476 |
array(
|
477 |
'link' => 'https://wordpress.org/support/plugin/' . $this->core()->get_plugin_slug() . '/reviews/',
|
478 |
'title' => __( 'Please rate Plugin', '404page' ),
|
479 |
-
'icon' => 'dashicons-star-filled'
|
480 |
-
'highlight' => true
|
481 |
),
|
482 |
array(
|
483 |
'link' => 'https://wordpress.org/plugins/' . $this->core()->get_plugin_slug(),
|
15 |
*/
|
16 |
if ( !class_exists( 'PP_404Page_Admin' ) ) {
|
17 |
|
18 |
+
class PP_404Page_Admin extends PPF05_Admin {
|
19 |
|
20 |
|
21 |
/**
|
78 |
'section' => 'general',
|
79 |
'order' => 10,
|
80 |
'title' => esc_html__( 'General', '404page' ),
|
81 |
+
'icon' => 'general',
|
82 |
'fields' => array(
|
83 |
array(
|
84 |
'key' => 'page_id',
|
93 |
'section' => 'advanced',
|
94 |
'order' => 20,
|
95 |
'title' => esc_html__( 'Advanced', '404page' ),
|
96 |
+
'icon' => 'advanced',
|
97 |
'fields' => array(
|
98 |
array(
|
99 |
'key' => 'hide',
|
129 |
'section' => 'videos',
|
130 |
'order' => 100,
|
131 |
'title' => esc_html__( 'Explainer Videos', '404page' ),
|
132 |
+
'icon' => 'videos',
|
133 |
'html' => $this->add_videos(),
|
134 |
'nosubmit' => true
|
135 |
|
479 |
array(
|
480 |
'link' => 'https://wordpress.org/support/plugin/' . $this->core()->get_plugin_slug() . '/reviews/',
|
481 |
'title' => __( 'Please rate Plugin', '404page' ),
|
482 |
+
'icon' => 'dashicons-star-filled'
|
|
|
483 |
),
|
484 |
array(
|
485 |
'link' => 'https://wordpress.org/plugins/' . $this->core()->get_plugin_slug(),
|
inc/class-404page-block-editor.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
15 |
*/
|
16 |
if ( !class_exists( 'PP_404Page_BlockEditor' ) ) {
|
17 |
|
18 |
-
class PP_404Page_BlockEditor extends
|
19 |
|
20 |
/**
|
21 |
* Do Init
|
15 |
*/
|
16 |
if ( !class_exists( 'PP_404Page_BlockEditor' ) ) {
|
17 |
|
18 |
+
class PP_404Page_BlockEditor extends PPF05_SubClass {
|
19 |
|
20 |
/**
|
21 |
* Do Init
|
inc/class-404page-classic-editor.php
CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
15 |
*/
|
16 |
if ( !class_exists( 'PP_404Page_ClassicEditor' ) ) {
|
17 |
|
18 |
-
class PP_404Page_ClassicEditor extends
|
19 |
|
20 |
/**
|
21 |
* Do Init
|
15 |
*/
|
16 |
if ( !class_exists( 'PP_404Page_ClassicEditor' ) ) {
|
17 |
|
18 |
+
class PP_404Page_ClassicEditor extends PPF05_SubClass {
|
19 |
|
20 |
/**
|
21 |
* Do Init
|
inc/class-404page-deprecated.php
CHANGED
@@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
17 |
*/
|
18 |
if ( !class_exists( 'PP_404Page_Deprecated' ) ) {
|
19 |
|
20 |
-
class PP_404Page_Deprecated extends
|
21 |
|
22 |
/**
|
23 |
* Do Init
|
17 |
*/
|
18 |
if ( !class_exists( 'PP_404Page_Deprecated' ) ) {
|
19 |
|
20 |
+
class PP_404Page_Deprecated extends PPF05_SubClass {
|
21 |
|
22 |
/**
|
23 |
* Do Init
|
inc/class-404page-settings.php
CHANGED
@@ -17,7 +17,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
17 |
*/
|
18 |
if ( !class_exists( 'PP_404Page_Settings' ) ) {
|
19 |
|
20 |
-
class PP_404Page_Settings extends
|
21 |
|
22 |
/**
|
23 |
* sanitize settings
|
17 |
*/
|
18 |
if ( !class_exists( 'PP_404Page_Settings' ) ) {
|
19 |
|
20 |
+
class PP_404Page_Settings extends PPF05_Settings {
|
21 |
|
22 |
/**
|
23 |
* sanitize settings
|
inc/class-404page.php
CHANGED
@@ -23,7 +23,7 @@ if ( ! defined( 'PP_404' ) ) {
|
|
23 |
if ( !class_exists( 'PP_404Page' ) ) {
|
24 |
|
25 |
|
26 |
-
class PP_404Page extends
|
27 |
|
28 |
|
29 |
/**
|
23 |
if ( !class_exists( 'PP_404Page' ) ) {
|
24 |
|
25 |
|
26 |
+
class PP_404Page extends PPF05_Plugin {
|
27 |
|
28 |
|
29 |
/**
|
inc/ppf/assets/css/pp-admin-page.css
CHANGED
@@ -131,6 +131,52 @@
|
|
131 |
color: #1a1a1a;
|
132 |
}
|
133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
.pp-admin-page-inner {
|
135 |
padding: 24px;
|
136 |
background-color: #fff;
|
@@ -154,18 +200,14 @@
|
|
154 |
}
|
155 |
|
156 |
.wp-core-ui .pp-admin-page-inner .tab-panel .button-primary {
|
157 |
-
background-color: #
|
158 |
-
border: 1px solid #
|
159 |
box-shadow: none;
|
160 |
text-shadow: none;
|
161 |
font-size: 16px;
|
162 |
line-height: 1;
|
163 |
height: auto;
|
164 |
-
padding:
|
165 |
-
}
|
166 |
-
|
167 |
-
.wp-core-ui .pp-admin-page-inner .tab-panel .button-primary:hover, .wp-core-ui .pp-admin-page-inner .tab-panel .button-primary:focus {
|
168 |
-
border-color: #fe7f0f;
|
169 |
}
|
170 |
|
171 |
.pp-admin-page-wrapper .form-table th, .form-table td {
|
@@ -189,13 +231,17 @@
|
|
189 |
}
|
190 |
|
191 |
.wp-admin .pp-admin-page-wrapper select {
|
192 |
-
border:
|
193 |
-
border-radius:
|
194 |
padding: 6px;
|
195 |
line-height: auto;
|
196 |
height: auto;
|
197 |
}
|
198 |
|
|
|
|
|
|
|
|
|
199 |
.pp-admin-page-wrapper .toggle {
|
200 |
display: flex;
|
201 |
}
|
@@ -255,9 +301,4 @@ body:not(.rtl) .pp-admin-page-wrapper .toggle input[type="checkbox"]:checked + l
|
|
255 |
|
256 |
.form-table.pp-admin-section-fields {
|
257 |
margin-top: 0;
|
258 |
-
}
|
259 |
-
|
260 |
-
.pp-admin-page-wrapper .highlight, .pp-admin-page-inner a, .pp-admin-page-inner a:hover, .pp-admin-page-inner a:focus {
|
261 |
-
color: #fe7f0f;
|
262 |
-
background-color: transparent;
|
263 |
}
|
131 |
color: #1a1a1a;
|
132 |
}
|
133 |
|
134 |
+
.pp-admin-page-header .tab-navigation .tabset.has-icon {
|
135 |
+
padding-left: 60px;
|
136 |
+
background-position: 24px center;
|
137 |
+
background-repeat: no-repeat;
|
138 |
+
}
|
139 |
+
|
140 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-general {
|
141 |
+
background-image: url( ../img/general.svg );
|
142 |
+
}
|
143 |
+
|
144 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-general.current {
|
145 |
+
background-image: url( ../img/general_current.svg );
|
146 |
+
}
|
147 |
+
|
148 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-videos {
|
149 |
+
background-image: url( ../img/videos.svg );
|
150 |
+
}
|
151 |
+
|
152 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-videos.current {
|
153 |
+
background-image: url( ../img/videos_current.svg );
|
154 |
+
}
|
155 |
+
|
156 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-advanced {
|
157 |
+
background-image: url( ../img/advanced.svg );
|
158 |
+
}
|
159 |
+
|
160 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-advanced.current {
|
161 |
+
background-image: url( ../img/advanced_current.svg );
|
162 |
+
}
|
163 |
+
|
164 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-addons {
|
165 |
+
background-image: url( ../img/addons.svg );
|
166 |
+
}
|
167 |
+
|
168 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-addons.current {
|
169 |
+
background-image: url( ../img/addons_current.svg );
|
170 |
+
}
|
171 |
+
|
172 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-info {
|
173 |
+
background-image: url( ../img/info.svg );
|
174 |
+
}
|
175 |
+
|
176 |
+
.pp-admin-page-header .tab-navigation .tabset.icon-info.current {
|
177 |
+
background-image: url( ../img/info_current.svg );
|
178 |
+
}
|
179 |
+
|
180 |
.pp-admin-page-inner {
|
181 |
padding: 24px;
|
182 |
background-color: #fff;
|
200 |
}
|
201 |
|
202 |
.wp-core-ui .pp-admin-page-inner .tab-panel .button-primary {
|
203 |
+
background-color: #0073aa;
|
204 |
+
border: 1px solid #0073aa;
|
205 |
box-shadow: none;
|
206 |
text-shadow: none;
|
207 |
font-size: 16px;
|
208 |
line-height: 1;
|
209 |
height: auto;
|
210 |
+
padding: 12px 24px;
|
|
|
|
|
|
|
|
|
211 |
}
|
212 |
|
213 |
.pp-admin-page-wrapper .form-table th, .form-table td {
|
231 |
}
|
232 |
|
233 |
.wp-admin .pp-admin-page-wrapper select {
|
234 |
+
border: 3px solid #1a1a1a;
|
235 |
+
border-radius: 6px;
|
236 |
padding: 6px;
|
237 |
line-height: auto;
|
238 |
height: auto;
|
239 |
}
|
240 |
|
241 |
+
.pp-admin-page-wrapper a {
|
242 |
+
color: #0073aa;
|
243 |
+
}
|
244 |
+
|
245 |
.pp-admin-page-wrapper .toggle {
|
246 |
display: flex;
|
247 |
}
|
301 |
|
302 |
.form-table.pp-admin-section-fields {
|
303 |
margin-top: 0;
|
|
|
|
|
|
|
|
|
|
|
304 |
}
|
inc/ppf/assets/img/addons.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zm-7-2h2v-3h3V9h-3V6h-2v3h-3v2h3z"/></svg>
|
inc/ppf/assets/img/addons_current.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zm-7-2h2v-3h3V9h-3V6h-2v3h-3v2h3z"/></svg>
|
inc/ppf/assets/img/advanced.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22.61 18.99l-9.08-9.08c.93-2.34.45-5.1-1.44-7C9.79.61 6.21.4 3.66 2.26L7.5 6.11 6.08 7.52 2.25 3.69C.39 6.23.6 9.82 2.9 12.11c1.86 1.86 4.57 2.35 6.89 1.48l9.11 9.11c.39.39 1.02.39 1.41 0l2.3-2.3c.4-.38.4-1.01 0-1.41zm-3 1.6l-9.46-9.46c-.61.45-1.29.72-2 .82-1.36.2-2.79-.21-3.83-1.25C3.37 9.76 2.93 8.5 3 7.26l3.09 3.09 4.24-4.24-3.09-3.09c1.24-.07 2.49.37 3.44 1.31 1.08 1.08 1.49 2.57 1.24 3.96-.12.71-.42 1.37-.88 1.96l9.45 9.45-.88.89z"/></svg>
|
inc/ppf/assets/img/advanced_current.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22.61 18.99l-9.08-9.08c.93-2.34.45-5.1-1.44-7C9.79.61 6.21.4 3.66 2.26L7.5 6.11 6.08 7.52 2.25 3.69C.39 6.23.6 9.82 2.9 12.11c1.86 1.86 4.57 2.35 6.89 1.48l9.11 9.11c.39.39 1.02.39 1.41 0l2.3-2.3c.4-.38.4-1.01 0-1.41zm-3 1.6l-9.46-9.46c-.61.45-1.29.72-2 .82-1.36.2-2.79-.21-3.83-1.25C3.37 9.76 2.93 8.5 3 7.26l3.09 3.09 4.24-4.24-3.09-3.09c1.24-.07 2.49.37 3.44 1.31 1.08 1.08 1.49 2.57 1.24 3.96-.12.71-.42 1.37-.88 1.96l9.45 9.45-.88.89z"/></svg>
|
inc/ppf/assets/img/general.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>
|
inc/ppf/assets/img/general_current.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19.43 12.98c.04-.32.07-.64.07-.98 0-.34-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.09-.16-.26-.25-.44-.25-.06 0-.12.01-.17.03l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65C14.46 2.18 14.25 2 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.06-.02-.12-.03-.18-.03-.17 0-.34.09-.43.25l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98 0 .33.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.09.16.26.25.44.25.06 0 .12-.01.17-.03l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.06.02.12.03.18.03.17 0 .34-.09.43-.25l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zm-1.98-1.71c.04.31.05.52.05.73 0 .21-.02.43-.05.73l-.14 1.13.89.7 1.08.84-.7 1.21-1.27-.51-1.04-.42-.9.68c-.43.32-.84.56-1.25.73l-1.06.43-.16 1.13-.2 1.35h-1.4l-.19-1.35-.16-1.13-1.06-.43c-.43-.18-.83-.41-1.23-.71l-.91-.7-1.06.43-1.27.51-.7-1.21 1.08-.84.89-.7-.14-1.13c-.03-.31-.05-.54-.05-.74s.02-.43.05-.73l.14-1.13-.89-.7-1.08-.84.7-1.21 1.27.51 1.04.42.9-.68c.43-.32.84-.56 1.25-.73l1.06-.43.16-1.13.2-1.35h1.39l.19 1.35.16 1.13 1.06.43c.43.18.83.41 1.23.71l.91.7 1.06-.43 1.27-.51.7 1.21-1.07.85-.89.7.14 1.13zM12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z"/></svg>
|
inc/ppf/assets/img/info.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
|
inc/ppf/assets/img/info_current.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M11 7h2v2h-2zm0 4h2v6h-2zm1-9C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z"/></svg>
|
inc/ppf/assets/img/videos.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zM12 5.5v9l6-4.5z"/></svg>
|
inc/ppf/assets/img/videos_current.svg
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black" width="24px" height="24px"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M4 6H2v14c0 1.1.9 2 2 2h14v-2H4V6zm16-4H8c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H8V4h12v12zM12 5.5v9l6-4.5z"/></svg>
|
inc/ppf/loader.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
/**
|
4 |
* Plugin Foundation Loader
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
3 |
/**
|
4 |
* Plugin Foundation Loader
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
inc/ppf/ppf-admin.php
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
/**
|
4 |
* Admin Class
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
-
if ( !class_exists( '
|
14 |
|
15 |
|
16 |
-
abstract class
|
17 |
|
18 |
|
19 |
/**
|
@@ -148,6 +148,8 @@ if ( !class_exists( 'PPF04_Admin' ) ) {
|
|
148 |
* int $order => sort order
|
149 |
* this was added in PPF04, so we check if it exists for backwards compatibility
|
150 |
* string $title => title for section (used by print_setting_sections())
|
|
|
|
|
151 |
* string $html => HTML code to add to this section
|
152 |
* array $fields => multidimensional array of fields to add
|
153 |
* string $key => key of the option array
|
@@ -320,7 +322,14 @@ if ( !class_exists( 'PPF04_Admin' ) ) {
|
|
320 |
|
321 |
$section_id = $this->core()->get_plugin_slug() . '-' . $section['section'];
|
322 |
|
323 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
324 |
|
325 |
$currentclass = '';
|
326 |
|
@@ -414,16 +423,8 @@ if ( !class_exists( 'PPF04_Admin' ) ) {
|
|
414 |
$this->_toolbar = '<nav>';
|
415 |
|
416 |
foreach ( $icons as $icon ) {
|
417 |
-
|
418 |
-
$extraclass = '';
|
419 |
-
|
420 |
-
if ( isset( $icon['highlight'] ) && true === $icon['highlight'] ) {
|
421 |
-
|
422 |
-
$extraclass = ' highlight';
|
423 |
-
|
424 |
-
}
|
425 |
|
426 |
-
$this->_toolbar .= '<a href="' . esc_url( $icon['link'] ) . '" title="' . $icon['title'] . '"><span class="dashicons ' . $icon['icon'] .
|
427 |
|
428 |
}
|
429 |
|
3 |
/**
|
4 |
* Admin Class
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
+
if ( !class_exists( 'PPF05_Admin' ) ) {
|
14 |
|
15 |
|
16 |
+
abstract class PPF05_Admin extends PPF05_SubClass {
|
17 |
|
18 |
|
19 |
/**
|
148 |
* int $order => sort order
|
149 |
* this was added in PPF04, so we check if it exists for backwards compatibility
|
150 |
* string $title => title for section (used by print_setting_sections())
|
151 |
+
* string $icon => icon for tab
|
152 |
+
* since PPF05
|
153 |
* string $html => HTML code to add to this section
|
154 |
* array $fields => multidimensional array of fields to add
|
155 |
* string $key => key of the option array
|
322 |
|
323 |
$section_id = $this->core()->get_plugin_slug() . '-' . $section['section'];
|
324 |
|
325 |
+
$iconclass = '';
|
326 |
+
|
327 |
+
if ( isset( $section['icon'] ) ) {
|
328 |
+
|
329 |
+
$iconclass = ' has-icon icon-' . $section['icon'];
|
330 |
+
}
|
331 |
+
|
332 |
+
echo '<li><div class="tabset' . $currentclass . $iconclass . '" id="tab-' . $section_id . '" data-tab-content="content-' . $section_id . '">' . $section['title'] . '</div>';
|
333 |
|
334 |
$currentclass = '';
|
335 |
|
423 |
$this->_toolbar = '<nav>';
|
424 |
|
425 |
foreach ( $icons as $icon ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
|
427 |
+
$this->_toolbar .= '<a href="' . esc_url( $icon['link'] ) . '" title="' . $icon['title'] . '"><span class="dashicons ' . $icon['icon'] . '"></span><span class="text">' . $icon['title'] . '</span></a>';
|
428 |
|
429 |
}
|
430 |
|
inc/ppf/ppf-class.php
CHANGED
@@ -3,9 +3,9 @@
|
|
3 |
/**
|
4 |
* Base Class
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
@@ -19,10 +19,10 @@
|
|
19 |
}
|
20 |
|
21 |
|
22 |
-
if ( !class_exists( '
|
23 |
|
24 |
|
25 |
-
abstract class
|
26 |
|
27 |
|
28 |
/**
|
3 |
/**
|
4 |
* Base Class
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
19 |
}
|
20 |
|
21 |
|
22 |
+
if ( !class_exists( 'PPF05_Class' ) ) {
|
23 |
|
24 |
|
25 |
+
abstract class PPF05_Class {
|
26 |
|
27 |
|
28 |
/**
|
inc/ppf/ppf-plugin-addon.php
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
/**
|
4 |
* Plugin Addon Base Class
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
|
14 |
-
if ( !class_exists( '
|
15 |
|
16 |
-
abstract class
|
17 |
|
18 |
/**
|
19 |
* Base Plugin Name
|
3 |
/**
|
4 |
* Plugin Addon Base Class
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
|
14 |
+
if ( !class_exists( 'PPF05_Plugin_Addon' ) ) {
|
15 |
|
16 |
+
abstract class PPF05_Plugin_Addon extends PPF05_Plugin {
|
17 |
|
18 |
/**
|
19 |
* Base Plugin Name
|
inc/ppf/ppf-plugin.php
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
/**
|
4 |
* Plugin Base Class
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
|
14 |
-
if ( !class_exists( '
|
15 |
|
16 |
-
abstract class
|
17 |
|
18 |
/**
|
19 |
* Instances
|
3 |
/**
|
4 |
* Plugin Base Class
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
|
14 |
+
if ( !class_exists( 'PPF05_Plugin' ) ) {
|
15 |
|
16 |
+
abstract class PPF05_Plugin extends PPF05_Class {
|
17 |
|
18 |
/**
|
19 |
* Instances
|
inc/ppf/ppf-settings.php
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
/**
|
4 |
* Settings Class
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
-
if ( !class_exists( '
|
14 |
|
15 |
|
16 |
-
abstract class
|
17 |
|
18 |
/**
|
19 |
* name of settings in databse (meta_key)
|
3 |
/**
|
4 |
* Settings Class
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
+
if ( !class_exists( 'PPF05_Settings' ) ) {
|
14 |
|
15 |
|
16 |
+
abstract class PPF05_Settings extends PPF05_SubClass {
|
17 |
|
18 |
/**
|
19 |
* name of settings in databse (meta_key)
|
inc/ppf/ppf-subclass.php
CHANGED
@@ -3,17 +3,17 @@
|
|
3 |
/**
|
4 |
* Plugin Base Sub-Class
|
5 |
*
|
6 |
-
* Peter's Plugins Foundation
|
7 |
*
|
8 |
-
* @package
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
-
if ( !class_exists( '
|
14 |
|
15 |
|
16 |
-
abstract class
|
17 |
|
18 |
/**
|
19 |
* reference to core class
|
3 |
/**
|
4 |
* Plugin Base Sub-Class
|
5 |
*
|
6 |
+
* Peter's Plugins Foundation 05
|
7 |
*
|
8 |
+
* @package PPF05
|
9 |
* @author Peter Raschendorfer
|
10 |
* @license GPL2+
|
11 |
*/
|
12 |
|
13 |
+
if ( !class_exists( 'PPF05_SubClass' ) ) {
|
14 |
|
15 |
|
16 |
+
abstract class PPF05_SubClass extends PPF05_Class {
|
17 |
|
18 |
/**
|
19 |
* reference to core class
|
loader.php
CHANGED
@@ -42,7 +42,7 @@ function pp_404page() {
|
|
42 |
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
|
43 |
'name' => '404page - your smart custom 404 error page',
|
44 |
'shortname' => '404page',
|
45 |
-
'version' => '11.2.
|
46 |
) );
|
47 |
|
48 |
}
|
42 |
'slug' => pathinfo( dirname( __FILE__ ) . '/404page.php', PATHINFO_FILENAME ),
|
43 |
'name' => '404page - your smart custom 404 error page',
|
44 |
'shortname' => '404page',
|
45 |
+
'version' => '11.2.5'
|
46 |
) );
|
47 |
|
48 |
}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: petersplugins
|
|
3 |
Tags: page, 404, error, error page, 404 page, page not found, page not found error, 404 error page, missing, broken link, template, 404 link, seo, custom 404, custom 404 page, custom 404 error, custom 404 error page, customize 404, customize 404 page, customize 404 error page, classicpress
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.5
|
6 |
-
Stable tag: 11.2.
|
7 |
Requires PHP: 5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -171,6 +171,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
171 |
|
172 |
== Changelog ==
|
173 |
|
|
|
|
|
|
|
174 |
= 11.2.4 (2020-08-16) =
|
175 |
* bug fix for Flamingo ([see topic](https://wordpress.org/support/topic/error-page-trashed/)) plus potentially other plugins (thanks to [garfiedo](https://wordpress.org/support/users/garfiedo/) for supporting me to find the reason)
|
176 |
|
@@ -354,6 +357,9 @@ Please use the [Support Forum](https://wordpress.org/support/plugin/404page).
|
|
354 |
|
355 |
== Upgrade Notice ==
|
356 |
|
|
|
|
|
|
|
357 |
= 11.2.4 =
|
358 |
bug fix for Flamingo
|
359 |
|
3 |
Tags: page, 404, error, error page, 404 page, page not found, page not found error, 404 error page, missing, broken link, template, 404 link, seo, custom 404, custom 404 page, custom 404 error, custom 404 error page, customize 404, customize 404 page, customize 404 error page, classicpress
|
4 |
Requires at least: 4.0
|
5 |
Tested up to: 5.5
|
6 |
+
Stable tag: 11.2.5
|
7 |
Requires PHP: 5.4
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
171 |
|
172 |
== Changelog ==
|
173 |
|
174 |
+
= 11.2.5 (2020-08-22) =
|
175 |
+
* minor UI adjustments
|
176 |
+
|
177 |
= 11.2.4 (2020-08-16) =
|
178 |
* bug fix for Flamingo ([see topic](https://wordpress.org/support/topic/error-page-trashed/)) plus potentially other plugins (thanks to [garfiedo](https://wordpress.org/support/users/garfiedo/) for supporting me to find the reason)
|
179 |
|
357 |
|
358 |
== Upgrade Notice ==
|
359 |
|
360 |
+
= 11.2.5 =
|
361 |
+
minor UI adjustments
|
362 |
+
|
363 |
= 11.2.4 =
|
364 |
bug fix for Flamingo
|
365 |
|