Changeset 53971 for branches/5.2
- Timestamp:
- 08/30/2022 03:38:30 PM (2 years ago)
- Location:
- branches/5.2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
- Property svn:mergeinfo changed
/trunk merged: 52412,53958-53960
- Property svn:mergeinfo changed
-
branches/5.2/composer.json
r51846 r53971 16 16 "yoast/phpunit-polyfills": "^1.0.1" 17 17 }, 18 "config": { 19 "allow-plugins": { 20 "dealerdirect/phpcodesniffer-composer-installer": true 21 } 22 }, 18 23 "scripts": { 19 24 "format": "phpcbf --standard=phpcs.xml.dist --report-summary --report-source", -
branches/5.2/src/wp-admin/plugins.php
r49514 r53971 487 487 __( 'The plugin %1$s has been <strong>deactivated</strong> due to an error: %2$s' ), 488 488 '<code>' . esc_html( $plugin_file ) . '</code>', 489 $error->get_error_message()489 esc_html( $error->get_error_message() ) 490 490 ); 491 491 echo '</p></div>'; … … 540 540 if ( is_wp_error( $delete_result ) ) : 541 541 ?> 542 <div id="message" class="error notice is-dismissible"><p><?php printf( __( 'Plugin could not be deleted due to an error: %s' ), $delete_result->get_error_message() ); ?></p></div>542 <div id="message" class="error notice is-dismissible"><p><?php printf( __( 'Plugin could not be deleted due to an error: %s' ), esc_html( $delete_result->get_error_message() ) ); ?></p></div> 543 543 <?php else : ?> 544 544 <div id="message" class="updated notice is-dismissible"> -
branches/5.2/src/wp-includes/bookmark.php
r44546 r53971 293 293 $query .= " ORDER BY $orderby $order"; 294 294 if ( $r['limit'] != -1 ) { 295 $query .= ' LIMIT ' . $r['limit'];295 $query .= ' LIMIT ' . absint( $r['limit'] ); 296 296 } 297 297 -
branches/5.2/src/wp-includes/post-template.php
r45937 r53971 1076 1076 * @since 1.2.0 1077 1077 * 1078 * @ internal This will probably change at some point...1078 * @deprecated 6.0.2 Use get_post_meta() to retrieve post meta and render manually. 1079 1079 */ 1080 1080 function the_meta() { 1081 _deprecated_function( __FUNCTION__, '6.0.2', 'get_post_meta()' ); 1081 1082 if ( $keys = get_post_custom_keys() ) { 1082 1083 $li_html = ''; … … 1093 1094 "<li><span class='post-meta-key'>%s</span> %s</li>\n", 1094 1095 /* translators: %s: Post custom field name */ 1095 sprintf( _x( '%s:', 'Post custom field name' ), $key),1096 $value1096 esc_html( sprintf( _x( '%s:', 'Post custom field name' ), $key ) ), 1097 esc_html( $value ) 1097 1098 ); 1098 1099
Note: See TracChangeset
for help on using the changeset viewer.