mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-02 11:21:57 +01:00
Comments: Use correct orderby
parameter name in personal data exporter and eraser.
This ensures that `get_comments()` is called with the correct parameter name in: * `wp_comments_personal_data_exporter()` * `wp_comments_personal_data_eraser()` Follow-up to [42888], [42994]. Props smeunus, kapilpaul, SergeyBiryukov. Fixes #57700. Built from https://develop.svn.wordpress.org/trunk@55324 git-svn-id: http://core.svn.wordpress.org/trunk@54857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
854f388d02
commit
371afa317c
@ -3692,7 +3692,7 @@ function wp_comments_personal_data_exporter( $email_address, $page = 1 ) {
|
||||
'author_email' => $email_address,
|
||||
'number' => $number,
|
||||
'paged' => $page,
|
||||
'order_by' => 'comment_ID',
|
||||
'orderby' => 'comment_ID',
|
||||
'order' => 'ASC',
|
||||
'update_comment_meta_cache' => false,
|
||||
)
|
||||
@ -3815,7 +3815,7 @@ function wp_comments_personal_data_eraser( $email_address, $page = 1 ) {
|
||||
'author_email' => $email_address,
|
||||
'number' => $number,
|
||||
'paged' => $page,
|
||||
'order_by' => 'comment_ID',
|
||||
'orderby' => 'comment_ID',
|
||||
'order' => 'ASC',
|
||||
'include_unapproved' => true,
|
||||
)
|
||||
|
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-beta1-55323';
|
||||
$wp_version = '6.2-beta1-55324';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user