- Timestamp:
- 10/08/2019 04:00:25 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php
r46272 r46433 1673 1673 } 1674 1674 1675 if ( !current_user_can( 'moderate_comments' ) ) {1676 return false;1675 if ( current_user_can( 'moderate_comments' ) ) { 1676 return true; 1677 1677 } 1678 1678
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)