# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: C:\xampp\htdocs\wordtrunk\wp-includes
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
|
|
|
1140 | 1140 | if ( !$user = $this->login($username, $password) ) |
1141 | 1141 | return $this->error; |
1142 | 1142 | |
1143 | | if ( !current_user_can( 'moderate_comments' ) ) |
1144 | | return new IXR_Error( 403, __( 'You are not allowed to moderate comments on this site.' ) ); |
1145 | | |
1146 | 1143 | if ( ! get_comment($comment_ID) ) |
1147 | 1144 | return new IXR_Error( 404, __( 'Invalid comment ID.' ) ); |
1148 | 1145 | |
… |
… |
|
1190 | 1187 | if ( !$user = $this->login($username, $password) ) |
1191 | 1188 | return $this->error; |
1192 | 1189 | |
1193 | | if ( !current_user_can( 'moderate_comments' ) ) |
1194 | | return new IXR_Error( 403, __( 'You are not allowed to moderate comments on this site.' ) ); |
1195 | | |
1196 | 1190 | if ( ! get_comment($comment_ID) ) |
1197 | 1191 | return new IXR_Error( 404, __( 'Invalid comment ID.' ) ); |
1198 | 1192 | |