Version Description
- PHP Fatal error: Uncaught Error: Call to undefined function SEOPress\Tags\Schema\seopress_social_knowledge_phone_number_option()
Download this release
Release Info
Developer | rainbowgeek |
Plugin | SEOPress |
Version | 4.5.0.1 |
Comparing to | |
See all releases |
Code changes from version 4.5 to 4.5.0.1
- readme.txt +4 -2
- seopress.php +2 -2
- src/Services/Options/SocialOption.php +29 -1
- src/Tags/Schema/SocialKnowledgeContactOption.php +3 -2
- src/Tags/Schema/SocialKnowledgeContactType.php +3 -2
- src/Tags/Schema/SocialPhoneNumber.php +3 -2
- vendor/composer/InstalledVersions.php +2 -2
- vendor/composer/installed.php +2 -2
readme.txt
CHANGED
@@ -6,7 +6,7 @@ Tags: SEO, XML sitemap, meta title, open graph, content analysis, knowledge grap
|
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6
|
9 |
-
Stable tag: 4.5.0
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
@@ -323,7 +323,9 @@ You're theme is probably using a deprecated function to handle the title. <a hre
|
|
323 |
8. Installation Wizard
|
324 |
9. Schemas metabox
|
325 |
|
326 |
-
== Changelog ==
|
|
|
|
|
327 |
= 4.5 (25/03/2021) https://www.seopress.org/blog/seopress-4-5/ =
|
328 |
* NEW HTML sitemap enhancements: add HTML classes
|
329 |
* NEW HTML sitemap enhancements: new option to remove links from archive pages
|
6 |
Requires at least: 4.7+
|
7 |
Tested up to: 5.7
|
8 |
Requires PHP: 5.6
|
9 |
+
Stable tag: 4.5.0.1
|
10 |
License: GPLv2 or later
|
11 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
12 |
|
323 |
8. Installation Wizard
|
324 |
9. Schemas metabox
|
325 |
|
326 |
+
== Changelog ==
|
327 |
+
= 4.5.0.1 =
|
328 |
+
* PHP Fatal error: Uncaught Error: Call to undefined function SEOPress\Tags\Schema\seopress_social_knowledge_phone_number_option()
|
329 |
= 4.5 (25/03/2021) https://www.seopress.org/blog/seopress-4-5/ =
|
330 |
* NEW HTML sitemap enhancements: add HTML classes
|
331 |
* NEW HTML sitemap enhancements: new option to remove links from archive pages
|
seopress.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: SEOPress
|
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
Author: SEOPress
|
7 |
-
Version: 4.5.0
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
10 |
Text Domain: wp-seopress
|
@@ -55,7 +55,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
|
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
//Define
|
57 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
58 |
-
define('SEOPRESS_VERSION', '4.5.0');
|
59 |
define('SEOPRESS_AUTHOR', 'Benjamin Denis');
|
60 |
define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
|
61 |
define('SEOPRESS_TEMPLATE_DIR', SEOPRESS_PLUGIN_DIR_PATH . 'templates');
|
4 |
Plugin URI: https://www.seopress.org/
|
5 |
Description: One of the best SEO plugins for WordPress.
|
6 |
Author: SEOPress
|
7 |
+
Version: 4.5.0.1
|
8 |
Author URI: https://www.seopress.org/
|
9 |
License: GPLv2
|
10 |
Text Domain: wp-seopress
|
55 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
56 |
//Define
|
57 |
///////////////////////////////////////////////////////////////////////////////////////////////////
|
58 |
+
define('SEOPRESS_VERSION', '4.5.0.1');
|
59 |
define('SEOPRESS_AUTHOR', 'Benjamin Denis');
|
60 |
define('SEOPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
|
61 |
define('SEOPRESS_TEMPLATE_DIR', SEOPRESS_PLUGIN_DIR_PATH . 'templates');
|
src/Services/Options/SocialOption.php
CHANGED
@@ -6,7 +6,8 @@ defined('ABSPATH') or exit('Cheatin’ uh?');
|
|
6 |
|
7 |
use SEOPress\Constants\Options;
|
8 |
|
9 |
-
class SocialOption
|
|
|
10 |
/**
|
11 |
* @since 4.5.0
|
12 |
*
|
@@ -117,4 +118,31 @@ class SocialOption {
|
|
117 |
public function getSocialKnowledgeImage() {
|
118 |
return $this->searchOptionByKey('seopress_social_knowledge_img');
|
119 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
}
|
6 |
|
7 |
use SEOPress\Constants\Options;
|
8 |
|
9 |
+
class SocialOption
|
10 |
+
{
|
11 |
/**
|
12 |
* @since 4.5.0
|
13 |
*
|
118 |
public function getSocialKnowledgeImage() {
|
119 |
return $this->searchOptionByKey('seopress_social_knowledge_img');
|
120 |
}
|
121 |
+
|
122 |
+
/**
|
123 |
+
* @since 4.5.0
|
124 |
+
*
|
125 |
+
* @return string
|
126 |
+
*/
|
127 |
+
public function getSocialKnowledgePhone() {
|
128 |
+
return $this->searchOptionByKey('seopress_social_knowledge_phone');
|
129 |
+
}
|
130 |
+
|
131 |
+
/**
|
132 |
+
* @since 4.5.0
|
133 |
+
*
|
134 |
+
* @return string
|
135 |
+
*/
|
136 |
+
public function getSocialKnowledgeContactType() {
|
137 |
+
return $this->searchOptionByKey('seopress_social_knowledge_contact_type');
|
138 |
+
}
|
139 |
+
|
140 |
+
/**
|
141 |
+
* @since 4.5.0
|
142 |
+
*
|
143 |
+
* @return string
|
144 |
+
*/
|
145 |
+
public function getSocialKnowledgeContactOption() {
|
146 |
+
return $this->searchOptionByKey('seopress_social_knowledge_contact_option');
|
147 |
+
}
|
148 |
}
|
src/Tags/Schema/SocialKnowledgeContactOption.php
CHANGED
@@ -8,7 +8,8 @@ if ( ! defined('ABSPATH')) {
|
|
8 |
|
9 |
use SEOPress\Models\GetTagValue;
|
10 |
|
11 |
-
class SocialKnowledgeContactOption implements GetTagValue
|
|
|
12 |
const NAME = 'social_knowledge_contact_option';
|
13 |
|
14 |
/**
|
@@ -21,7 +22,7 @@ class SocialKnowledgeContactOption implements GetTagValue {
|
|
21 |
public function getValue($args = null) {
|
22 |
$context = isset($args[0]) ? $args[0] : null;
|
23 |
|
24 |
-
$value
|
25 |
if ('None' === $value) {
|
26 |
$value = '';
|
27 |
}
|
8 |
|
9 |
use SEOPress\Models\GetTagValue;
|
10 |
|
11 |
+
class SocialKnowledgeContactOption implements GetTagValue
|
12 |
+
{
|
13 |
const NAME = 'social_knowledge_contact_option';
|
14 |
|
15 |
/**
|
22 |
public function getValue($args = null) {
|
23 |
$context = isset($args[0]) ? $args[0] : null;
|
24 |
|
25 |
+
$value = seopress_get_service('SocialOption')->getSocialKnowledgeContactOption();
|
26 |
if ('None' === $value) {
|
27 |
$value = '';
|
28 |
}
|
src/Tags/Schema/SocialKnowledgeContactType.php
CHANGED
@@ -8,7 +8,8 @@ if ( ! defined('ABSPATH')) {
|
|
8 |
|
9 |
use SEOPress\Models\GetTagValue;
|
10 |
|
11 |
-
class SocialKnowledgeContactType implements GetTagValue
|
|
|
12 |
const NAME = 'social_knowledge_contact_type';
|
13 |
|
14 |
/**
|
@@ -21,7 +22,7 @@ class SocialKnowledgeContactType implements GetTagValue {
|
|
21 |
public function getValue($args = null) {
|
22 |
$context = isset($args[0]) ? $args[0] : null;
|
23 |
|
24 |
-
$value =
|
25 |
|
26 |
return apply_filters('seopress_get_tag_schema_social_knowledge_contact_type', $value, $context);
|
27 |
}
|
8 |
|
9 |
use SEOPress\Models\GetTagValue;
|
10 |
|
11 |
+
class SocialKnowledgeContactType implements GetTagValue
|
12 |
+
{
|
13 |
const NAME = 'social_knowledge_contact_type';
|
14 |
|
15 |
/**
|
22 |
public function getValue($args = null) {
|
23 |
$context = isset($args[0]) ? $args[0] : null;
|
24 |
|
25 |
+
$value = seopress_get_service('SocialOption')->getSocialKnowledgeContactType();
|
26 |
|
27 |
return apply_filters('seopress_get_tag_schema_social_knowledge_contact_type', $value, $context);
|
28 |
}
|
src/Tags/Schema/SocialPhoneNumber.php
CHANGED
@@ -8,7 +8,8 @@ if ( ! defined('ABSPATH')) {
|
|
8 |
|
9 |
use SEOPress\Models\GetTagValue;
|
10 |
|
11 |
-
class SocialPhoneNumber implements GetTagValue
|
|
|
12 |
const NAME = 'social_phone_number';
|
13 |
|
14 |
/**
|
@@ -21,7 +22,7 @@ class SocialPhoneNumber implements GetTagValue {
|
|
21 |
public function getValue($args = null) {
|
22 |
$context = isset($args[0]) ? $args[0] : null;
|
23 |
|
24 |
-
$value =
|
25 |
|
26 |
return apply_filters('seopress_get_tag_schema_social_phone_number', $value, $context);
|
27 |
}
|
8 |
|
9 |
use SEOPress\Models\GetTagValue;
|
10 |
|
11 |
+
class SocialPhoneNumber implements GetTagValue
|
12 |
+
{
|
13 |
const NAME = 'social_phone_number';
|
14 |
|
15 |
/**
|
22 |
public function getValue($args = null) {
|
23 |
$context = isset($args[0]) ? $args[0] : null;
|
24 |
|
25 |
+
$value = seopress_get_service('SocialOption')->getSocialKnowledgePhone();
|
26 |
|
27 |
return apply_filters('seopress_get_tag_schema_social_phone_number', $value, $context);
|
28 |
}
|
vendor/composer/InstalledVersions.php
CHANGED
@@ -29,7 +29,7 @@ private static $installed = array (
|
|
29 |
'aliases' =>
|
30 |
array (
|
31 |
),
|
32 |
-
'reference' => '
|
33 |
'name' => 'wp-seopress/wp-seopress',
|
34 |
),
|
35 |
'versions' =>
|
@@ -41,7 +41,7 @@ private static $installed = array (
|
|
41 |
'aliases' =>
|
42 |
array (
|
43 |
),
|
44 |
-
'reference' => '
|
45 |
),
|
46 |
),
|
47 |
);
|
29 |
'aliases' =>
|
30 |
array (
|
31 |
),
|
32 |
+
'reference' => 'a864a9dd2dff912a2d4864830f15db71baaf798b',
|
33 |
'name' => 'wp-seopress/wp-seopress',
|
34 |
),
|
35 |
'versions' =>
|
41 |
'aliases' =>
|
42 |
array (
|
43 |
),
|
44 |
+
'reference' => 'a864a9dd2dff912a2d4864830f15db71baaf798b',
|
45 |
),
|
46 |
),
|
47 |
);
|
vendor/composer/installed.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
-
'reference' => '
|
10 |
'name' => 'wp-seopress/wp-seopress',
|
11 |
),
|
12 |
'versions' =>
|
@@ -18,7 +18,7 @@
|
|
18 |
'aliases' =>
|
19 |
array (
|
20 |
),
|
21 |
-
'reference' => '
|
22 |
),
|
23 |
),
|
24 |
);
|
6 |
'aliases' =>
|
7 |
array (
|
8 |
),
|
9 |
+
'reference' => 'a864a9dd2dff912a2d4864830f15db71baaf798b',
|
10 |
'name' => 'wp-seopress/wp-seopress',
|
11 |
),
|
12 |
'versions' =>
|
18 |
'aliases' =>
|
19 |
array (
|
20 |
),
|
21 |
+
'reference' => 'a864a9dd2dff912a2d4864830f15db71baaf798b',
|
22 |
),
|
23 |
),
|
24 |
);
|