Changeset 53969 for branches/5.4
- Timestamp:
- 08/30/2022 03:35:38 PM (3 years ago)
- Location:
- branches/5.4
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.4
- Property svn:mergeinfo changed
/trunk merged: 52412,53958-53960
- Property svn:mergeinfo changed
-
branches/5.4/composer.json
r51844 r53969 20 20 "yoast/phpunit-polyfills": "^1.0.1" 21 21 }, 22 "config": { 23 "allow-plugins": { 24 "dealerdirect/phpcodesniffer-composer-installer": true 25 } 26 }, 22 27 "scripts": { 23 28 "compat": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs --standard=phpcompat.xml.dist --report=summary,source", -
branches/5.4/src/wp-admin/plugins.php
r47198 r53969 494 494 __( 'The plugin %1$s has been deactivated due to an error: %2$s' ), 495 495 '<code>' . esc_html( $plugin_file ) . '</code>', 496 $error->get_error_message()496 esc_html( $error->get_error_message() ) 497 497 ); 498 498 echo '</p></div>'; … … 554 554 /* translators: %s: Error message. */ 555 555 __( 'Plugin could not be deleted due to an error: %s' ), 556 $delete_result->get_error_message()556 esc_html( $delete_result->get_error_message() ) 557 557 ); 558 558 ?> -
branches/5.4/src/wp-includes/bookmark.php
r47219 r53969 307 307 $query .= " ORDER BY $orderby $order"; 308 308 if ( -1 != $parsed_args['limit'] ) { 309 $query .= ' LIMIT ' . $parsed_args['limit'];309 $query .= ' LIMIT ' . absint( $parsed_args['limit'] ); 310 310 } 311 311 -
branches/5.4/src/wp-includes/post-template.php
r47219 r53969 1085 1085 * @since 1.2.0 1086 1086 * 1087 * @ internal This will probably change at some point...1087 * @deprecated 6.0.2 Use get_post_meta() to retrieve post meta and render manually. 1088 1088 */ 1089 1089 function the_meta() { 1090 _deprecated_function( __FUNCTION__, '6.0.2', 'get_post_meta()' ); 1090 1091 $keys = get_post_custom_keys(); 1091 1092 if ( $keys ) { … … 1103 1104 "<li><span class='post-meta-key'>%s</span> %s</li>\n", 1104 1105 /* translators: %s: Post custom field name. */ 1105 sprintf( _x( '%s:', 'Post custom field name' ), $key),1106 $value1106 esc_html( sprintf( _x( '%s:', 'Post custom field name' ), $key ) ), 1107 esc_html( $value ) 1107 1108 ); 1108 1109
Note: See TracChangeset
for help on using the changeset viewer.