WordPress.org

Making WordPress.org

Ticket #5216: 5216.patch

File 5216.patch, 25.2 KB (added by navidos, 11 months ago)
  • common/includes/wporg-sso/wp-plugin.php

     
    9696                                if ( ! empty( $support_user->allcaps['bbp_blocked'] ) ) {
    9797                                        return new WP_Error(
    9898                                                'blocked_account',
    99                                                 __( '<strong>ERROR</strong>: Your account has been disabled.', 'wporg' )  . '<br>' .
     99                                                __( '<strong>Error</strong>: Your account has been disabled.', 'wporg' )  . '<br>' .
    100100                                                sprintf(
    101101                                                        __( 'Please contact %s for more details.', 'wporg' ),
    102102                                                        '<a href="mailto:forum-password-resets@wordpress.org">forum-password-resets@wordpress.org</a>'
  • jobs.wordpress.net/public_html/wp-content/plugins/jobswp/jobswp.php

     
    333333                        return;
    334334
    335335                echo '<div class="error"><p>';
    336                 printf( __( 'ERROR: The username configured for posting jobs &mdash; %s &mdash; does not exist.', 'jobswp' ), $jobposter_username );
     336                printf( __( 'Error: The username configured for posting jobs &mdash; %s &mdash; does not exist.', 'jobswp' ), $jobposter_username );
    337337                echo '</p></div>';
    338338        }
    339339
  • jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job.php

     
    44
    55        <div class="notice notice-error">
    66                <?php if ( is_string( $_POST['errors'] ) )
    7                         echo sprintf( __( '<strong>ERROR:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) );
     7                        echo sprintf( __( '<strong>Error:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) );
    88                else
    9                         _e( '<strong>ERROR:</strong> One or more required fields are missing a value.', 'jobswp' );
     9                        _e( '<strong>Error:</strong> One or more required fields are missing a value.', 'jobswp' );
    1010                ?>
    1111                <?php do_action( 'jobswp_notice', 'error' ); ?>
    1212        </div>
  • jobs.wordpress.net/public_html/wp-content/themes/jobswp/page-remove-a-job.php

     
    2727                        <div class="entry-content">
    2828                                <div class="notice notice-error">
    2929                                        <?php if ( is_string( $_POST['errors'] ) ) {
    30                                                 echo sprintf( __( '<strong>ERROR:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) );
     30                                                echo sprintf( __( '<strong>Error:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) );
    3131                                        } else {
    32                                                 _e( '<strong>ERROR:</strong> One or more required fields are missing a value.', 'jobswp' );
     32                                                _e( '<strong>Error:</strong> One or more required fields are missing a value.', 'jobswp' );
    3333                                        } ?>
    3434                                        <?php do_action( 'jobswp_notice', 'error' ); ?>
    3535                                </div>
  • wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php

     
    564564                }
    565565
    566566                if ( '' == $comment_content ) {
    567                         wp_die( __( 'ERROR: please type a comment.', 'wporg-plugins' ) );
     567                        wp_die( __( 'Error: please type a comment.', 'wporg-plugins' ) );
    568568                }
    569569
    570570                $comment_parent = 0;
  • wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php

     
    297297
    298298                // Check for empty post id.
    299299                if ( ! $post ) {
    300                         bbp_add_error( 'wporg_bbp_archive_post_id', __( '<strong>ERROR</strong>: No post was found! Which post are you archiving?', 'wporg-forums' ) );
     300                        bbp_add_error( 'wporg_bbp_archive_post_id', __( '<strong>Error</strong>: No post was found! Which post are you archiving?', 'wporg-forums' ) );
    301301
    302302                // Check for current user.
    303303                } elseif ( empty( $user_id ) ) {
    304                         bbp_add_error( 'wporg_bbp_archive_logged_in', __( '<strong>ERROR</strong>: You must be logged in to do this!', 'wporg-forums' ) );
     304                        bbp_add_error( 'wporg_bbp_archive_logged_in', __( '<strong>Error</strong>: You must be logged in to do this!', 'wporg-forums' ) );
    305305
    306306                // Check nonce.
    307307                } elseif ( ! bbp_verify_nonce_request( 'toggle-post-archive_' . $user_id . '_' . $post->ID ) ) {
    308                         bbp_add_error( 'wporg_bbp_archive_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
     308                        bbp_add_error( 'wporg_bbp_archive_nonce', __( '<strong>Error</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
    309309
    310310                }
    311311
     
    332332                if ( true === $success ) {
    333333                        bbp_redirect( $permalink );
    334334                } elseif ( true === $is_archived && 'wporg_bbp_archive_post' === $action ) {
    335                         bbp_add_error( 'wporg_bbp_archive_post', __( '<strong>ERROR</strong>: There was a problem archiving that post!', 'wporg-forums' ) );
     335                        bbp_add_error( 'wporg_bbp_archive_post', __( '<strong>Error</strong>: There was a problem archiving that post!', 'wporg-forums' ) );
    336336                } elseif ( false === $is_archived && 'wporg_bbp_unarchive_post' === $action ) {
    337                         bbp_add_error( 'wporg_bbp_unarchive_post', __( '<strong>ERROR</strong>: There was a problem unarchiving that post!', 'wporg-forums' ) );
     337                        bbp_add_error( 'wporg_bbp_unarchive_post', __( '<strong>Error</strong>: There was a problem unarchiving that post!', 'wporg-forums' ) );
    338338                }
    339339        }
    340340
     
    685685                // Make sure topic exists
    686686                $topic = bbp_get_topic( $topic_id );
    687687                if ( empty( $topic ) ) {
    688                         bbp_add_error( 'bbp_toggle_topic_missing', __( '<strong>ERROR:</strong> This topic could not be found or no longer exists.', 'wporg-forums' ) );
     688                        bbp_add_error( 'bbp_toggle_topic_missing', __( '<strong>Error:</strong> This topic could not be found or no longer exists.', 'wporg-forums' ) );
    689689                        return;
    690690                }
    691691
    692692                // What is the user doing here?
    693693                if ( ! current_user_can( 'edit_topic', $topic_id ) ) {
    694                         bbp_add_error( 'bbp_toggle_topic_permission', __( '<strong>ERROR:</strong> You do not have permission to do that.', 'wporg-forums' ) );
     694                        bbp_add_error( 'bbp_toggle_topic_permission', __( '<strong>Error:</strong> You do not have permission to do that.', 'wporg-forums' ) );
    695695                        return;
    696696                }
    697697
     
    749749                // Make sure reply exists
    750750                $reply = bbp_get_reply( $reply_id );
    751751                if ( empty( $reply ) ) {
    752                         bbp_add_error( 'bbp_toggle_reply_missing', __( '<strong>ERROR:</strong> This reply could not be found or no longer exists.', 'wporg-forums' ) );
     752                        bbp_add_error( 'bbp_toggle_reply_missing', __( '<strong>Error:</strong> This reply could not be found or no longer exists.', 'wporg-forums' ) );
    753753                        return;
    754754                }
    755755
    756756                // What is the user doing here?
    757757                if ( ! current_user_can( 'edit_reply', $reply_id ) ) {
    758                         bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>ERROR:</strong> You do not have permission to do that.', 'wporg-forums' ) );
     758                        bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>Error:</strong> You do not have permission to do that.', 'wporg-forums' ) );
    759759                        return;
    760760                }
    761761
     
    813813
    814814                                if ( bbp_is_topic_open( $r['id'] ) ) {
    815815                                        $retval['status']  = bbp_close_topic( $r['id'] );
    816                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem closing the topic.', 'wporg-forums' );
     816                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem closing the topic.', 'wporg-forums' );
    817817                                }
    818818
    819819                                break;
     
    823823
    824824                                if ( ! bbp_is_topic_open( $r['id'] ) ) {
    825825                                        $retval['status']  = bbp_open_topic( $r['id'] );
    826                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem opening the topic.', 'wporg-forums' );
     826                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem opening the topic.', 'wporg-forums' );
    827827                                }
    828828
    829829                                break;
     
    833833
    834834                                if ( ! bbp_is_topic_sticky( $r['id'] ) ) {
    835835                                        $retval['status']  = bbp_stick_topic( $r['id'], ! empty( $_GET['super'] ) );
    836                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem sticking the topic.', 'wporg-forums' );
     836                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem sticking the topic.', 'wporg-forums' );
    837837                                }
    838838
    839839                                break;
     
    843843
    844844                                if ( bbp_is_topic_sticky( $r['id'] ) ) {
    845845                                        $retval['status']  = bbp_unstick_topic( $r['id'] );
    846                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem unsticking the topic.', 'wporg-forums' );
     846                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem unsticking the topic.', 'wporg-forums' );
    847847                                }
    848848
    849849                                break;
     
    853853
    854854                                if ( ! bbp_is_topic_spam( $r['id'] ) ) {
    855855                                        $retval['status']  = bbp_spam_topic( $r['id'] );
    856                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem marking the topic as spam.', 'wporg-forums' );
     856                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem marking the topic as spam.', 'wporg-forums' );
    857857                                }
    858858                                $retval['view_all'] = true;
    859859
     
    864864
    865865                                if ( bbp_is_topic_spam( $r['id'] ) ) {
    866866                                        $retval['status']  = bbp_unspam_topic( $r['id'] );
    867                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem unmarking the topic as spam.', 'wporg-forums' );
     867                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem unmarking the topic as spam.', 'wporg-forums' );
    868868                                }
    869869                                $retval['view_all'] = false;
    870870
     
    875875
    876876                                if ( ! bbp_is_topic_pending( $r['id'] ) ) {
    877877                                        $retval['status']  = bbp_unapprove_topic( $r['id'] );
    878                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem unapproving the topic.', 'wporg-forums' );
     878                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem unapproving the topic.', 'wporg-forums' );
    879879                                }
    880880                                $retval['view_all'] = true;
    881881
     
    886886
    887887                                if ( bbp_is_topic_pending( $r['id'] ) ) {
    888888                                        $retval['status']  = bbp_approve_topic( $r['id'] );
    889                                         $retval['message'] = __( '<strong>ERROR</strong>: There was a problem approving the topic.', 'wporg-forums' );
     889                                        $retval['message'] = __( '<strong>Error</strong>: There was a problem approving the topic.', 'wporg-forums' );
    890890                                }
    891891                                $retval['view_all'] = false;
    892892
     
    926926
    927927                                if ( ! bbp_is_reply_spam( $r['id'] ) ) {
    928928                                        $retval['status']   = bbp_spam_reply( $r['id'] );
    929                                         $retval['message']  = __( '<strong>ERROR</strong>: There was a problem marking the reply as spam.', 'wporg-forums' );
     929                                        $retval['message']  = __( '<strong>Error</strong>: There was a problem marking the reply as spam.', 'wporg-forums' );
    930930                                }
    931931                                $retval['view_all'] = true;
    932932
     
    937937
    938938                                if ( bbp_is_reply_spam( $r['id'] ) ) {
    939939                                        $retval['status']   = bbp_unspam_reply( $r['id'] );
    940                                         $retval['message']  = __( '<strong>ERROR</strong>: There was a problem unmarking the reply as spam.', 'wporg-forums' );
     940                                        $retval['message']  = __( '<strong>Error</strong>: There was a problem unmarking the reply as spam.', 'wporg-forums' );
    941941                                }
    942942                                $retval['view_all'] = false;
    943943
     
    948948
    949949                                if ( ! bbp_is_reply_pending( $r['id'] ) ) {
    950950                                        $retval['status']   = bbp_unapprove_reply( $r['id'] );
    951                                         $retval['message']  = __( '<strong>ERROR</strong>: There was a problem unapproving the reply.', 'wporg-forums' );
     951                                        $retval['message']  = __( '<strong>Error</strong>: There was a problem unapproving the reply.', 'wporg-forums' );
    952952                                }
    953953                                $retval['view_all'] = true;
    954954
     
    959959
    960960                                if ( bbp_is_reply_pending( $r['id'] ) ) {
    961961                                        $retval['status']   = bbp_approve_reply( $r['id'] );
    962                                         $retval['message']  = __( '<strong>ERROR</strong>: There was a problem approving the reply.', 'wporg-forums' );
     962                                        $retval['message']  = __( '<strong>Error</strong>: There was a problem approving the reply.', 'wporg-forums' );
    963963                                }
    964964                                $retval['view_all'] = false;
    965965
  • wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-stickies-compat.php

     
    119119
    120120                // Check for empty topic or term id.
    121121                if ( ! $topic || ! $term ) {
    122                         bbp_add_error( 'wporg_bbp_sticky_topic_id', __( '<strong>ERROR</strong>: No topic was found! Which topic are you sticking?', 'wporg-forums' ) );
     122                        bbp_add_error( 'wporg_bbp_sticky_topic_id', __( '<strong>Error</strong>: No topic was found! Which topic are you sticking?', 'wporg-forums' ) );
    123123
    124124                // Check user.
    125125                } elseif ( ! $this->user_can_stick( $user_id, $term->term_id, $topic->ID ) ) {
    126                         bbp_add_error( 'wporg_bbp_sticky_logged_in', __( '<strong>ERROR</strong>: You do not have permission to do this!', 'wporg-forums' ) );
     126                        bbp_add_error( 'wporg_bbp_sticky_logged_in', __( '<strong>Error</strong>: You do not have permission to do this!', 'wporg-forums' ) );
    127127
    128128                // Check nonce.
    129129                } elseif( ! bbp_verify_nonce_request( 'toggle-topic-sticky_' . $topic->ID . '_' . $term->term_id ) ) {
    130                         bbp_add_error( 'wporg_bbp_sticky_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
     130                        bbp_add_error( 'wporg_bbp_sticky_nonce', __( '<strong>Error</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
    131131                }
    132132
    133133                if ( bbp_has_errors() ) {
     
    149149                if ( $success && ! is_wp_error( $success ) ) {
    150150                        bbp_redirect( $permalink );
    151151                } elseif ( true === $is_sticky && 'wporg_bbp_stick_compat_topic' == $action ) {
    152                         bbp_add_error( 'wporg_bbp_stick_compat_topic', __( '<strong>ERROR</strong>: There was a problem sticking that topic!', 'wporg-forums' ) );
     152                        bbp_add_error( 'wporg_bbp_stick_compat_topic', __( '<strong>Error</strong>: There was a problem sticking that topic!', 'wporg-forums' ) );
    153153                } elseif ( false === $is_sticky && 'wporg_bbp_unstick_compat_topic' == $action ) {
    154                         bbp_add_error( 'wporg_bbp_unstick_compat_topic', __( '<strong>ERROR</strong>: There was a problem unsticking that topic!', 'wporg-forums' ) );
     154                        bbp_add_error( 'wporg_bbp_unstick_compat_topic', __( '<strong>Error</strong>: There was a problem unsticking that topic!', 'wporg-forums' ) );
    155155                }
    156156        }
    157157
  • wordpress.org/public_html/wp-content/plugins/wporg-bbp-term-subscription/inc/class-plugin.php

     
    102102                // Check for empty term id.
    103103                if ( ! $term ) {
    104104                        /* translators: Term: topic tag */
    105                         bbp_add_error( 'wporg_bbp_subscribe_term_id', __( '<strong>ERROR</strong>: No term was found! Which term are you subscribing/unsubscribing to?', 'wporg-forums' ) );
     105                        bbp_add_error( 'wporg_bbp_subscribe_term_id', __( '<strong>Error</strong>: No term was found! Which term are you subscribing/unsubscribing to?', 'wporg-forums' ) );
    106106
    107107                // Check for current user.
    108108                } elseif ( empty( $user_id ) ) {
    109                         bbp_add_error( 'wporg_bbp_subscribe_logged_id', __( '<strong>ERROR</strong>: You must be logged in to do this!', 'wporg-forums' ) );
     109                        bbp_add_error( 'wporg_bbp_subscribe_logged_id', __( '<strong>Error</strong>: You must be logged in to do this!', 'wporg-forums' ) );
    110110
    111111                // Check nonce.
    112112                } elseif ( ! bbp_verify_nonce_request( 'toggle-term-subscription_' . $user_id . '_' . $term_id . '_' . $this->taxonomy ) ) {
    113                         bbp_add_error( 'wporg_bbp_subscribe_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
     113                        bbp_add_error( 'wporg_bbp_subscribe_nonce', __( '<strong>Error</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
    114114
    115115                // Check current user's ability to spectate.
    116116                } elseif ( ! current_user_can( 'spectate' ) ) {
    117                         bbp_add_error( 'wporg_bbp_subscribe_permissions', __( '<strong>ERROR</strong>: You don\'t have permission to do this!', 'wporg-forums' ) );
     117                        bbp_add_error( 'wporg_bbp_subscribe_permissions', __( '<strong>Error</strong>: You don\'t have permission to do this!', 'wporg-forums' ) );
    118118                }
    119119
    120120                if ( bbp_has_errors() ) {
     
    142142                        bbp_redirect( $redirect );
    143143                } elseif ( true === $is_subscribed && 'wporg_bbp_subscribe_term' === $action ) {
    144144                        /* translators: Term: topic tag */
    145                         bbp_add_error( 'wporg_bbp_subscribe_user', __( '<strong>ERROR</strong>: There was a problem subscribing to that term!', 'wporg-forums' ) );
     145                        bbp_add_error( 'wporg_bbp_subscribe_user', __( '<strong>Error</strong>: There was a problem subscribing to that term!', 'wporg-forums' ) );
    146146                } elseif ( false === $is_subscribed && 'wporg_bbp_unsubscribe_term' === $action ) {
    147147                        /* translators: Term: topic tag */
    148                         bbp_add_error( 'wporg_bbp_unsubscribe_user', __( '<strong>ERROR</strong>: There was a problem unsubscribing from that term!', 'wporg-forums' ) );
     148                        bbp_add_error( 'wporg_bbp_unsubscribe_user', __( '<strong>Error</strong>: There was a problem unsubscribing from that term!', 'wporg-forums' ) );
    149149                }
    150150        }
    151151
  • wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php

     
    286286
    287287                // Check for empty topic id.
    288288                if ( empty( $topic_id ) || ! $topic ) {
    289                         bbp_add_error( 'wporg_bbp_topic_resolution_topic_id', __( '<strong>ERROR</strong>: No topic was found!', 'wporg-forums' ) );
     289                        bbp_add_error( 'wporg_bbp_topic_resolution_topic_id', __( '<strong>Error</strong>: No topic was found!', 'wporg-forums' ) );
    290290
    291291                // Check valid resolution.
    292292                } elseif ( ! $this->is_valid_topic_resolution( $resolution ) ) {
    293                         bbp_add_error( 'wporg_bbp_topic_resolution_invalid', __( '<strong>ERROR</strong>: That is not a valid topic resolution!', 'wporg-forums' ) );
     293                        bbp_add_error( 'wporg_bbp_topic_resolution_invalid', __( '<strong>Error</strong>: That is not a valid topic resolution!', 'wporg-forums' ) );
    294294
    295295                // Check user permissions.
    296296                } elseif ( ! $this->user_can_resolve( $user_id, $topic->ID ) ) {
    297                         bbp_add_error( 'wporg_bbp_topic_resolution_permissions', __( '<strong>ERROR</strong>: You don\'t have permission to do this!', 'wporg-forums' ) );
     297                        bbp_add_error( 'wporg_bbp_topic_resolution_permissions', __( '<strong>Error</strong>: You don\'t have permission to do this!', 'wporg-forums' ) );
    298298
    299299                // Check nonce.
    300300                } elseif ( ! bbp_verify_nonce_request( 'toggle-topic-resolution_' . $topic->ID ) ) {
    301                         bbp_add_error( 'wporg_bbp_topic_resolution_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
     301                        bbp_add_error( 'wporg_bbp_topic_resolution_nonce', __( '<strong>Error</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
    302302                }
    303303
    304304                if ( bbp_has_errors() ) {
  • wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-moderation/inc/class-plugin.php

     
    182182                $post_id = isset( $_GET['post_id'] ) ? intval( $_GET['post_id'] ) : 0;
    183183                $post = get_post( $post_id );
    184184                if ( ! $post ) {
    185                         bbp_add_error( 'wporg_bbp_flag_post_id', __( '<strong>ERROR</strong>: No post was found! Which topic or reply are you marking for moderation?', 'wporg-forums' ) );
     185                        bbp_add_error( 'wporg_bbp_flag_post_id', __( '<strong>Error</strong>: No post was found! Which topic or reply are you marking for moderation?', 'wporg-forums' ) );
    186186
    187187                // Check that user id matches post author
    188188                } elseif ( $post->post_author != intval( $_GET['user_id'] ) ) {
    189                         bbp_add_error( 'wporg_bbp_flag_post_user', __( '<strong>ERROR</strong>: That author does not match the flagged post.', 'wporg-forums' ) );
     189                        bbp_add_error( 'wporg_bbp_flag_post_user', __( '<strong>Error</strong>: That author does not match the flagged post.', 'wporg-forums' ) );
    190190
    191191                // Check nonce
    192192                } elseif ( ! bbp_verify_nonce_request( 'toggle-flag_' . $post->post_author . '_' . $post->ID ) ) {
    193                         bbp_add_error( 'wporg_bbp_flag_nonce', __( '<strong>ERROR</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
     193                        bbp_add_error( 'wporg_bbp_flag_nonce', __( '<strong>Error</strong>: Are you sure you wanted to do that?', 'wporg-forums' ) );
    194194
    195195                // Check current user's ability to moderate
    196196                } elseif ( ! current_user_can( 'moderate' ) ) {
    197                         bbp_add_error( 'wporg_bbp_flag_permissions', __( '<strong>ERROR</strong>: You don\'t have permission to moderate that user!', 'wporg-forums' ) );
     197                        bbp_add_error( 'wporg_bbp_flag_permissions', __( '<strong>Error</strong>: You don\'t have permission to moderate that user!', 'wporg-forums' ) );
    198198                }
    199199
    200200                // Bail if errors
     
    217217                        $redirect = bbp_get_topic_permalink( $post_id );
    218218                        bbp_redirect( $redirect );
    219219                } elseif ( true === $is_flagged && 'bbp_flag_user' === $action ) {
    220                         bbp_add_error( 'wporg_bbp_flag_user', __( '<strong>ERROR</strong>: There was a problem flagging that user!', 'wporg-forums' ) );
     220                        bbp_add_error( 'wporg_bbp_flag_user', __( '<strong>Error</strong>: There was a problem flagging that user!', 'wporg-forums' ) );
    221221                } elseif ( false === $is_flagged && 'bbp_unflag_user' == $action ) {
    222                         bbp_add_error( 'wporg_bbp_flag_unuser', __( '<strong>ERROR</strong>: There was a problem unflagging that user!', 'wporg-forums' ) );
     222                        bbp_add_error( 'wporg_bbp_flag_unuser', __( '<strong>Error</strong>: There was a problem unflagging that user!', 'wporg-forums' ) );
    223223                }
    224224        }
    225225
  • wordpress.org/public_html/wp-content/plugins/wporg-two-factor/wporg-two-factor.php

     
    189189                if ( true !== $provider->validate_authentication( $user ) ) {
    190190                        do_action( 'wp_login_failed', $user->user_login );
    191191
    192                         self::login_html( $user, '', $_REQUEST['redirect_to'], esc_html__( 'ERROR: Invalid verification code.', 'wporg' ), $provider );
     192                        self::login_html( $user, '', $_REQUEST['redirect_to'], esc_html__( 'Error: Invalid verification code.', 'wporg' ), $provider );
    193193                        exit;
    194194                }
    195195
  • wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content-edit.php

     
    8585                $comment = trim( (string) $comment_data['comment'] );
    8686                if ( ! $comment ) {
    8787                        // Bail and provide a way back to the edit form if a comment is empty.
    88                         $msg  = __( '<strong>ERROR</strong>: please type a comment.', 'wporg' );
     88                        $msg  = __( '<strong>Error</strong>: please type a comment.', 'wporg' );
    8989                        $args = array( 'response' => 200, 'back_link' => true );
    9090                        wp_die( '<p>' . $msg . '</p>', __( 'Comment Submission Failure', 'wporg' ), $args );
    9191                }
  • wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-upload-subtitles/wordpresstv-upload-subtitles.php

     
    303303
    304304                $file_content = file_get_contents( wp_get_attachment_url( $attachment_post->ID ) );
    305305                if ( ! $file_content ) {
    306                         echo '<div class="error"><p>ERROR: the attached file doesn\'t exist or is empty.</p></div>';
     306                        echo '<div class="error"><p>Error: the attached file doesn\'t exist or is empty.</p></div>';
    307307
    308308                        return;
    309309                }
     
    310310
    311311                $attachment_meta = get_post_meta( $attachment_post->ID, '_wptv_submitted_subtitles', true );
    312312                if ( empty( $attachment_meta ) ) {
    313                         echo '<div class="error"><p>ERROR: the attachment post metadata is missing.</p></div>';
     313                        echo '<div class="error"><p>Error: the attachment post metadata is missing.</p></div>';
    314314
    315315                        return;
    316316                }