diff --git src/wp-includes/ID3/module.audio-video.riff.php src/wp-includes/ID3/module.audio-video.riff.php
index e745ec65f4..77293423fb 100644
|
|
|
class getid3_riff extends getid3_handler |
| 1620 | 1620 | if (!$FoundAllChunksWeNeed) { |
| 1621 | 1621 | $WhereWeWere = $this->ftell(); |
| 1622 | 1622 | $AudioChunkHeader = $this->fread(12); |
| 1623 | | $AudioChunkStreamNum = substr($AudioChunkHeader, 0, 2); |
| 1624 | 1623 | $AudioChunkStreamType = substr($AudioChunkHeader, 2, 2); |
| 1625 | 1624 | $AudioChunkSize = getid3_lib::LittleEndian2Int(substr($AudioChunkHeader, 4, 4)); |
| 1626 | 1625 | |
diff --git src/wp-includes/class-wp-comment-query.php src/wp-includes/class-wp-comment-query.php
index dad512c419..91a4164e41 100644
|
|
|
class WP_Comment_Query { |
| 584 | 584 | if ( ! empty( $this->query_vars['include_unapproved'] ) ) { |
| 585 | 585 | $include_unapproved = wp_parse_list( $this->query_vars['include_unapproved'] ); |
| 586 | 586 | |
| 587 | | $unapproved_ids = array(); |
| 588 | | $unapproved_emails = array(); |
| 589 | 587 | foreach ( $include_unapproved as $unapproved_identifier ) { |
| 590 | 588 | // Numeric values are assumed to be user IDs. |
| 591 | 589 | if ( is_numeric( $unapproved_identifier ) ) { |
diff --git src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php src/wp-includes/rest-api/endpoints/class-wp-rest-revisions-controller.php
index 23f9ada215..e1f5384f0d 100644
|
|
|
class WP_REST_Revisions_Controller extends WP_REST_Controller { |
| 406 | 406 | return $parent; |
| 407 | 407 | } |
| 408 | 408 | |
| 409 | | $parent_post_type = get_post_type_object( $parent->post_type ); |
| 410 | | |
| 411 | 409 | if ( ! current_user_can( 'delete_post', $parent->ID ) ) { |
| 412 | 410 | return new WP_Error( |
| 413 | 411 | 'rest_cannot_delete', |