Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/04/2017 06:26:55 PM (7 years ago)
Author:
tw2113
Message:

Cleanup from recent Scrutinizer review around documentation and param/return types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-moderation.php

    r10881 r11447  
    5454 * @param string $content    The content being posted.
    5555 * @param string $error_type The error type to return. Either 'bool' or 'wp_error'.
    56  * @return bool True if test is passed, false if fail.
     56 * @return bool|WP_Error True if test is passed, false if fail.
    5757 */
    5858function bp_core_check_for_moderation( $user_id = 0, $title = '', $content = '', $error_type = 'bool' ) {
     
    197197 * @param string $content    The content being posted.
    198198 * @param string $error_type The error type to return. Either 'bool' or 'wp_error'.
    199  * @return bool True if test is passed, false if fail.
     199 * @return bool|WP_Error True if test is passed, false if fail.
    200200 */
    201201function bp_core_check_for_blacklist( $user_id = 0, $title = '', $content = '', $error_type = 'bool' ) {
Note: See TracChangeset for help on using the changeset viewer.