Version Description
- FIX Fatal error: Can't use function return value in write context
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 3.3.15 |
Comparing to | |
See all releases |
Code changes from version 3.3.14 to 3.3.15
- readme.txt +3 -1
- seopress.php +7 -7
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, XML sitemap, meta title, open graph, content analysis, knowledge grap
|
|
6 |
Requires at least: 4.4+
|
7 |
Tested up to: 5.1
|
8 |
Requires PHP: 5.4
|
9 |
-
Stable tag: 3.3.
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -162,6 +162,8 @@ Subscribe on <a href="https://www.seopress.org/" target="_blank">seopress.org</a
|
|
162 |
44. Structured Data Types metaboxe in post, page, custom post type (PRO)
|
163 |
|
164 |
== Changelog ==
|
|
|
|
|
165 |
= 3.3.14 =
|
166 |
* NEW Paginated XML Sitemaps (NGINX USERS READ THIS PLEASE: you must update your nginx configuration file. More info here: https://www.seopress.org/support/guides/xml-sitemap-returns-404-error/)
|
167 |
* NEW Add categories for redirects (PRO)
|
6 |
Requires at least: 4.4+
|
7 |
Tested up to: 5.1
|
8 |
Requires PHP: 5.4
|
9 |
+
Stable tag: 3.3.15
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
162 |
44. Structured Data Types metaboxe in post, page, custom post type (PRO)
|
163 |
|
164 |
== Changelog ==
|
165 |
+
= 3.3.15 =
|
166 |
+
* FIX Fatal error: Can't use function return value in write context
|
167 |
= 3.3.14 =
|
168 |
* NEW Paginated XML Sitemaps (NGINX USERS READ THIS PLEASE: you must update your nginx configuration file. More info here: https://www.seopress.org/support/guides/xml-sitemap-returns-404-error/)
|
169 |
* NEW Add categories for redirects (PRO)
|
seopress.php
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
/*
|
3 |
Plugin Name: SEOPress
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
-
Description:
|
6 |
-
Version: 3.3.
|
7 |
Author: Benjamin Denis
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
@@ -53,7 +53,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
|
|
53 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
54 |
//Define
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
-
define( 'SEOPRESS_VERSION', '3.3.
|
57 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
58 |
|
59 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
@@ -512,7 +512,7 @@ if (seopress_xml_sitemap_general_enable_option() =='1' && seopress_get_toggle_xm
|
|
512 |
$urls = array();
|
513 |
|
514 |
/*CPT*/
|
515 |
-
if (
|
516 |
foreach (seopress_xml_sitemap_post_types_list_option() as $cpt_key => $cpt_value) {
|
517 |
foreach ($cpt_value as $_cpt_key => $_cpt_value) {
|
518 |
if($_cpt_value =='1') {
|
@@ -523,7 +523,7 @@ if (seopress_xml_sitemap_general_enable_option() =='1' && seopress_get_toggle_xm
|
|
523 |
}
|
524 |
|
525 |
/*Taxonomies*/
|
526 |
-
if (
|
527 |
foreach (seopress_xml_sitemap_taxonomies_list_option() as $tax_key => $tax_value) {
|
528 |
foreach ($tax_value as $_tax_key => $_tax_value) {
|
529 |
if($_tax_value =='1') {
|
@@ -569,7 +569,7 @@ if (seopress_xml_sitemap_general_enable_option() =='1' && seopress_get_toggle_xm
|
|
569 |
|
570 |
if (get_query_var( 'seopress_cpt') !== '' ) {
|
571 |
if (function_exists('seopress_xml_sitemap_post_types_list_option')
|
572 |
-
&&
|
573 |
&& array_key_exists(get_query_var('seopress_cpt'),seopress_xml_sitemap_post_types_list_option())) {
|
574 |
$seopress_cpt = plugin_dir_path( __FILE__ ) . 'inc/functions/sitemap/template-xml-sitemaps-single.php';
|
575 |
if( file_exists( $seopress_cpt ) ) {
|
@@ -577,7 +577,7 @@ if (seopress_xml_sitemap_general_enable_option() =='1' && seopress_get_toggle_xm
|
|
577 |
exit;
|
578 |
}
|
579 |
} elseif (function_exists('seopress_xml_sitemap_taxonomies_list_option')
|
580 |
-
&&
|
581 |
&& array_key_exists(get_query_var('seopress_cpt'),seopress_xml_sitemap_taxonomies_list_option())) {
|
582 |
$seopress_tax = plugin_dir_path( __FILE__ ) . 'inc/functions/sitemap/template-xml-sitemaps-single-term.php';
|
583 |
if( file_exists( $seopress_tax ) ) {
|
2 |
/*
|
3 |
Plugin Name: SEOPress
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
+
Description: One of the best SEO Plugin for WordPress.
|
6 |
+
Version: 3.3.15
|
7 |
Author: Benjamin Denis
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
53 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
54 |
//Define
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
+
define( 'SEOPRESS_VERSION', '3.3.15' );
|
57 |
define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
|
58 |
|
59 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
512 |
$urls = array();
|
513 |
|
514 |
/*CPT*/
|
515 |
+
if (seopress_xml_sitemap_post_types_list_option() !='') {
|
516 |
foreach (seopress_xml_sitemap_post_types_list_option() as $cpt_key => $cpt_value) {
|
517 |
foreach ($cpt_value as $_cpt_key => $_cpt_value) {
|
518 |
if($_cpt_value =='1') {
|
523 |
}
|
524 |
|
525 |
/*Taxonomies*/
|
526 |
+
if (seopress_xml_sitemap_taxonomies_list_option() !='') {
|
527 |
foreach (seopress_xml_sitemap_taxonomies_list_option() as $tax_key => $tax_value) {
|
528 |
foreach ($tax_value as $_tax_key => $_tax_value) {
|
529 |
if($_tax_value =='1') {
|
569 |
|
570 |
if (get_query_var( 'seopress_cpt') !== '' ) {
|
571 |
if (function_exists('seopress_xml_sitemap_post_types_list_option')
|
572 |
+
&& seopress_xml_sitemap_post_types_list_option() !=''
|
573 |
&& array_key_exists(get_query_var('seopress_cpt'),seopress_xml_sitemap_post_types_list_option())) {
|
574 |
$seopress_cpt = plugin_dir_path( __FILE__ ) . 'inc/functions/sitemap/template-xml-sitemaps-single.php';
|
575 |
if( file_exists( $seopress_cpt ) ) {
|
577 |
exit;
|
578 |
}
|
579 |
} elseif (function_exists('seopress_xml_sitemap_taxonomies_list_option')
|
580 |
+
&& seopress_xml_sitemap_taxonomies_list_option() !=''
|
581 |
&& array_key_exists(get_query_var('seopress_cpt'),seopress_xml_sitemap_taxonomies_list_option())) {
|
582 |
$seopress_tax = plugin_dir_path( __FILE__ ) . 'inc/functions/sitemap/template-xml-sitemaps-single-term.php';
|
583 |
if( file_exists( $seopress_tax ) ) {
|