Version Description
(2022-01-19) = - Updated escaping function for the widget output.
Download this release
Release Info
Developer | Rustaurius |
Plugin | Business Profile |
Version | 2.1.9 |
Comparing to | |
See all releases |
Code changes from version 2.1.8 to 2.1.9
- business-profile.php +2 -2
- includes/class-contact-card-widget.php +3 -3
- readme.txt +4 -1
business-profile.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Five Star Business Profile and Schema
|
4 |
* Plugin URI: https://www.fivestarplugins.com/plugins/business-profile/
|
5 |
* Description: Add schema structured data to any page or post type. Create an SEO friendly contact card with your business info and associated schema. Supports Google Map, opening hours and more.
|
6 |
-
* Version: 2.1.
|
7 |
* Author: Five Star Plugins
|
8 |
* Author URI: https://www.fivestarplugins.com
|
9 |
* License: GPLv3
|
@@ -123,7 +123,7 @@ if ( ! class_exists( 'bpfwpInit', false ) ) :
|
|
123 |
define( 'BPFWP_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
124 |
define( 'BPFWP_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
|
125 |
define( 'BPFWP_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
|
126 |
-
define( 'BPFWP_VERSION', '2.1.
|
127 |
}
|
128 |
|
129 |
/**
|
3 |
* Plugin Name: Five Star Business Profile and Schema
|
4 |
* Plugin URI: https://www.fivestarplugins.com/plugins/business-profile/
|
5 |
* Description: Add schema structured data to any page or post type. Create an SEO friendly contact card with your business info and associated schema. Supports Google Map, opening hours and more.
|
6 |
+
* Version: 2.1.9
|
7 |
* Author: Five Star Plugins
|
8 |
* Author URI: https://www.fivestarplugins.com
|
9 |
* License: GPLv3
|
123 |
define( 'BPFWP_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
|
124 |
define( 'BPFWP_PLUGIN_URL', untrailingslashit( plugin_dir_url( __FILE__ ) ) );
|
125 |
define( 'BPFWP_PLUGIN_FNAME', plugin_basename( __FILE__ ) );
|
126 |
+
define( 'BPFWP_VERSION', '2.1.9' );
|
127 |
}
|
128 |
|
129 |
/**
|
includes/class-contact-card-widget.php
CHANGED
@@ -66,14 +66,14 @@ if ( ! class_exists( 'bpfwpContactCardWidget', false ) ) :
|
|
66 |
* @return void
|
67 |
*/
|
68 |
public function widget( $args, $instance ) {
|
69 |
-
echo
|
70 |
if ( isset( $instance['title'] ) ) {
|
71 |
$title = apply_filters( 'widget_title', $instance['title'] );
|
72 |
-
echo
|
73 |
}
|
74 |
|
75 |
echo bpwfwp_print_contact_card( $instance );
|
76 |
-
echo
|
77 |
}
|
78 |
|
79 |
/**
|
66 |
* @return void
|
67 |
*/
|
68 |
public function widget( $args, $instance ) {
|
69 |
+
echo wp_kses_post( $args['before_widget'] );
|
70 |
if ( isset( $instance['title'] ) ) {
|
71 |
$title = apply_filters( 'widget_title', $instance['title'] );
|
72 |
+
echo wp_kses_post( $args['before_title'] . $title . $args['after_title'] );
|
73 |
}
|
74 |
|
75 |
echo bpwfwp_print_contact_card( $instance );
|
76 |
+
echo wp_kses_post( $args['after_widget'] );
|
77 |
}
|
78 |
|
79 |
/**
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Plugin URL: https://www.fivestarplugins.com/plugins/business-profile/
|
|
5 |
Requires at Least: 5.3
|
6 |
Tested Up To: 5.8
|
7 |
Tags: business profile, seo, local seo, schema, address, google map, contact, phone, contact card, vcard, contact info, business location, business address, business map, business schema, organization schema, corporation schema, contact schema, address schema, location schema, map schema, business structured data, business microdata, address microdata, location structured data, location microdata, contact shortcode, location shortcode, address shortcode, schema shortcode, gutenberg schema, gutenberg address
|
8 |
-
Stable tag: 2.1.
|
9 |
License: GPLv3
|
10 |
License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -192,6 +192,9 @@ You'll find more help in the [User Guide](http://doc.themeofthecrop.com/plugins/
|
|
192 |
|
193 |
== Changelog ==
|
194 |
|
|
|
|
|
|
|
195 |
= 2.1.8 (2022-01-18) =
|
196 |
- Updated sanitizing
|
197 |
|
5 |
Requires at Least: 5.3
|
6 |
Tested Up To: 5.8
|
7 |
Tags: business profile, seo, local seo, schema, address, google map, contact, phone, contact card, vcard, contact info, business location, business address, business map, business schema, organization schema, corporation schema, contact schema, address schema, location schema, map schema, business structured data, business microdata, address microdata, location structured data, location microdata, contact shortcode, location shortcode, address shortcode, schema shortcode, gutenberg schema, gutenberg address
|
8 |
+
Stable tag: 2.1.9
|
9 |
License: GPLv3
|
10 |
License URI:http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
192 |
|
193 |
== Changelog ==
|
194 |
|
195 |
+
= 2.1.9 (2022-01-19) =
|
196 |
+
- Updated escaping function for the widget output.
|
197 |
+
|
198 |
= 2.1.8 (2022-01-18) =
|
199 |
- Updated sanitizing
|
200 |
|