Ticket #58831: 58831-escaping-function-missing.patch
File 58831-escaping-function-missing.patch, 922 bytes (added by , 3 months ago) |
---|
-
wp-admin/edit-form-comment.php
138 138 <span id="timestamp"> 139 139 <?php 140 140 /* translators: %s: Comment date. */ 141 printf( __( 'Submitted on: %s' ), '<b>' . $submitted. '</b>' );141 printf( __( 'Submitted on: %s' ), '<b>' . esc_html( $submitted ) . '</b>' ); 142 142 ?> 143 143 </span> 144 144 <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js"><span aria-hidden="true"><?php _e( 'Edit' ); ?></span> <span class="screen-reader-text"><?php _e( 'Edit date and time' ); ?></span></a> … … 187 187 printf( 188 188 /* translators: %s: Comment link. */ 189 189 __( 'In reply to: %s' ), 190 '<b><a href="' . $parent_link . '">' . $name. '</a></b>'190 '<b><a href="' . esc_url( $parent_link ) . '">' . esc_html( $name ) . '</a></b>' 191 191 ); 192 192 ?> 193 193 </div>