Ticket #1544: meta-1544.error-strings.patch
File meta-1544.error-strings.patch, 2.7 KB (added by , 9 years ago) |
---|
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-term-subscription/inc/class-plugin.php
97 97 98 98 // Check current user's ability to spectate. 99 99 } elseif ( ! current_user_can( 'spectate' ) ) { 100 bbp_add_error( 'wporg_bbp_subscribe_permissions', __( '<strong>ERROR</strong>: You don\'t have permission to do this!', 'wporg-forums' ) );100 bbp_add_error( 'wporg_bbp_subscribe_permissions', __( "<strong>ERROR</strong>: You don't have permission to do this!", 'wporg-forums' ) ); 101 101 } 102 102 103 103 if ( bbp_has_errors() ) { -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
245 245 246 246 // Check user permissions. 247 247 } elseif ( ! $this->user_can_resolve( $user_id, $topic->ID ) ) { 248 bbp_add_error( 'wporg_bbp_topic_resolution_permissions', __( '<strong>ERROR</strong>: You don\t have permission to do this!', 'wporg-forums' ) );248 bbp_add_error( 'wporg_bbp_topic_resolution_permissions', __( "<strong>ERROR</strong>: You don't have permission to do this!", 'wporg-forums' ) ); 249 249 250 250 // Check nonce. 251 251 } elseif ( ! bbp_verify_nonce_request( 'toggle-topic-resolution_' . $topic->ID ) ) { -
sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-moderation/inc/class-plugin.php
181 181 182 182 // Check current user's ability to moderate 183 183 } elseif ( ! current_user_can( 'moderate' ) ) { 184 bbp_add_error( 'wporg_bbp_flag_permissions', __( '<strong>ERROR</strong>: You don\'t have permission to moderate that user!', 'wporg-forums' ) );184 bbp_add_error( 'wporg_bbp_flag_permissions', __( "<strong>ERROR</strong>: You don't have permission to moderate that user!", 'wporg-forums' ) ); 185 185 } 186 186 187 187 // Bail if errors