Changeset 2092376
- Timestamp:
- 05/21/2019 02:06:49 PM (7 years ago)
- Location:
- embedalbum-pro/trunk
- Files:
-
- 2 edited
-
embedalbum_pro.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
embedalbum-pro/trunk/embedalbum_pro.php
r2018277 r2092376 6 6 Author: EmbedSocial 7 7 Author URI: http://www.embedsocial.com 8 Version: 1.1.1 78 Version: 1.1.18 9 9 */ 10 10 defined( 'ABSPATH' ) or die; … … 193 193 194 194 $shortcodeId = (shortcode_atts(array( 195 'id' => '' 196 ), $atts)); 197 198 $out = ""; 199 if ($shortcodeId['id']) { 200 $shortcodeId['id'] = sanitize_text_field($shortcodeId['id']); 201 $out .= "<div class='embedsocial-reviews' data-ref='{$shortcodeId['id']}'></div>"; 195 'id' => '', 196 'tags' => '', 197 'lazyload' => '' 198 ), $atts)); 199 200 $out = "<div class='embedsocial-reviews' "; 201 if ($shortcodeId['id']) { 202 $shortcodeId['id'] = sanitize_text_field($shortcodeId['id']); 203 $out .= " data-ref='{$shortcodeId['id']}' "; 204 205 if ($shortcodeId['tags']) { 206 $out .= " data-tags='{$shortcodeId['tags']}' "; 207 } 208 if ($shortcodeId['lazyload'] && $shortcodeId['lazyload'] == 'yes') { 209 $out .= " data-lazyload='yes' "; 210 } 211 $out .= "></div>"; 202 212 } 203 213 return $out; -
embedalbum-pro/trunk/readme.txt
r2018277 r2092376 5 5 Requires at least: 4.0 6 6 Tested up to: 5.0.1 7 Stable tag: 1.1.1 77 Stable tag: 1.1.18 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.