Version Description
- Fixed: Query warnings due to changes in WordPress 5.5
- Update: Pumped tested WordPress version to 5.5.1 release.
- Update: Modified readme.txt file.
Download this release
Release Info
Developer | hishaman |
Plugin | Schema |
Version | 1.7.8.3 |
Comparing to | |
See all releases |
Code changes from version 1.7.8.2 to 1.7.8.3
- includes/admin/meta/class-meta.php +1 -1
- includes/admin/meta/js/schema.js +6 -4
- readme.txt +8 -3
- schema.php +2 -2
includes/admin/meta/class-meta.php
CHANGED
@@ -61,7 +61,7 @@ function schema_wp_custom_meta_box_field( $field, $meta = null, $repeatable = nu
|
|
61 |
break;
|
62 |
// opening div
|
63 |
case 'div_open':
|
64 |
-
echo '<span id="' . esc_attr( $id ) . '" class="toggle">'.__('Advanced', 'schema-wp').' <span class="dashicons dashicons-arrow-down-alt2"></span></span>';
|
65 |
echo '</li></ul><span style="clear:both;display:block;"></span><div id="' . esc_attr( $id ) . '_wrap" class="toggle_div"><ul>';
|
66 |
break;
|
67 |
// closing div
|
61 |
break;
|
62 |
// opening div
|
63 |
case 'div_open':
|
64 |
+
//echo '<span id="' . esc_attr( $id ) . '" class="toggle">'.__('Advanced', 'schema-wp').' <span class="dashicons dashicons-arrow-down-alt2"></span></span>';
|
65 |
echo '</li></ul><span style="clear:both;display:block;"></span><div id="' . esc_attr( $id ) . '_wrap" class="toggle_div"><ul>';
|
66 |
break;
|
67 |
// closing div
|
includes/admin/meta/js/schema.js
CHANGED
@@ -22,22 +22,24 @@ jQuery(function($) {
|
|
22 |
|
23 |
|
24 |
// repeated post meta group / show hide main meta box
|
|
|
25 |
$('#schema_post_meta_box').hide();
|
26 |
|
27 |
-
var post_meta_enabled = $("#_schema_post_meta_box_enabled").
|
28 |
|
29 |
if (post_meta_enabled)
|
30 |
$('#schema_post_meta_box').show();
|
31 |
|
32 |
$('#_schema_post_meta_box_enabled').change(function(){
|
33 |
-
var checked = $(this).
|
34 |
if (checked) {
|
35 |
$('#schema_post_meta_box').show();
|
36 |
} else {
|
37 |
$('#schema_post_meta_box').hide();
|
38 |
}
|
39 |
-
|
40 |
|
|
|
41 |
// repeated post meta group fields
|
42 |
// first, hide all divs inside the repeatable row, which has the advanmced options
|
43 |
$('.meta_box_repeatable_row div').hide();
|
@@ -51,6 +53,6 @@ jQuery(function($) {
|
|
51 |
$(this).html('Advanced <span class="dashicons dashicons-arrow-down-alt2"></span>'); // Advanced options
|
52 |
//$(this).html(this.id);
|
53 |
});
|
54 |
-
|
55 |
|
56 |
});
|
22 |
|
23 |
|
24 |
// repeated post meta group / show hide main meta box
|
25 |
+
|
26 |
$('#schema_post_meta_box').hide();
|
27 |
|
28 |
+
var post_meta_enabled = $("#_schema_post_meta_box_enabled").prop('checked');
|
29 |
|
30 |
if (post_meta_enabled)
|
31 |
$('#schema_post_meta_box').show();
|
32 |
|
33 |
$('#_schema_post_meta_box_enabled').change(function(){
|
34 |
+
var checked = $(this).prop('checked');
|
35 |
if (checked) {
|
36 |
$('#schema_post_meta_box').show();
|
37 |
} else {
|
38 |
$('#schema_post_meta_box').hide();
|
39 |
}
|
40 |
+
});
|
41 |
|
42 |
+
/*
|
43 |
// repeated post meta group fields
|
44 |
// first, hide all divs inside the repeatable row, which has the advanmced options
|
45 |
$('.meta_box_repeatable_row div').hide();
|
53 |
$(this).html('Advanced <span class="dashicons dashicons-arrow-down-alt2"></span>'); // Advanced options
|
54 |
//$(this).html(this.id);
|
55 |
});
|
56 |
+
*/
|
57 |
|
58 |
});
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: hishaman, schemapress
|
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NGVUBT2QXN7YL
|
4 |
Tags: schema, schema.org, rich snippets, structured data, json-ld, json, google, seo, markup, search engine, search, breadcrumbs, social, post, page, plugin, wordpress, content, article, news, search results, site name, knowledge graph, social, social profiles, keywords, meta-tags, metadata, tags, categories, optimize, ranking, search engine optimization, search engines, serp, sitelinks, google sitelinks, sitelinks search box, google sitelinks search box, semantic, structured, canonical, custom post types, post type, title, terms, media, images, thumb, featured, url, video, video markup, video object, VideoObject, video schema, audio object, AudioObject, audio schema, audio, sameAs, about, contact, amp, mobile, taxonomy
|
5 |
Requires at least: 4.0
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.4
|
8 |
-
Stable tag: 1.7.8.
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -56,7 +56,7 @@ View our [Live Structured Data Demo](https://demo.schema.reviews/) examples.
|
|
56 |
### Premium Plugin Extensions
|
57 |
|
58 |
* [Schema for WooCommerce](https://schema.press/downloads/schema-woocommerce/): Integration for WooCommerce.
|
59 |
-
* [Schema FAQ Block](https://schema.press/downloads/schema-faq-block/): Add FAQ Block.
|
60 |
* [Schema How-To Block](https://schema.press/downloads/schema-howto-block/): Add How-To Block.
|
61 |
* [Schema Rating](https://schema.press/downloads/schema-rating/): Allow site visitors to submit rating ( [Demo](https://demo.schema.reviews/nested-aggregate-rating/) ).
|
62 |
* [Schema Reviews](https://schema.press/downloads/schema-reviews/): Allow site visitors to submit reviews ( [Demo](https://demo.schema.reviews/nested-review/) ).
|
@@ -223,6 +223,11 @@ Yes, Schema plugin will detect AMP plugin and output a more complete and valid s
|
|
223 |
|
224 |
== Changelog ==
|
225 |
|
|
|
|
|
|
|
|
|
|
|
226 |
= 1.7.8.2 =
|
227 |
* Fixed: PHP notices across the plugin code.
|
228 |
* Update: Corrected license url in plugin file.
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NGVUBT2QXN7YL
|
4 |
Tags: schema, schema.org, rich snippets, structured data, json-ld, json, google, seo, markup, search engine, search, breadcrumbs, social, post, page, plugin, wordpress, content, article, news, search results, site name, knowledge graph, social, social profiles, keywords, meta-tags, metadata, tags, categories, optimize, ranking, search engine optimization, search engines, serp, sitelinks, google sitelinks, sitelinks search box, google sitelinks search box, semantic, structured, canonical, custom post types, post type, title, terms, media, images, thumb, featured, url, video, video markup, video object, VideoObject, video schema, audio object, AudioObject, audio schema, audio, sameAs, about, contact, amp, mobile, taxonomy
|
5 |
Requires at least: 4.0
|
6 |
+
Tested up to: 5.5.1
|
7 |
Requires PHP: 5.4
|
8 |
+
Stable tag: 1.7.8.3
|
9 |
License: GPLv2 or later
|
10 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
56 |
### Premium Plugin Extensions
|
57 |
|
58 |
* [Schema for WooCommerce](https://schema.press/downloads/schema-woocommerce/): Integration for WooCommerce.
|
59 |
+
* [Schema FAQ Block](https://schema.press/downloads/schema-faq-block/): Add FAQ Block. ( [FAQPage Demo](https://demo.schema.reviews/extensions/schema-faq-block/) ).
|
60 |
* [Schema How-To Block](https://schema.press/downloads/schema-howto-block/): Add How-To Block.
|
61 |
* [Schema Rating](https://schema.press/downloads/schema-rating/): Allow site visitors to submit rating ( [Demo](https://demo.schema.reviews/nested-aggregate-rating/) ).
|
62 |
* [Schema Reviews](https://schema.press/downloads/schema-reviews/): Allow site visitors to submit reviews ( [Demo](https://demo.schema.reviews/nested-review/) ).
|
223 |
|
224 |
== Changelog ==
|
225 |
|
226 |
+
= 1.7.8.3 =
|
227 |
+
* Fixed: Query warnings due to changes in WordPress 5.5
|
228 |
+
* Update: Pumped tested WordPress version to 5.5.1 release.
|
229 |
+
* Update: Modified readme.txt file.
|
230 |
+
|
231 |
= 1.7.8.2 =
|
232 |
* Fixed: PHP notices across the plugin code.
|
233 |
* Update: Corrected license url in plugin file.
|
schema.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: The next generation of Structured Data.
|
6 |
* Author: Hesham
|
7 |
* Author URI: http://zebida.com
|
8 |
-
* Version: 1.7.8.
|
9 |
* Text Domain: schema-wp
|
10 |
* Domain Path: /languages
|
11 |
* License: GPLv2 or later
|
@@ -52,7 +52,7 @@ final class Schema_WP {
|
|
52 |
*
|
53 |
* @since 1.0
|
54 |
*/
|
55 |
-
private $version = '1.7.8.
|
56 |
|
57 |
/**
|
58 |
* The settings instance variable
|
5 |
* Description: The next generation of Structured Data.
|
6 |
* Author: Hesham
|
7 |
* Author URI: http://zebida.com
|
8 |
+
* Version: 1.7.8.3
|
9 |
* Text Domain: schema-wp
|
10 |
* Domain Path: /languages
|
11 |
* License: GPLv2 or later
|
52 |
*
|
53 |
* @since 1.0
|
54 |
*/
|
55 |
+
private $version = '1.7.8.3';
|
56 |
|
57 |
/**
|
58 |
* The settings instance variable
|