Skip to content

Commit 0115b0f

Browse files
author
Ethan Jon
committed
no password posts in related
1 parent d1a997e commit 0115b0f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

wordpress/themes/coderintros/inc/rest_api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ function formatting_callback () {
156156
if ( $request['more_like'] ) {
157157
$args['more_like'] = $request['more_like'];
158158
$args['ep_integrate'] = true;
159+
$args['has_password'] = false;
159160
}
160161
return $args;
161162
}, 10, 2 );

0 commit comments

Comments
 (0)