Changeset 2552591
- Timestamp:
- 06/23/2021 10:16:28 AM (5 years ago)
- Location:
- woorise/trunk
- Files:
-
- 3 edited
-
includes/class-woorise-embed.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
woorise.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
woorise/trunk/includes/class-woorise-embed.php
r2552145 r2552591 98 98 public function get_embed( $url ) { 99 99 100 $current_url = set_url_scheme( 'http://' . wp_unslash( $_SERVER['HTTP_HOST'] ) . strtok( wp_unslash( $_SERVER['REQUEST_URI'] ), '?') );100 $current_url = set_url_scheme( 'http://' . wp_unslash( $_SERVER['HTTP_HOST'] ) . wp_unslash( $_SERVER['REQUEST_URI'] ) ); 101 101 102 $ src = add_query_arg([103 'u' => remove_query_arg( 'preview_nonce', $current_url),102 $args = [ 103 'u' => strtok( $current_url, '?' ), 104 104 't' => time(), 105 ] , $url );105 ]; 106 106 107 if ( ! empty( $_SERVER['QUERY_STRING'] ) ) { 108 $src .= '&' . wp_unslash( $_SERVER['QUERY_STRING'] ); 107 $current_query = wp_parse_url( $current_url, PHP_URL_QUERY ); 108 109 if ( $current_query ) { 110 parse_str( $current_query, $current_pieces ); 111 unset( $current_pieces['preview_nonce'] ); 112 $args = array_merge( $args, $current_pieces ); 109 113 } 114 115 $src = add_query_arg( $args, $url ); 110 116 111 117 $output = sprintf( -
woorise/trunk/readme.txt
r2552145 r2552591 6 6 Tested up to: 5.7.2 7 7 Requires PHP: 7.0 8 Stable tag: 1.3. 28 Stable tag: 1.3.3 9 9 License: GPL2 10 10 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
woorise/trunk/woorise.php
r2552145 r2552591 5 5 * Plugin URI: https://woorise.com/ 6 6 * Description: Create viral giveaways & contests, engaging forms, landing pages, surveys, quizzes, collect payments and more. 7 * Version: 1.3. 27 * Version: 1.3.3 8 8 * Requires at least: 5.6 9 9 * Author: Woorise
Note: See TracChangeset
for help on using the changeset viewer.