Skip to:
Content

bbPress.org


Ignore:
Timestamp:
12/13/2019 10:03:22 PM (5 years ago)
Author:
johnjamesjacoby
Message:

Strings: improve consistency of "ERROR" messaging.

This commit moves a few colons from within their respective <strong> tag to outside of them, making them consistent with a few dozen other usages.

Props casiepa. Fixes #3302. For 2.7, trunk.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/topics/functions.php

    r7006 r7037  
    20182018    $topic = bbp_get_topic( $topic_id );
    20192019    if ( empty( $topic ) ) {
    2020         bbp_add_error( 'bbp_toggle_topic_missing', __( '<strong>ERROR:</strong> This topic could not be found or no longer exists.', 'bbpress' ) );
     2020        bbp_add_error( 'bbp_toggle_topic_missing', __( '<strong>ERROR</strong>: This topic could not be found or no longer exists.', 'bbpress' ) );
    20212021        return;
    20222022    }
     
    20242024    // What is the user doing here?
    20252025    if ( ! current_user_can( 'edit_topic', $topic_id ) || ( 'bbp_toggle_topic_trash' === $action && ! current_user_can( 'delete_topic', $topic_id ) ) ) {
    2026         bbp_add_error( 'bbp_toggle_topic_permission', __( '<strong>ERROR:</strong> You do not have permission to do that.', 'bbpress' ) );
     2026        bbp_add_error( 'bbp_toggle_topic_permission', __( '<strong>ERROR</strong>: You do not have permission to do that.', 'bbpress' ) );
    20272027        return;
    20282028    }
Note: See TracChangeset for help on using the changeset viewer.