Changeset 2777870
- Timestamp:
- 08/30/2022 05:31:32 PM (2 years ago)
- Location:
- launcher
- Files:
-
- 102 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
launcher/trunk/includes/campaignmonitor/class/services_json.php
r1187692 r2777870 153 153 } 154 154 155 $bytes = (ord($utf16 {0}) << 8) | ord($utf16{1});155 $bytes = (ord($utf16); 156 156 157 157 switch(true) { … … 206 206 // return a UTF-16 character from a 2-byte UTF-8 char 207 207 // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 208 return chr(0x07 & (ord($utf8 {0}) >> 2))209 . chr((0xC0 & (ord($utf8 {0}) << 6))210 | (0x3F & ord($utf8 {1})));208 return chr(0x07 & (ord($utf8) >> 2)) 209 . chr((0xC0 & (ord($utf8) << 6)) 210 | (0x3F & ord($utf8))); 211 211 212 212 case 3: 213 213 // return a UTF-16 character from a 3-byte UTF-8 char 214 214 // see: http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 215 return chr((0xF0 & (ord($utf8 {0}) << 4))216 | (0x0F & (ord($utf8 {1}) >> 2)))217 . chr((0xC0 & (ord($utf8 {1}) << 6))218 | (0x7F & ord($utf8 {2})));215 return chr((0xF0 & (ord($utf8) << 4)) 216 | (0x0F & (ord($utf8) >> 2))) 217 . chr((0xC0 & (ord($utf8) << 6)) 218 | (0x7F & ord($utf8))); 219 219 } 220 220 … … 261 261 for ($c = 0; $c < $strlen_var; ++$c) { 262 262 263 $ord_var_c = ord($var {$c});263 $ord_var_c = ord($var); 264 264 265 265 switch (true) { … … 284 284 case $ord_var_c == 0x5C: 285 285 // double quote, slash, slosh 286 $ascii .= '\\'.$var {$c};286 $ascii .= '\\'.$var; 287 287 break; 288 288 289 289 case (($ord_var_c >= 0x20) && ($ord_var_c <= 0x7F)): 290 290 // characters U-00000000 - U-0000007F (same as ASCII) 291 $ascii .= $var {$c};291 $ascii .= $var; 292 292 break; 293 293 … … 295 295 // characters U-00000080 - U-000007FF, mask 110XXXXX 296 296 // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 297 $char = pack('C*', $ord_var_c, ord($var {$c + 1}));297 $char = pack('C*', $ord_var_c, ord($var)); 298 298 $c += 1; 299 299 $utf16 = $this->utf82utf16($char); … … 305 305 // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 306 306 $char = pack('C*', $ord_var_c, 307 ord($var {$c + 1}),308 ord($var {$c + 2}));307 ord($var), 308 ord($var)); 309 309 $c += 2; 310 310 $utf16 = $this->utf82utf16($char); … … 316 316 // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 317 317 $char = pack('C*', $ord_var_c, 318 ord($var {$c + 1}),319 ord($var {$c + 2}),320 ord($var {$c + 3}));318 ord($var), 319 ord($var), 320 ord($var)); 321 321 $c += 3; 322 322 $utf16 = $this->utf82utf16($char); … … 328 328 // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 329 329 $char = pack('C*', $ord_var_c, 330 ord($var {$c + 1}),331 ord($var {$c + 2}),332 ord($var {$c + 3}),333 ord($var {$c + 4}));330 ord($var), 331 ord($var), 332 ord($var), 333 ord($var)); 334 334 $c += 4; 335 335 $utf16 = $this->utf82utf16($char); … … 341 341 // see http://www.cl.cam.ac.uk/~mgk25/unicode.html#utf-8 342 342 $char = pack('C*', $ord_var_c, 343 ord($var {$c + 1}),344 ord($var {$c + 2}),345 ord($var {$c + 3}),346 ord($var {$c + 4}),347 ord($var {$c + 5}));343 ord($var), 344 ord($var), 345 ord($var), 346 ord($var), 347 ord($var)); 348 348 $c += 5; 349 349 $utf16 = $this->utf82utf16($char); … … 520 520 521 521 $substr_chrs_c_2 = substr($chrs, $c, 2); 522 $ord_chrs_c = ord($chrs {$c});522 $ord_chrs_c = ord($chrs); 523 523 524 524 switch (true) { … … 550 550 if (($delim == '"' && $substr_chrs_c_2 != '\\\'') || 551 551 ($delim == "'" && $substr_chrs_c_2 != '\\"')) { 552 $utf8 .= $chrs {++$c};552 $utf8 .= $chrs; 553 553 } 554 554 break; … … 563 563 564 564 case ($ord_chrs_c >= 0x20) && ($ord_chrs_c <= 0x7F): 565 $utf8 .= $chrs {$c};565 $utf8 .= $chrs; 566 566 break; 567 567 … … 610 610 // array, or object notation 611 611 612 if ($str {0}== '[') {612 if ($str == '[') { 613 613 $stk = array(SERVICES_JSON_IN_ARR); 614 614 $arr = array(); … … 649 649 $substr_chrs_c_2 = substr($chrs, $c, 2); 650 650 651 if (($c == $strlen_chrs) || (($chrs {$c}== ',') && ($top['what'] == SERVICES_JSON_SLICE))) {651 if (($c == $strlen_chrs) || (($chrs == ',') && ($top['what'] == SERVICES_JSON_SLICE))) { 652 652 // found a comma that is not inside a string, array, etc., 653 653 // OR we've reached the end of the character list … … 691 691 } 692 692 693 } elseif ((($chrs {$c} == '"') || ($chrs{$c}== "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) {693 } elseif ((($chrs == "'")) && ($top['what'] != SERVICES_JSON_IN_STR)) { 694 694 // found a quote, and we are not inside a string 695 array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs {$c}));695 array_push($stk, array('what' => SERVICES_JSON_IN_STR, 'where' => $c, 'delim' => $chrs)); 696 696 //print("Found start of string at {$c}\n"); 697 697 698 } elseif (($chrs {$c}== $top['delim']) &&698 } elseif (($chrs == $top['delim']) && 699 699 ($top['what'] == SERVICES_JSON_IN_STR) && 700 700 ((strlen(substr($chrs, 0, $c)) - strlen(rtrim(substr($chrs, 0, $c), '\\'))) % 2 != 1)) { … … 705 705 //print("Found end of string at {$c}: ".substr($chrs, $top['where'], (1 + 1 + $c - $top['where']))."\n"); 706 706 707 } elseif (($chrs {$c}== '[') &&707 } elseif (($chrs == '[') && 708 708 in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { 709 709 // found a left-bracket, and we are in an array, object, or slice … … 711 711 //print("Found start of array at {$c}\n"); 712 712 713 } elseif (($chrs {$c}== ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) {713 } elseif (($chrs == ']') && ($top['what'] == SERVICES_JSON_IN_ARR)) { 714 714 // found a right-bracket, and we're in an array 715 715 array_pop($stk); 716 716 //print("Found end of array at {$c}: ".substr($chrs, $top['where'], (1 + $c - $top['where']))."\n"); 717 717 718 } elseif (($chrs {$c}== '{') &&718 } elseif (($chrs == '{') && 719 719 in_array($top['what'], array(SERVICES_JSON_SLICE, SERVICES_JSON_IN_ARR, SERVICES_JSON_IN_OBJ))) { 720 720 // found a left-brace, and we are in an array, object, or slice … … 722 722 //print("Found start of object at {$c}\n"); 723 723 724 } elseif (($chrs {$c}== '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) {724 } elseif (($chrs == '}') && ($top['what'] == SERVICES_JSON_IN_OBJ)) { 725 725 // found a right-brace, and we're in an object 726 726 array_pop($stk); -
launcher/trunk/includes/getresponse/jsonRPCClient.php
r1187692 r2777870 273 273 $startTime = empty($startTime) ? array_sum(explode(' ', microtime())) : $startTime; 274 274 if (true === $pShow and !empty($debug)) 275 { 275 { 276 276 // get endtime 277 277 $endTime = array_sum(explode(' ', microtime())); -
launcher/trunk/launcher.php
r2028849 r2777870 5 5 Description: Launching a new product, service or website? Launcher is the perfect plugin for you, with a stunning, customizable design, advanced timer & powerful features for running your campaign. 6 6 Author: MyThemeShop 7 Version: 1.0.1 17 Version: 1.0.1 8 8 Author URI: http://mythemeshop.com/ 9 9 */ … … 478 478 ?> 479 479 </table> 480 <input type="hidden" name="wplauncher_options[countdown][date]" id="wplauncher_options-countdown-date" value="<?php echo $this->settings['countdown']['date']; ?>">480 <input type="hidden" name="wplauncher_options[countdown][date]" id="wplauncher_options-countdown-date" value="<?php echo ; ?>"> 481 481 </div> 482 482 … … 507 507 <td> 508 508 <a href="https://auth.aweber.com/1.0/oauth/authorize_app/a3f7ff6f" target="_blank" class="button wplauncher-aweber-connect"><?php isset($this->settings['subscribe']['aweber']['access_key']) && $this->settings['subscribe']['aweber']['access_key'] == '' ? _e( 'Get Authorization Code', 'launcher' ) : _e( 'Reconnect Account', 'launcher' ); ?></a> 509 <input type="hidden" id="wplauncher_options-subscribe-aweber-consumer_key" name="wplauncher_options[subscribe][aweber][consumer_key]" value="<?php echo (isset($this->settings['subscribe']['aweber']['consumer_key']) ? $this->settings['subscribe']['aweber']['consumer_key'] :''); ?>" />510 <input type="hidden" id="wplauncher_options-subscribe-aweber-consumer_secret" name="wplauncher_options[subscribe][aweber][consumer_secret]" value="<?php echo (isset($this->settings['subscribe']['aweber']['consumer_secret']) ? $this->settings['subscribe']['aweber']['consumer_secret'] :''); ?>" />511 <input type="hidden" id="wplauncher_options-subscribe-aweber-access_key" name="wplauncher_options[subscribe][aweber][access_key]" value="<?php echo (isset($this->settings['subscribe']['aweber']['access_key']) ? $this->settings['subscribe']['aweber']['access_key'] :''); ?>" />512 <input type="hidden" id="wplauncher_options-subscribe-aweber-access_secret" name="wplauncher_options[subscribe][aweber][access_secret]" value="<?php echo (isset($this->settings['subscribe']['aweber']['access_secret']) ? $this->settings['subscribe']['aweber']['access_secret'] :''); ?>" />509 <input type="hidden" id="wplauncher_options-subscribe-aweber-consumer_key" name="wplauncher_options[subscribe][aweber][consumer_key]" value="<?php echo (isset($this->settings['subscribe']['aweber']['consumer_key']) ? $this->settings['subscribe']['aweber']['consumer_key'] :''); ?>" /> 510 <input type="hidden" id="wplauncher_options-subscribe-aweber-consumer_secret" name="wplauncher_options[subscribe][aweber][consumer_secret]" value="<?php echo (isset($this->settings['subscribe']['aweber']['consumer_secret']) ? $this->settings['subscribe']['aweber']['consumer_secret'] :''); ?>" /> 511 <input type="hidden" id="wplauncher_options-subscribe-aweber-access_key" name="wplauncher_options[subscribe][aweber][access_key]" value="<?php echo (isset($this->settings['subscribe']['aweber']['access_key']) ? $this->settings['subscribe']['aweber']['access_key'] :''); ?>" /> 512 <input type="hidden" id="wplauncher_options-subscribe-aweber-access_secret" name="wplauncher_options[subscribe][aweber][access_secret]" value="<?php echo (isset($this->settings['subscribe']['aweber']['access_secret']) ? $this->settings['subscribe']['aweber']['access_secret'] :''); ?>" /> 513 513 </td> 514 514 </tr> … … 908 908 909 909 // footer code 910 if ( ! empty( $this->settings['footer_code'] ) && ! LAUNCHER_DISABLE_SCRIPT_INPUT ) 911 echo $this->settings['footer_code']; 910 if ( ! empty( $this->settings['footer_code'] ) && ! LAUNCHER_DISABLE_SCRIPT_INPUT ) { 911 $code = $this->settings['footer_code']; 912 if ( ! defined( 'LAUNCHER_ALLOW_UNFILTERED_HTML' ) || ! LAUNCHER_ALLOW_UNFILTERED_HTML ) { 913 $code = wp_kses_post( $code ); 914 } 915 echo $code; 916 } 917 912 918 913 919 if ( ! $this->is_editor() ) return; // below scripts only needed when in editor mode … … 941 947 if (apply_filters( 'wplauncher_show_admin_bar', true )) { 942 948 ?><link rel="stylesheet" id="open-sans-css" href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600italic%2C300%2C400%2C600&subset=latin%2Clatin-ext&ver=4.1.5" type="text/css" media="all" /> 943 <link rel="stylesheet" href="<?php echo includes_url( 'css/dashicons.min.css'); ?>">944 <link rel="stylesheet" href="<?php echo includes_url( 'css/admin-bar.min.css'); ?>">945 <script type="text/javascript" src="<?php echo includes_url( 'js/admin-bar.min.js'); ?>"></script>949 <link rel="stylesheet" href="<?php echo ); ?>"> 950 <link rel="stylesheet" href="<?php echo ); ?>"> 951 <script type="text/javascript" src="<?php echo ); ?>"></script> 946 952 <?php wp_admin_bar_header(); _admin_bar_bump_cb(); _wp_admin_bar_init(); wp_admin_bar_render(); 947 953 } … … 975 981 $output .= '<script src="'.WPLAUNCHER_URI.'js/jquery.jeditable.min.js"></script>'; 976 982 977 if ( ! empty( $this->settings['header_code'] ) && ! LAUNCHER_DISABLE_SCRIPT_INPUT ) 978 $output .= $this->settings['header_code']; 983 if ( ! empty( $this->settings['header_code'] ) && ! LAUNCHER_DISABLE_SCRIPT_INPUT ) { 984 $code = $this->settings['header_code']; 985 if ( ! defined( 'LAUNCHER_ALLOW_UNFILTERED_HTML' ) || ! LAUNCHER_ALLOW_UNFILTERED_HTML ) { 986 $code = wp_kses_post( $code ); 987 } 988 $output .= $code; 989 } 979 990 980 991 echo apply_filters( 'wplauncher_head', $output ); … … 1160 1171 ob_start(); 1161 1172 ?> 1162 <div class="wplauncher-countdown<?php echo ' '.$classes; ?>" style="<?php echo $style_attr; ?>"<?php echo $color_attrs.$hideable_attrs; ?>><div id="wplauncher-countdown"></div></div>1173 <div class="wplauncher-countdown<?php echo ' '.$classes; ?>" style="<?php echo ; ?>"<?php echo $color_attrs.$hideable_attrs; ?>><div id="wplauncher-countdown"></div></div> 1163 1174 <script type="text/javascript"> 1164 1175 var wplauncher_countdown_refresh_rate = <?php echo $params['refresh_rate']; ?>; 1165 1176 </script> 1166 <script src="<?php echo WPLAUNCHER_URI.'js/jquery.countdown.min.js'; ?>"></script>1177 <script src="<?php echo ; ?>"></script> 1167 1178 <script type="text/javascript"> 1168 1179 jQuery(document).ready(function($) { … … 1412 1423 <form id="wplauncher-subscribe" class="wplauncher-feedburner-form" method="post" action="http://feedburner.google.com/fb/a/mailverify" target="wplwindow"> 1413 1424 <fieldset class="wplauncher-subscribe-fieldset"> 1414 <input name="wplauncher-subscribe-email" id="wplauncher-subscribe-email" type="text" placeholder="<?php echo $this->settings['subscribe']['email_label']; ?>"/>1425 <input name="wplauncher-subscribe-email" id="wplauncher-subscribe-email" type="text" placeholder="<?php echo ; ?>"/> 1415 1426 <input value="<?php echo esc_attr($this->settings['subscribe']['submit_label']); ?>" type="submit" id="wplauncher-subscribe-submit" name="wplauncher-submit" /> 1416 1427 </fieldset> … … 1446 1457 jQuery(document).ready(function($) { 1447 1458 $('#wplauncher-subscribe').submit(function(event) { 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1459 var type = $('#wplauncher-subscribe-service').val(); 1460 if (/*$('#mtsnb-newsletter-type').html() == 'WordPress' ||*/ 1461 type == 'aweber' || 1462 type == 'mailchimp' || 1463 type == 'getresponse' || 1464 type == 'campaignmonitor' || 1465 type == 'madmimi') { 1466 1467 event.preventDefault(); 1468 1469 //$('<i style="margin-left: 10px;" class="mtsnb-submit-spinner fa fa-spinner fa-spin"></i>').insertAfter('.mtsnb-submit'); 1470 $('#wplauncher-subscribe').addClass('submitting'); 1460 1471 1461 1472 var data = { … … 1470 1481 response = $.parseJSON(response); 1471 1482 //$('.mtsnb-submit-spinner').remove(); 1472 1483 $('#wplauncher-subscribe').removeClass('submitting'); 1473 1484 //$('.wplauncher-subscribe-message').html('<i class="fa fa-' + response.status + '"></i> ' + response.message); 1474 1485 $('.wplauncher-subscribe-message').html(response.message); … … 1479 1490 }); 1480 1491 1481 1492 } 1482 1493 }); 1483 1494 }); … … 1512 1523 } 1513 1524 ?> 1514 <tr class="<?php echo $attrs['id'].' '.$row_class; ?>">1515 <th><label for="<?php echo $attrs['id']; ?>"><?php echo wp_filter_post_kses( $label ); ?></label></th>1516 1517 1518 1519 1520 1521 1522 1525 <tr class="<?php echo ; ?>"> 1526 ; ?>"><?php echo wp_filter_post_kses( $label ); ?></label></th> 1527 <td> 1528 <input<?php echo $attributes; ?>> 1529 <?php if (!empty($description)) { ?> 1530 <p class="description"><?php echo wp_filter_post_kses( $description ); ?></p> 1531 <?php } ?> 1532 </td> 1533 </tr> 1523 1534 <?php 1524 1535 } … … 1543 1554 } 1544 1555 ?> 1545 <tr class="<?php echo $attrs['id'].' '.$row_class; ?>">1546 <th><label for="<?php echo $attrs['id']; ?>"><?php echo wp_filter_post_kses( $label ); ?></label></th>1547 1548 1549 1550 1551 1552 1553 1556 <tr class="<?php echo ; ?>"> 1557 ; ?>"><?php echo wp_filter_post_kses( $label ); ?></label></th> 1558 <td> 1559 <textarea<?php echo $attributes; ?>><?php echo esc_textarea($value); ?></textarea> 1560 <?php if (!empty($description)) { ?> 1561 <p class="description"><?php echo wp_filter_post_kses( $description ); ?></p> 1562 <?php } ?> 1563 </td> 1564 </tr> 1554 1565 <?php 1555 1566 } … … 1572 1583 } 1573 1584 ?> 1574 <tr class="<?php echo $attrs['id'].' '.$row_class; ?>">1575 <th><label for="<?php echo $attrs['id']; ?>"><?php echo wp_filter_post_kses( $label ); ?></label></th>1576 1577 1578 1579 1580 <input type="hidden" name="<?php echo $attrs['name']; ?>" value="0">1581 1582 1583 1584 1585 1586 1585 <tr class="<?php echo ; ?>"> 1586 ; ?>"><?php echo wp_filter_post_kses( $label ); ?></label></th> 1587 <td> 1588 <?php if (!empty($description)) { ?> 1589 <p class="description"><label> 1590 <?php } ?> 1591 ; ?>" value="0"> 1592 <input<?php echo $attributes; ?>> 1593 <?php if (!empty($description)) { ?> 1594 <p class="description"><?php echo wp_filter_post_kses( $description ); ?></p> 1595 <?php } ?> 1596 </td> 1597 </tr> 1587 1598 <?php 1588 1599 } … … 1603 1614 } 1604 1615 ?> 1605 <tr class="<?php echo $attrs['id'].' '.$row_class; ?>">1606 <th><label for="<?php echo $attrs['id']; ?>"><?php echo $label; ?></label></th>1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1616 <tr class="<?php echo ; ?>"> 1617 ; ?></label></th> 1618 <td> 1619 <select<?php echo $attributes; ?>> 1620 <?php 1621 foreach ($options as $option_val => $option_label) { 1622 echo '<option value="'.esc_attr( $option_val ).'"'.selected($option_val, $selected, false).'>'.$option_label.'</option>'; 1623 } 1624 ?> 1625 </select> 1626 <?php if (!empty($description)) { ?> 1627 <p class="description"><?php echo wp_filter_post_kses( $description ); ?></p> 1628 <?php } ?> 1629 </td> 1630 </tr> 1620 1631 <?php 1621 1632 } … … 1646 1657 1647 1658 function var_array_lookup($arr, $string) { 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1659 preg_match_all('/\[([^\]]*)\]/', $string, $arr_matches, PREG_PATTERN_ORDER); 1660 1661 $return = $arr; 1662 foreach($arr_matches[1] as $dimension) { 1663 if (isset($return[$dimension])) 1664 $return = $return[$dimension]; 1665 } 1666 1667 return $return; 1668 } 1669 1670 1671 /** 1661 1672 * Ajax newsletter 1662 1673 * … … 1685 1696 echo json_encode(array( 1686 1697 'status' => 'warning', 1687 'message' => __('MailChimp account is not setup properly.' ),1698 'message' => __('MailChimp account is not setup properly.'), 1688 1699 )); 1689 1700 … … 1694 1705 echo json_encode(array( 1695 1706 'status' => 'warning', 1696 'message' => __('MailChimp: No list specified.' ),1707 'message' => __('MailChimp: No list specified.'), 1697 1708 )); 1698 1709 … … 1702 1713 $MailChimp = new WPS_MailChimp($this->settings['subscribe']['mailchimp']['api_key']); 1703 1714 $result = $MailChimp->call('lists/subscribe', array( 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1715 'id' => $this->settings['subscribe']['mailchimp']['list'], 1716 'email' => array('email'=>sanitize_email( $_POST['email']) ), 1717 'merge_vars' => array( 'FNAME'=> sanitize_text_field( $_POST['first_name'] ), 'LNAME'=>sanitize_text_field( $_POST['last_name'] ) ), 1718 'double_optin' => true, 1719 'update_existing' => false, 1720 'replace_interests' => false, 1721 'send_welcome' => true, 1722 )); 1723 1724 if ($result) { 1725 1726 if (isset($result['email'])) { 1716 1727 1717 1728 echo json_encode(array( … … 1721 1732 1722 1733 die(); 1723 1724 1725 1734 } 1735 1736 else if (isset($result['status']) && $result['status'] == 'error') { 1726 1737 echo json_encode(array( 1727 1738 'status' => 'warning', … … 1730 1741 1731 1742 die(); 1732 1733 1734 1735 1743 } 1744 } else { 1745 1746 echo json_encode(array( 1736 1747 'status' => 'warning', 1737 1748 'message' => __('Unable to subscribe.'), … … 1739 1750 1740 1751 die(); 1741 1752 } 1742 1753 } 1743 1754 … … 1797 1808 $api->add_contact( 1798 1809 $this->settings['subscribe']['getresponse']['api_key'], 1799 1800 1801 1802 1803 1810 array ( 1811 'campaign' => $this->settings['subscribe']['getresponse']['campaign'], 1812 'name' => sanitize_text_field( $_POST['first_name'] ) . ' ' . sanitize_text_field( $_POST['last_name'] ), 1813 'email' => sanitize_email( $_POST['email'] ), 1814 ) 1804 1815 ); 1805 1816 … … 1917 1928 } 1918 1929 } 1919 1930 } 1920 1931 1921 1932 $result = $mailer->AddMembership($this->settings['subscribe']['madmimi']['list'], sanitize_email( $_POST['email'] ), array( … … 2230 2241 $lists = new SimpleXMLElement($lists); 2231 2242 2232 2243 if ($lists->list) { 2233 2244 foreach ($lists->list as $l) { 2234 2245 $options .= '<option value="' . $l->attributes()->{'name'}->{0} . '">' . $l->attributes()->{'name'}->{0} . '</option>'; 2235 2246 } 2236 2237 2238 2239 2247 } 2248 2249 if (isset($_POST['list']) && $_POST['list'] != '') { 2250 $options = ''; 2240 2251 foreach ($lists->list as $l) { 2241 2252 -
launcher/trunk/readme.txt
r2387675 r2777870 4 4 Tags: launcher, coming soon, maintenance, countdown, maintenance mode, under construction, pre-launch 5 5 Requires at least: 3.0.1 6 Tested up to: 5.5.17 Stable tag: 1.0.1 16 Tested up to: .1 7 Stable tag: 1.0.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.ht … … 103 103 == Changelog == 104 104 105 106 107 108 105 109 = 1.0.11 = 106 110 * Patched another XSS vulnerability
Note: See TracChangeset
for help on using the changeset viewer.