Changeset 2759245
- Timestamp:
- 07/20/2022 01:48:28 PM (3 years ago)
- Location:
- polldaddy/trunk
- Files:
-
- 6 edited
-
partials/html-admin-setup-header.php (modified) (1 diff)
-
partials/html-admin-setup-step-1.php (modified) (1 diff)
-
polldaddy-org.php (modified) (1 diff)
-
polldaddy-xml.php (modified) (3 diffs)
-
polldaddy.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
polldaddy/trunk/partials/html-admin-setup-header.php
r2660746 r2759245 14 14 <div class='cs-lower'> 15 15 <h1 id='crowdsignal__logo'><?php esc_html_e( 'Crowdsignal Settings', 'crowdsignal-forms' ); ?></h1> 16 <?php17 // phpcs:ignore WordPress.Security.NonceVerification.Recommended18 if ( isset( $_GET['msg'] ) ) {19 // phpcs:ignore WordPress.Security.NonceVerification.Recommended20 switch ( $_GET['msg'] ) {21 case 'disconnect-fail':22 echo '<div class="error fade crowdsignal-message"><p>' .23 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib24 esc_html__( 'Could not disconnect. Please try again.', 'crowdsignal-forms' ) .25 '</p></div>';26 break;27 case 'disconnected':28 echo '<div class="updated fade crowdsignal-message"><p>' .29 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib30 esc_html__( 'Successfully disconnected from Crowdsignal.', 'crowdsignal-forms' ) .31 '</p></div>';32 break;33 case 'connected':34 echo '<div class="updated crowdsignal-message"><p>' .35 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib36 esc_html__( 'Success! Your Crowdsignal account is successfully connected! You are ready!', 'crowdsignal-forms' ) .37 '</p></div>';38 break;39 case 'api-key-added':40 echo '<div class="updated crowdsignal-message"><p>' .41 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib42 esc_html__( 'You have been connected to Crowdsignal.', 'crowdsignal-forms' ) .43 '</p></div>';44 break;45 case 'api-key-not-added':46 echo '<div class="error fade crowdsignal-message"><p>' .47 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib48 esc_html__( 'Your API key has not been updated, please try again.', 'crowdsignal-forms' ) .49 '</p></div>';50 break;51 }52 }53 ?>16 <?php 17 // phpcs:ignore WordPress.Security.NonceVerification.Recommended 18 if ( isset( $_GET['msg'] ) ) { 19 // phpcs:ignore WordPress.Security.NonceVerification.Recommended 20 switch ( $_GET['msg'] ) { 21 case 'disconnect-fail': 22 echo '<div class="error fade crowdsignal-message"><p>' . 23 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib 24 esc_html__( 'Could not disconnect. Please try again.', 'crowdsignal-forms' ) . 25 '</p></div>'; 26 break; 27 case 'disconnected': 28 echo '<div class="updated fade crowdsignal-message"><p>' . 29 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib 30 esc_html__( 'Successfully disconnected from Crowdsignal.', 'crowdsignal-forms' ) . 31 '</p></div>'; 32 break; 33 case 'connected': 34 echo '<div class="updated crowdsignal-message"><p>' . 35 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib 36 esc_html__( 'Success! Your Crowdsignal account is successfully connected! You are ready!', 'crowdsignal-forms' ) . 37 '</p></div>'; 38 break; 39 case 'api-key-added': 40 echo '<div class="updated crowdsignal-message"><p>' . 41 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib 42 esc_html__( 'You have been connected to Crowdsignal.', 'crowdsignal-forms' ) . 43 '</p></div>'; 44 break; 45 case 'api-key-not-added': 46 echo '<div class="error fade crowdsignal-message"><p>' . 47 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Content is svg from internal lib 48 esc_html__( 'Your API key has not been updated, please try again.', 'crowdsignal-forms' ) . 49 '</p></div>'; 50 break; 51 } 52 } 53 ?> -
polldaddy/trunk/partials/html-admin-setup-step-1.php
r2660746 r2759245 75 75 location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, 76 76 width=${ parseInt( popupWidth, 10 ) }, 77 height=${ parseInt( popupHeight, 10 ) },77 height=${ parseInt( popupHeight, 10 ) }, 78 78 top=${ parseInt( top, 10 ) }, 79 79 left=${ parseInt( left, 10 ) } 80 80 ` 81 ) 81 ); 82 82 83 83 if ( window.focus ) CSCONNECT.focus(); -
polldaddy/trunk/polldaddy-org.php
r2680848 r2759245 653 653 } 654 654 655 echo '<div class="updated"><p><strong>' . sprintf( __( ' Warning! The Crowdsignal plugin must be linked toyour Crowdsignal.com account. Please visit the <a href="%s">plugin settings page</a> to login.', 'polldaddy' ), admin_url( 'options-general.php?page=crowdsignal-settings' ) ) . '</strong></p></div>';655 echo '<div class="updated"><p><strong>' . sprintf( __( 'Crowdsignal features will be unavailable until you link your Crowdsignal.com account. Please visit the <a href="%s">plugin settings page</a> to login.', 'polldaddy' ), admin_url( 'options-general.php?page=crowdsignal-settings' ) ) . '</strong></p></div>'; 656 656 } 657 657 add_action( 'admin_notices', 'polldaddy_login_warning' ); -
polldaddy/trunk/polldaddy-xml.php
r2578991 r2759245 752 752 } 753 753 754 function tag_open( &$parser, $tag, $attributes ) {754 function tag_open( $parser, $tag, $attributes ) { 755 755 $object_pos = $this->object_pos; 756 756 if ( $this->object_stack ) { … … 783 783 } 784 784 785 function text( &$parser, $text ) {785 function text( $parser, $text ) { 786 786 if ( !$this->object_stack ) 787 787 return; … … 810 810 } 811 811 812 function tag_close( &$parser, $tag ) {812 function tag_close( $parser, $tag ) { 813 813 if ( isset( $this->polldaddy_objects[$tag] ) ) { 814 814 if ( $tag !== $this->object_stack[$this->object_pos]['tag'] ) -
polldaddy/trunk/polldaddy.php
r2754707 r2759245 6 6 * Author: Automattic, Inc. 7 7 * Author URL: https://crowdsignal.com/ 8 * Version: 3.0. 88 * Version: 3.0.9 9 9 */ 10 10 -
polldaddy/trunk/readme.txt
r2754707 r2759245 4 4 Requires at least: 5.5 5 5 Requires PHP: 5.6 6 Tested up to: 5.97 Stable tag: 3.0. 86 Tested up to: 6.0 7 Stable tag: 3.0.9 8 8 9 9 == Description == … … 90 90 91 91 == Upgrade Notice == 92 Minor bugfix release 92 Bug and security fixes 93 93 94 94 == Changelog == 95 96 = 3.0.9 97 * Prevent warnings due to by-ref arguments 98 * Improve renderer syntax 95 99 96 100 = 3.0.8
Note: See TracChangeset
for help on using the changeset viewer.