Skip to content

Commit

Permalink
fic #15 in review
Browse files Browse the repository at this point in the history
  • Loading branch information
rolandinsh committed Mar 4, 2015
1 parent 3f70ee8 commit ecb6d2d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions itemprop_review.php
Expand Up @@ -41,7 +41,7 @@ public function __construct()

private function reviewvers()
{
return '1.2.0';
return '1.2.1';
}

public function reviewinit()
Expand Down Expand Up @@ -105,7 +105,7 @@ public function review($content)
}
$newcontent .= '<span itemprop="review" itemscope itemtype="http://schema.org/Review"><meta itemprop="name" content="' . esc_html($reviewpost->post_title) . '"><meta itemprop="author" content="' . esc_html(get_the_author_meta('display_name', $reviewpost->post_author)) . '"><meta itemprop="datePublished" content="' . esc_html($reviewpost->post_date) . '">'
. $reviewratingrow . '<span itemprop="itemReviewed" itemscope itemtype="http://schema.org/Product"><meta itemprop="name" content="' . esc_html($reviewname) . '">'
. $pricerows . '</span><meta itemprop="description" content="' . strip_tags(str_replace(array("\r\n", "\n", "\r", "\t"), "", $review_descr)) . '"></span>';
. $pricerows . '</span><meta itemprop="description" content="' . esc_html(str_replace(array("\r\n", "\n", "\r", "\t"), "", $review_descr)) . '"></span>';

$content = "\n" . '<!-- ' . IPWPTSN . ' ' . SMCIPWPV . '/ Review ' . $reviewv . ' by Rolands Umbrovskis ' . IPWPT_HOMEPAGEC . ' -->' . $newcontent . '<!-- ' . IPWPTSN . ' ' . SMCIPWPV . '/ Review ' . $reviewv . ' end -->' . "\n";
}
Expand All @@ -128,7 +128,7 @@ function ipwp_cpbox($post)
{
$ipwprprefix = 'ipwp_';
wp_nonce_field(plugin_basename(__FILE__), $ipwprprefix . 'pt_post_nonce');

$reviewonoff = array();
echo '<table class="form-table"><tbody>';
$reviewonoff['onoff'] = 'off';
$reviewonoff = get_post_meta($post->ID, $ipwprprefix . 'reviewonoff', true);
Expand Down

0 comments on commit ecb6d2d

Please sign in to comment.