Changeset 1975142
- Timestamp:
- 11/15/2018 09:19:41 PM (7 years ago)
- Location:
- interact-quiz-embed
- Files:
-
- 2 edited
- 3 copied
-
tags/3.0.5 (copied) (copied from interact-quiz-embed/trunk)
-
tags/3.0.5/interact-quiz-embed.php (copied) (copied from interact-quiz-embed/trunk/interact-quiz-embed.php) (3 diffs)
-
tags/3.0.5/readme.txt (copied) (copied from interact-quiz-embed/trunk/readme.txt) (2 diffs)
-
trunk/interact-quiz-embed.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
interact-quiz-embed/tags/3.0.5/interact-quiz-embed.php
r1944280 r1975142 5 5 Description: Use this plugin to embed your Interact quiz into your Wordpress site. 6 6 Author: The Quiz Collective Inc. 7 Version: 3.0. 47 Version: 3.0.5 8 8 Author URI: https://www.tryinteract.com 9 9 … … 73 73 if(isset($atts['mobile'])) { $mobile = $atts['mobile']; } else { $mobile = 'true'; } 74 74 if(isset($atts['align'])) { $align = $atts['align']; } else { $align = null; } 75 if(isset($atts['redirect'])) { $redirect = $atts['redirect']; } else { $redirect = 'false'; } 75 76 76 77 $app_id = $atts['id']; … … 96 97 var no_cover = ' . $no_cover . '; 97 98 var mobile = ' . $mobile . '; 99 var redirect = "' . $redirect . '"; 100 101 var params = { "ref":ref, "appId": app_id, "width":w, "height":h, "async":true, "host":host, "auto_resize":true, "mobile":mobile, "no_cover":no_cover }; 102 103 if(redirect === "host") { 104 params.redirect_host = true; 105 } 98 106 99 107 window[ref] = new InteractApp(); 100 window[ref].initialize( {"ref":ref,"appId": app_id,"width":w,"height":h,"async":true,"host":host,"auto_resize":true,"mobile":mobile,"no_cover":no_cover});108 window[ref].initialize(params); 101 109 window[ref].display(); 102 110 }); -
interact-quiz-embed/tags/3.0.5/readme.txt
r1944280 r1975142 4 4 Requires at least: 3.0.1 5 5 Tested up to: 4.9.8 6 Stable tag: 3.0. 46 Stable tag: 3.0.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 51 51 == Changelog == 52 52 53 = 3.0.5 = 54 * Added shortcode attribute redirect="host" to enable top-level browser redirection outside iframe. 55 53 56 = 3.0.4 = 54 57 * Added shortcode attribute align="left|center|right". -
interact-quiz-embed/trunk/interact-quiz-embed.php
r1944280 r1975142 5 5 Description: Use this plugin to embed your Interact quiz into your Wordpress site. 6 6 Author: The Quiz Collective Inc. 7 Version: 3.0. 47 Version: 3.0.5 8 8 Author URI: https://www.tryinteract.com 9 9 … … 73 73 if(isset($atts['mobile'])) { $mobile = $atts['mobile']; } else { $mobile = 'true'; } 74 74 if(isset($atts['align'])) { $align = $atts['align']; } else { $align = null; } 75 if(isset($atts['redirect'])) { $redirect = $atts['redirect']; } else { $redirect = 'false'; } 75 76 76 77 $app_id = $atts['id']; … … 96 97 var no_cover = ' . $no_cover . '; 97 98 var mobile = ' . $mobile . '; 99 var redirect = "' . $redirect . '"; 100 101 var params = { "ref":ref, "appId": app_id, "width":w, "height":h, "async":true, "host":host, "auto_resize":true, "mobile":mobile, "no_cover":no_cover }; 102 103 if(redirect === "host") { 104 params.redirect_host = true; 105 } 98 106 99 107 window[ref] = new InteractApp(); 100 window[ref].initialize( {"ref":ref,"appId": app_id,"width":w,"height":h,"async":true,"host":host,"auto_resize":true,"mobile":mobile,"no_cover":no_cover});108 window[ref].initialize(params); 101 109 window[ref].display(); 102 110 }); -
interact-quiz-embed/trunk/readme.txt
r1944280 r1975142 4 4 Requires at least: 3.0.1 5 5 Tested up to: 4.9.8 6 Stable tag: 3.0. 46 Stable tag: 3.0.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 51 51 == Changelog == 52 52 53 = 3.0.5 = 54 * Added shortcode attribute redirect="host" to enable top-level browser redirection outside iframe. 55 53 56 = 3.0.4 = 54 57 * Added shortcode attribute align="left|center|right".
Note: See TracChangeset
for help on using the changeset viewer.