Changeset 53966
- Timestamp:
- 08/30/2022 03:30:56 PM (3 years ago)
- Location:
- branches/5.7
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.7
- Property svn:mergeinfo changed
/trunk merged: 52412,53958-53960
- Property svn:mergeinfo changed
-
branches/5.7/composer.json
r51839 r53966 34 34 ] 35 35 }, 36 "config": { 37 "allow-plugins": { 38 "dealerdirect/phpcodesniffer-composer-installer": true 39 } 40 }, 36 41 "scripts": { 37 42 "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", -
branches/5.7/src/wp-admin/plugins.php
r49683 r53966 611 611 __( 'The plugin %1$s has been deactivated due to an error: %2$s' ), 612 612 '<code>' . esc_html( $plugin_file ) . '</code>', 613 $error->get_error_message()613 esc_html( $error->get_error_message() ) 614 614 ); 615 615 echo '</p></div>'; … … 675 675 /* translators: %s: Error message. */ 676 676 __( 'Plugin could not be deleted due to an error: %s' ), 677 $delete_result->get_error_message()677 esc_html( $delete_result->get_error_message() ) 678 678 ); 679 679 ?> -
branches/5.7/src/wp-includes/bookmark.php
r48591 r53966 308 308 $query .= " ORDER BY $orderby $order"; 309 309 if ( -1 != $parsed_args['limit'] ) { 310 $query .= ' LIMIT ' . $parsed_args['limit'];310 $query .= ' LIMIT ' . absint( $parsed_args['limit'] ); 311 311 } 312 312 -
branches/5.7/src/wp-includes/post-template.php
r50396 r53966 1089 1089 * @since 1.2.0 1090 1090 * 1091 * @ internal This will probably change at some point...1091 * @deprecated 6.0.2 Use get_post_meta() to retrieve post meta and render manually. 1092 1092 */ 1093 1093 function the_meta() { 1094 _deprecated_function( __FUNCTION__, '6.0.2', 'get_post_meta()' ); 1094 1095 $keys = get_post_custom_keys(); 1095 1096 if ( $keys ) { … … 1107 1108 "<li><span class='post-meta-key'>%s</span> %s</li>\n", 1108 1109 /* translators: %s: Post custom field name. */ 1109 sprintf( _x( '%s:', 'Post custom field name' ), $key),1110 $value1110 esc_html( sprintf( _x( '%s:', 'Post custom field name' ), $key ) ), 1111 esc_html( $value ) 1111 1112 ); 1112 1113
Note: See TracChangeset
for help on using the changeset viewer.