Changeset 1712233
- Timestamp:
- 08/11/2017 06:06:29 PM (9 years ago)
- Location:
- trustedsite-reviews/trunk
- Files:
-
- 3 edited
-
lib/App.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
trustedsite-reviews.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trustedsite-reviews/trunk/lib/App.php
r1708559 r1712233 119 119 { 120 120 $a = shortcode_atts(array( 121 'id' => '', 121 'type' => 'button', 122 'pid' => '', 122 123 ), $atts); 123 $id = $a['id']; 124 return "<div class='trustedsite-widget' data-id='" . $id . "'></div>"; 124 125 $type = $a['type']; 126 $pid = $a['pid']; 127 128 $map = array( 129 "button" => 2, 130 "carousel" => 4, 131 "gallery" => 5, 132 "summary" => 8, 133 "stars" => 7 134 ); 135 136 $tid = 2; 137 if(array_key_exists($type, $map)){ 138 $tid = $map[$type]; 139 } 140 141 return "<div class='trustedsite-widget' data-type='" . $tid . "' data-pid='" . $pid . "'></div>"; 125 142 } 126 143 -
trustedsite-reviews/trunk/readme.txt
r1708584 r1712233 4 4 Requires at least: 4.2.0 5 5 Tested up to: 4.8.0 6 Stable tag: 1.0. 86 Stable tag: 1.0.9 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
trustedsite-reviews/trunk/trustedsite-reviews.php
r1708584 r1712233 5 5 * ------------------------------------------------------------------------------------------------------------------ 6 6 * @package trustedsite-reviews 7 * @version 1.0. 87 * @version 1.0.9 8 8 * Plugin Name: TrustedSite Reviews 9 9 * Description: Add TrustedSite Reviews to your site and start showing visitors how great your business is. 10 10 * Author: TrustedSite 11 * Version: 1.0. 811 * Version: 1.0.9 12 12 * Author URI: https://www.trustedsite.com/ 13 13 * ------------------------------------------------------------------------------------------------------------------ … … 17 17 return; 18 18 } 19 define('TS_REVIEWS', '1.0. 8');19 define('TS_REVIEWS', '1.0.9'); 20 20 21 21 add_action('activated_plugin','ts_reviews_save_activation_error');
Note: See TracChangeset
for help on using the changeset viewer.