Changeset 2853501
- Timestamp:
- 01/24/2023 12:25:06 PM (3 years ago)
- Location:
- embedstories/trunk
- Files:
-
- 2 edited
-
embedstories.php (modified) (13 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
embedstories/trunk/embedstories.php
r2109620 r2853501 6 6 Author: EmbedSocial 7 7 Author URI: http://www.embedsocial.com 8 Version: 0.7. 48 Version: 0.7.5 9 9 */ 10 10 … … 99 99 $out = ""; 100 100 if ($shortcodeId['id']) { 101 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);101 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 102 102 $out .= "<div class='embedsocial-album' data-ref='{$shortcodeId['id']}'></div>"; 103 103 } … … 115 115 $out = ""; 116 116 if ($shortcodeId['id']) { 117 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);117 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 118 118 $out .= "<div class='embedsocial-gallery' data-ref='{$shortcodeId['id']}'></div>"; 119 119 } … … 131 131 $out = ""; 132 132 if ($shortcodeId['id']) { 133 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);133 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 134 134 $out .= "<div class='embedsocial-instagram' data-ref='{$shortcodeId['id']}'></div>"; 135 135 } … … 147 147 $out = ""; 148 148 if ($shortcodeId['id']) { 149 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);149 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 150 150 $out .= "<div class='embedsocial-twitter' data-ref='{$shortcodeId['id']}'></div>"; 151 151 } … … 163 163 $out = ""; 164 164 if ($shortcodeId['id']) { 165 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);165 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 166 166 $out .= "<div class='embedsocial-google-place' data-ref='{$shortcodeId['id']}'></div>"; 167 167 } … … 179 179 $out = ""; 180 180 if ($shortcodeId['id']) { 181 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);181 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 182 182 $out .= "<div class='embedsocial-socialfeed' data-ref='{$shortcodeId['id']}'></div>"; 183 183 } … … 195 195 $out = ""; 196 196 if ($shortcodeId['id']) { 197 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);197 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 198 198 $out .= "<div class='embedsocial-reviews' data-ref='{$shortcodeId['id']}'></div>"; 199 199 } … … 211 211 $out = ""; 212 212 if ($shortcodeId['id']) { 213 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);213 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 214 214 $out .= "<div class='embedsocial-google-reviews' data-ref='{$shortcodeId['id']}'></div>"; 215 215 } … … 227 227 $out = ""; 228 228 if ($shortcodeId['id']) { 229 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);229 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 230 230 $out .= "<div class='embedsocial-custom-reviews' data-ref='{$shortcodeId['id']}'></div>"; 231 231 } … … 243 243 $out = ""; 244 244 if ($shortcodeId['id']) { 245 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);245 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 246 246 $out .= "<div class='embedsocial-stories' data-ref='{$shortcodeId['id']}'></div>"; 247 247 } … … 259 259 $out = ""; 260 260 if ($shortcodeId['id']) { 261 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);261 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 262 262 $out .= "<div class='embedsocial-stories-popup' data-ref='{$shortcodeId['id']}'></div>"; 263 263 } … … 275 275 $out = ""; 276 276 if ($shortcodeId['id']) { 277 $shortcodeId['id'] = sanitize_ text_field($shortcodeId['id']);277 $shortcodeId['id'] = sanitize_key($shortcodeId['id']); 278 278 $out .= "<div class='embedsocial-story-gallery' data-ref='{$shortcodeId['id']}'></div>"; 279 279 } -
embedstories/trunk/readme.txt
r2109622 r2853501 4 4 Tags: social media feed, social media tools, Instagram stories, Instagram widget, AMP stories 5 5 Requires at least: 4.0 6 Tested up to: 5.0.17 Stable tag: 0.7. 46 Tested up to: 6.0 7 Stable tag: 0.7.5 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.