WordPress.org

Making WordPress.org

Ticket #1544: meta-1544.error-strings.patch

File meta-1544.error-strings.patch, 2.7 KB (added by SergeyBiryukov, 3 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-term-subscription/inc/class-plugin.php

     
    9797
    9898                // Check current user's ability to spectate.
    9999                } 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' ) );
    101101                }
    102102
    103103                if ( bbp_has_errors() ) {
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

     
    245245
    246246                // Check user permissions.
    247247                } 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' ) );
    249249
    250250                // Check nonce.
    251251                } 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

     
    181181
    182182                // Check current user's ability to moderate
    183183                } 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' ) );
    185185                }
    186186
    187187                // Bail if errors