All In One Schema Rich Snippets - Version 1.1.4

Version Description

  • Bug Fix: Illegal string offset user_rating Warning
Download this release

Release Info

Developer brainstormforce
Plugin Icon 128x128 All In One Schema Rich Snippets
Version 1.1.4
Comparing to
See all releases

Code changes from version 1.1.3 to 1.1.4

Files changed (3) hide show
  1. functions.php +1 -1
  2. index.php +1 -1
  3. readme.txt +1 -29
functions.php CHANGED
@@ -767,7 +767,7 @@ function bsf_do_rating()
767
  function get_previous_rating($needle, $haystack, $strict = false) {
768
  foreach ($haystack as $item) {
769
  if (($strict ? $item === $needle : $item == $needle) || (is_array($item) && get_previous_rating($needle, $item, $strict))) {
770
- return $item['user_rating'];
771
  }
772
  }
773
  return false;
767
  function get_previous_rating($needle, $haystack, $strict = false) {
768
  foreach ($haystack as $item) {
769
  if (($strict ? $item === $needle : $item == $needle) || (is_array($item) && get_previous_rating($needle, $item, $strict))) {
770
+ return @$item['user_rating'];
771
  }
772
  }
773
  return false;
index.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.brainstormforce.com
5
  Author: Brainstorm Force
6
  Author URI: http://www.brainstormforce.com
7
  Description: The All in One Rich Snippets gives the power to the blog author to control the rich snippets to be shown in the search results by the search engines.
8
- Version: 1.1.3
9
  Text Domain: rich-snippets
10
  License: GPL2
11
  */
5
  Author: Brainstorm Force
6
  Author URI: http://www.brainstormforce.com
7
  Description: The All in One Rich Snippets gives the power to the blog author to control the rich snippets to be shown in the search results by the search engines.
8
+ Version: 1.1.4
9
  Text Domain: rich-snippets
10
  License: GPL2
11
  */
readme.txt CHANGED
@@ -1 +1 @@
1
- === All In One Schema.org Rich Snippets ===
2
- It gives search engines only the important & precise information to display in search result snippets.
3
- Rich Snippets are very interactive (photos, star ratings, price, author, etc.) to let you stand out from competition
4
- [See what difference it makes](http://dashburst.com/google-search-what-are-rich-snippets/ "See the difference") in CTR (Click Through Rate)
5
- Helps you rank higher in search results
6
- Helps Facebook display proper information when users share your links on Facebook
7
- Even simpler, shorter, typographic and more beautiful design of MicroData box. May be like this https://moqups.com/brainstormforce/5P0EaLtt
8
- Redesigned admin panel
9
- Refined MicroData input options
10
- Support for more post types (Local Business, etc)
11
- It gives search engines only the important & precise information to display in search result snippets.
12
- Rich Snippets are very interactive (photos, star ratings, price, author, etc.) to let you stand out from competition
13
- [See what difference it makes](http://dashburst.com/google-search-what-are-rich-snippets/ "See the difference") in CTR (Click Through Rate)
14
- Helps you rank higher in search results
15
- Helps Facebook display proper information when users share your links on Facebook
16
- It gives search engines only the important & precise information to display in search result snippets.
17
- Rich Snippets are very interactive (photos, star ratings, price, author, etc.) to let you stand out from competition
18
- [See what difference it makes](http://dashburst.com/google-search-what-are-rich-snippets/ "See the difference") in CTR (Click Through Rate)
19
- Helps you rank higher in search results
20
- Helps Facebook display proper information when users share your links on Facebook
21
- Even simpler, shorter, typographic and more beautiful design of MicroData box. May be like this https://moqups.com/brainstormforce/5P0EaLtt
22
- Redesigned admin panel
23
- Refined MicroData input options
24
- Support for more post types (Local Business, etc)
25
- It gives search engines only the important & precise information to display in search result snippets.
26
- Rich Snippets are very interactive (photos, star ratings, price, author, etc.) to let you stand out from competition
27
- [See what difference it makes](http://dashburst.com/google-search-what-are-rich-snippets/ "See the difference") in CTR (Click Through Rate)
28
- Helps you rank higher in search results
29
- Helps Facebook display proper information when users share your links on Facebook
1
+ === All In One Schema.org Rich Snippets ===