SEOPress - Version 2.8.1

Version Description

  • FIX Fatal error, hook too early
Download this release

Release Info

Developer rainbowgeek
Plugin Icon 128x128 SEOPress
Version 2.8.1
Comparing to
See all releases

Code changes from version 2.8 to 2.8.1

inc/admin/admin-header.php CHANGED
@@ -127,6 +127,12 @@ function seopress_admin_header() { ?>
127
<?php _e( 'Backlinks', 'wp-seopress' ); ?>
128
</a>
129
</li>
130
<?php if (!is_multisite()) { ?>
131
<li>
132
<a href="<?php echo admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_htaccess$7' ); ?>">
127
<?php _e( 'Backlinks', 'wp-seopress' ); ?>
128
</a>
129
</li>
130
+ <li>
131
+ <a href="<?php echo admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_rewrite$14' ); ?>">
132
+ <span class="dashicons dashicons-admin-links"></span>
133
+ <?php _e( 'URL Rewriting', 'wp-seopress' ); ?>
134
+ </a>
135
+ </li>
136
<?php if (!is_multisite()) { ?>
137
<li>
138
<a href="<?php echo admin_url( 'admin.php?page=seopress-pro-page#tab=tab_seopress_htaccess$7' ); ?>">
inc/admin/admin.php CHANGED
@@ -14,7 +14,7 @@ class seopress_options
14
*/
15
public function __construct() {
16
add_action( 'admin_menu', array( $this, 'add_plugin_page' ), 10 );
17
- //add_action( 'admin_init', array( $this, 'set_default_values' ), 10 );
18
add_action( 'admin_init', array( $this, 'page_init' ) );
19
}
20
14
*/
15
public function __construct() {
16
add_action( 'admin_menu', array( $this, 'add_plugin_page' ), 10 );
17
+ add_action( 'admin_init', array( $this, 'set_default_values' ), 10 );
18
add_action( 'admin_init', array( $this, 'page_init' ) );
19
}
20
inc/functions/options.php CHANGED
@@ -266,7 +266,7 @@ if (seopress_get_toggle_advanced_option() =='1') {
266
require_once ( dirname( __FILE__ ) . '/options-advanced.php'); //Advanced
267
}
268
}
269
- add_action('init', 'seopress_load_advanced_admin_options', 0);
270
function seopress_load_advanced_admin_options() {
271
if (is_admin()){
272
require_once ( dirname( __FILE__ ) . '/options-advanced-admin.php'); //Advanced (admin)
266
require_once ( dirname( __FILE__ ) . '/options-advanced.php'); //Advanced
267
}
268
}
269
+ add_action('admin_init', 'seopress_load_advanced_admin_options', 0);
270
function seopress_load_advanced_admin_options() {
271
if (is_admin()){
272
require_once ( dirname( __FILE__ ) . '/options-advanced-admin.php'); //Advanced (admin)
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: seo, search engine optimization, meta title, open graph, content analysis,
6
Requires at least: 4.4+
7
Tested up to: 4.9
8
Requires PHP: 5.4
9
- Stable tag: 2.8
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
@@ -155,6 +155,8 @@ Subscribe on <a href="https://www.seopress.org/" target="_blank">seopress.org</a
155
44. Structured Data Types metaboxe in post, page, custom post type (PRO)
156
157
== Changelog ==
158
= 2.8 =
159
* NEW GDPR for Google Analytics: request user's consent for analytics tracking
160
* NEW Search results URL rewriting, eg: https://example.com/search/my-keyword (PRO only)
6
Requires at least: 4.4+
7
Tested up to: 4.9
8
Requires PHP: 5.4
9
+ Stable tag: 2.8.1
10
License: GPLv2 or later
11
License URI: http://www.gnu.org/licenses/gpl-2.0.html
12
155
44. Structured Data Types metaboxe in post, page, custom post type (PRO)
156
157
== Changelog ==
158
+ = 2.8.1 =
159
+ * FIX Fatal error, hook too early
160
= 2.8 =
161
* NEW GDPR for Google Analytics: request user's consent for analytics tracking
162
* NEW Search results URL rewriting, eg: https://example.com/search/my-keyword (PRO only)
seopress.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: SEOPress
4
Plugin URI: https://www.seopress.org/
5
Description: The best SEO plugin.
6
- Version: 2.8
7
Author: Benjamin DENIS
8
Author URI: https://www.seopress.org/
9
License: GPLv2
@@ -55,7 +55,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
55
//Define
56
///////////////////////////////////////////////////////////////////////////////////////////////////
57
58
- define( 'SEOPRESS_VERSION', '2.8' );
59
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
60
61
///////////////////////////////////////////////////////////////////////////////////////////////////
3
Plugin Name: SEOPress
4
Plugin URI: https://www.seopress.org/
5
Description: The best SEO plugin.
6
+ Version: 2.8.1
7
Author: Benjamin DENIS
8
Author URI: https://www.seopress.org/
9
License: GPLv2
55
//Define
56
///////////////////////////////////////////////////////////////////////////////////////////////////
57
58
+ define( 'SEOPRESS_VERSION', '2.8.1' );
59
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
60
61
///////////////////////////////////////////////////////////////////////////////////////////////////