Changeset 7225 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-privacy-data-erasure-request.php
- Timestamp:
- 05/24/2018 10:40:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/page-about-privacy-data-erasure-request.php
r7224 r7225 43 43 } 44 44 45 // TODOSee inc/page-meta-descriptions.php for the meta description for this page.45 // See inc/page-meta-descriptions.php for the meta description for this page. 46 46 47 47 add_action( 'wp_head', function() { … … 58 58 padding: 6px; 59 59 } 60 form.request-form label { 61 display: block; 62 color: #555; 63 font-size: 0.8em; 64 } 60 65 form.request-form input[type="email"] { 61 width: 75%;66 width: 100%; 62 67 } 63 68 </style>'; … … 84 89 <p><?php esc_html_e( 'This will request permanent deletion of your WordPress.org account, and relevant personal or private data stored on WordPress.org, WordPress.net, WordCamp.org, BuddyPress.org, bbPress.org, and other related domains and sites.', 'wporg'); ?></p> 85 90 86 <?php /* translators: link to privacy policy. */ ?> 87 <p><?php printf( esc_html__( 'Not all data can be erased, please review the %s for details.', 'wporg' ), '<a href="/about/privacy/">Privacy Policy</a>' ); ?></p> 91 <p><?php 92 printf( 93 /* translators: link to privacy policy. */ 94 esc_html__( 'Not all data can be erased, please review the %s for details.', 'wporg' ), 95 '<a href="/about/privacy/">' . esc_html_x( 'Privacy Policy', 'Page title', 'wporg' ) . '</a>' 96 ); 97 ?></p> 88 98 89 99 <?php if ( $error_message ) : ?> 90 <p class="error"><strong>An error occured with your request:</strong> <?php echo $error_message; ?></p> 100 101 <p class="error"> 102 <strong><?php esc_html_e( 'An error occured with your request:', 'wporg' ); ?></strong><br> 103 <?php echo $error_message; ?> 104 </p> 91 105 <?php elseif ( $success ) : ?> 92 <p class="success"><strong> Please check your email for a confirmation link.</strong></p>106 <p class="success"><strong><?php esc_html_e( 'Please check your email for a confirmation link, and follow the instructions to authenticate your request.', 'wporg' ); ?></strong></p> 93 107 <?php endif; ?> 94 108 … … 105 119 <form id="erase-request-form" class="request-form" method="POST" action="#"> 106 120 <label for="email"> 107 Email Address121 <?php esc_html_e( 'Email Address', 'wporg' ); ?> 108 122 </label> 109 123 <input 110 124 type="email" 111 125 name="email" id="email" 112 placeholder="you@example.com" 126 placeholder="<?php 127 /* translators: Example placeholder email address */ 128 esc_attr_e( 'you@example.com', 'wporg' ) 129 ?>" 113 130 required 114 131 value="<?php echo esc_attr( $email ); ?>" 115 132 > 116 <br>117 133 <p><?php esc_html_e( 'By submitting this form, you declare that you are the individual owner of the specified email address and its associated accounts; and that all submitted information including any supplemental details necessary to verify your identity are true. You also declare that it is your intention for accounts associated with that email address to be permanently deleted.', 'wporg' ); ?></p> 118 <br/> 119 <?php reCAPTCHA\display_submit_button( esc_attr__( 'Accept Declaration and Request Permanent Account Deletion', 'wporg' ) ); ?> 134 <?php reCAPTCHA\display_submit_button( __( 'Accept Declaration and Request Permanent Account Deletion', 'wporg' ) ); ?> 120 135 <?php if ( is_user_logged_in() ) wp_nonce_field( $nonce_action ); ?> 121 136 </form> 122 137 123 <p>< strong>Please note:</strong> <?php esc_html_e( 'Before we can begin processing your request, we\'ll require that you verify ownership of the email address. If the email address is associated with an account, we\'ll also require you to login to that account first.', 'wporg' ); ?></p>138 <p><?php esc_html_e( "Please Note: Before we can begin processing your request, we'll require that you verify ownership of the email address. If the email address is associated with an account, we'll also require you to login to that account first.", 'wporg' ); ?></p> 124 139 125 140 </section>
Note: See TracChangeset
for help on using the changeset viewer.