File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
src/wp-includes/rest-api/endpoints
tests/phpunit/tests/rest-api Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -1255,7 +1255,6 @@ protected function prepare_links( $comment ) {
12551255 'count ' => true ,
12561256 'orderby ' => 'none ' ,
12571257 'type ' => $ comment ->comment_type ,
1258- 'status ' => 'all ' ,
12591258 )
12601259 );
12611260
Original file line number Diff line number Diff line change @@ -4078,7 +4078,7 @@ public function data_note_status_provider() {
40784078 public function test_get_note_with_children_link () {
40794079 $ comment_id_1 = self ::factory ()->comment ->create (
40804080 array (
4081- 'comment_approved ' => 0 ,
4081+ 'comment_approved ' => 1 ,
40824082 'comment_post_ID ' => self ::$ post_id ,
40834083 'user_id ' => self ::$ subscriber_id ,
40844084 'comment_type ' => 'note ' ,
@@ -4087,7 +4087,7 @@ public function test_get_note_with_children_link() {
40874087
40884088 self ::factory ()->comment ->create (
40894089 array (
4090- 'comment_approved ' => 0 ,
4090+ 'comment_approved ' => 1 ,
40914091 'comment_parent ' => $ comment_id_1 ,
40924092 'comment_post_ID ' => self ::$ post_id ,
40934093 'user_id ' => self ::$ subscriber_id ,
You can’t perform that action at this time.
0 commit comments