Changeset 4783 for trunk/includes/common/functions.php
- Timestamp:
- 02/28/2013 05:15:01 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/includes/common/functions.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/includes/common/functions.php
r4775 r4783 762 762 * @param string $title The title of the content 763 763 * @param string $content The content being posted 764 * @uses is_super_admin() Allow super admins to bypass blacklist764 * @uses bbp_is_user_keymaster() Allow keymasters to bypass blacklist 765 765 * @uses bbp_current_author_ip() To get current user IP address 766 766 * @uses bbp_current_author_ua() To get current user agent … … 773 773 return true; 774 774 775 // Bail if super adminis author776 if ( is_super_admin( $author_id ) )775 // Bail if keymaster is author 776 if ( bbp_is_user_keymaster( $author_id ) ) 777 777 return true; 778 778 … … 881 881 * @param string $title The title of the content 882 882 * @param string $content The content being posted 883 * @uses is_super_admin() Allow super admins to bypass blacklist883 * @uses bbp_is_user_keymaster() Allow keymasters to bypass blacklist 884 884 * @uses bbp_current_author_ip() To get current user IP address 885 885 * @uses bbp_current_author_ua() To get current user agent … … 892 892 return true; 893 893 894 // Bail if super adminis author895 if ( is_super_admin( $author_id ) )894 // Bail if keymaster is author 895 if ( bbp_is_user_keymaster( $author_id ) ) 896 896 return true; 897 897
Note: See TracChangeset
for help on using the changeset viewer.