Ticket #5216: 5216.patch
File 5216.patch, 25.2 KB (added by , 3 years ago) |
---|
-
common/includes/wporg-sso/wp-plugin.php
96 96 if ( ! empty( $support_user->allcaps['bbp_blocked'] ) ) { 97 97 return new WP_Error( 98 98 'blocked_account', 99 __( '<strong>E RROR</strong>: Your account has been disabled.', 'wporg' ) . '<br>' .99 __( '<strong>Error</strong>: Your account has been disabled.', 'wporg' ) . '<br>' . 100 100 sprintf( 101 101 __( 'Please contact %s for more details.', 'wporg' ), 102 102 '<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
333 333 return; 334 334 335 335 echo '<div class="error"><p>'; 336 printf( __( 'E RROR: The username configured for posting jobs — %s — does not exist.', 'jobswp' ), $jobposter_username );336 printf( __( 'Error: The username configured for posting jobs — %s — does not exist.', 'jobswp' ), $jobposter_username ); 337 337 echo '</p></div>'; 338 338 } 339 339 -
jobs.wordpress.net/public_html/wp-content/themes/jobswp/content-post-job.php
4 4 5 5 <div class="notice notice-error"> 6 6 <?php if ( is_string( $_POST['errors'] ) ) 7 echo sprintf( __( '<strong>E RROR:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) );7 echo sprintf( __( '<strong>Error:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) ); 8 8 else 9 _e( '<strong>E RROR:</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' ); 10 10 ?> 11 11 <?php do_action( 'jobswp_notice', 'error' ); ?> 12 12 </div> -
jobs.wordpress.net/public_html/wp-content/themes/jobswp/page-remove-a-job.php
27 27 <div class="entry-content"> 28 28 <div class="notice notice-error"> 29 29 <?php if ( is_string( $_POST['errors'] ) ) { 30 echo sprintf( __( '<strong>E RROR:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) );30 echo sprintf( __( '<strong>Error:</strong> %s', 'jobswp' ), esc_html( $_POST['errors'] ) ); 31 31 } else { 32 _e( '<strong>E RROR:</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' ); 33 33 } ?> 34 34 <?php do_action( 'jobswp_notice', 'error' ); ?> 35 35 </div> -
wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
564 564 } 565 565 566 566 if ( '' == $comment_content ) { 567 wp_die( __( 'E RROR: please type a comment.', 'wporg-plugins' ) );567 wp_die( __( 'Error: please type a comment.', 'wporg-plugins' ) ); 568 568 } 569 569 570 570 $comment_parent = 0; -
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-moderators.php
297 297 298 298 // Check for empty post id. 299 299 if ( ! $post ) { 300 bbp_add_error( 'wporg_bbp_archive_post_id', __( '<strong>E RROR</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' ) ); 301 301 302 302 // Check for current user. 303 303 } elseif ( empty( $user_id ) ) { 304 bbp_add_error( 'wporg_bbp_archive_logged_in', __( '<strong>E RROR</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' ) ); 305 305 306 306 // Check nonce. 307 307 } elseif ( ! bbp_verify_nonce_request( 'toggle-post-archive_' . $user_id . '_' . $post->ID ) ) { 308 bbp_add_error( 'wporg_bbp_archive_nonce', __( '<strong>E RROR</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' ) ); 309 309 310 310 } 311 311 … … 332 332 if ( true === $success ) { 333 333 bbp_redirect( $permalink ); 334 334 } elseif ( true === $is_archived && 'wporg_bbp_archive_post' === $action ) { 335 bbp_add_error( 'wporg_bbp_archive_post', __( '<strong>E RROR</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' ) ); 336 336 } elseif ( false === $is_archived && 'wporg_bbp_unarchive_post' === $action ) { 337 bbp_add_error( 'wporg_bbp_unarchive_post', __( '<strong>E RROR</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' ) ); 338 338 } 339 339 } 340 340 … … 685 685 // Make sure topic exists 686 686 $topic = bbp_get_topic( $topic_id ); 687 687 if ( empty( $topic ) ) { 688 bbp_add_error( 'bbp_toggle_topic_missing', __( '<strong>E RROR:</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' ) ); 689 689 return; 690 690 } 691 691 692 692 // What is the user doing here? 693 693 if ( ! current_user_can( 'edit_topic', $topic_id ) ) { 694 bbp_add_error( 'bbp_toggle_topic_permission', __( '<strong>E RROR:</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' ) ); 695 695 return; 696 696 } 697 697 … … 749 749 // Make sure reply exists 750 750 $reply = bbp_get_reply( $reply_id ); 751 751 if ( empty( $reply ) ) { 752 bbp_add_error( 'bbp_toggle_reply_missing', __( '<strong>E RROR:</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' ) ); 753 753 return; 754 754 } 755 755 756 756 // What is the user doing here? 757 757 if ( ! current_user_can( 'edit_reply', $reply_id ) ) { 758 bbp_add_error( 'bbp_toggle_reply_permission', __( '<strong>E RROR:</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' ) ); 759 759 return; 760 760 } 761 761 … … 813 813 814 814 if ( bbp_is_topic_open( $r['id'] ) ) { 815 815 $retval['status'] = bbp_close_topic( $r['id'] ); 816 $retval['message'] = __( '<strong>E RROR</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' ); 817 817 } 818 818 819 819 break; … … 823 823 824 824 if ( ! bbp_is_topic_open( $r['id'] ) ) { 825 825 $retval['status'] = bbp_open_topic( $r['id'] ); 826 $retval['message'] = __( '<strong>E RROR</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' ); 827 827 } 828 828 829 829 break; … … 833 833 834 834 if ( ! bbp_is_topic_sticky( $r['id'] ) ) { 835 835 $retval['status'] = bbp_stick_topic( $r['id'], ! empty( $_GET['super'] ) ); 836 $retval['message'] = __( '<strong>E RROR</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' ); 837 837 } 838 838 839 839 break; … … 843 843 844 844 if ( bbp_is_topic_sticky( $r['id'] ) ) { 845 845 $retval['status'] = bbp_unstick_topic( $r['id'] ); 846 $retval['message'] = __( '<strong>E RROR</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' ); 847 847 } 848 848 849 849 break; … … 853 853 854 854 if ( ! bbp_is_topic_spam( $r['id'] ) ) { 855 855 $retval['status'] = bbp_spam_topic( $r['id'] ); 856 $retval['message'] = __( '<strong>E RROR</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' ); 857 857 } 858 858 $retval['view_all'] = true; 859 859 … … 864 864 865 865 if ( bbp_is_topic_spam( $r['id'] ) ) { 866 866 $retval['status'] = bbp_unspam_topic( $r['id'] ); 867 $retval['message'] = __( '<strong>E RROR</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' ); 868 868 } 869 869 $retval['view_all'] = false; 870 870 … … 875 875 876 876 if ( ! bbp_is_topic_pending( $r['id'] ) ) { 877 877 $retval['status'] = bbp_unapprove_topic( $r['id'] ); 878 $retval['message'] = __( '<strong>E RROR</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' ); 879 879 } 880 880 $retval['view_all'] = true; 881 881 … … 886 886 887 887 if ( bbp_is_topic_pending( $r['id'] ) ) { 888 888 $retval['status'] = bbp_approve_topic( $r['id'] ); 889 $retval['message'] = __( '<strong>E RROR</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' ); 890 890 } 891 891 $retval['view_all'] = false; 892 892 … … 926 926 927 927 if ( ! bbp_is_reply_spam( $r['id'] ) ) { 928 928 $retval['status'] = bbp_spam_reply( $r['id'] ); 929 $retval['message'] = __( '<strong>E RROR</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' ); 930 930 } 931 931 $retval['view_all'] = true; 932 932 … … 937 937 938 938 if ( bbp_is_reply_spam( $r['id'] ) ) { 939 939 $retval['status'] = bbp_unspam_reply( $r['id'] ); 940 $retval['message'] = __( '<strong>E RROR</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' ); 941 941 } 942 942 $retval['view_all'] = false; 943 943 … … 948 948 949 949 if ( ! bbp_is_reply_pending( $r['id'] ) ) { 950 950 $retval['status'] = bbp_unapprove_reply( $r['id'] ); 951 $retval['message'] = __( '<strong>E RROR</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' ); 952 952 } 953 953 $retval['view_all'] = true; 954 954 … … 959 959 960 960 if ( bbp_is_reply_pending( $r['id'] ) ) { 961 961 $retval['status'] = bbp_approve_reply( $r['id'] ); 962 $retval['message'] = __( '<strong>E RROR</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' ); 963 963 } 964 964 $retval['view_all'] = false; 965 965 -
wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-stickies-compat.php
119 119 120 120 // Check for empty topic or term id. 121 121 if ( ! $topic || ! $term ) { 122 bbp_add_error( 'wporg_bbp_sticky_topic_id', __( '<strong>E RROR</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' ) ); 123 123 124 124 // Check user. 125 125 } elseif ( ! $this->user_can_stick( $user_id, $term->term_id, $topic->ID ) ) { 126 bbp_add_error( 'wporg_bbp_sticky_logged_in', __( '<strong>E RROR</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' ) ); 127 127 128 128 // Check nonce. 129 129 } elseif( ! bbp_verify_nonce_request( 'toggle-topic-sticky_' . $topic->ID . '_' . $term->term_id ) ) { 130 bbp_add_error( 'wporg_bbp_sticky_nonce', __( '<strong>E RROR</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' ) ); 131 131 } 132 132 133 133 if ( bbp_has_errors() ) { … … 149 149 if ( $success && ! is_wp_error( $success ) ) { 150 150 bbp_redirect( $permalink ); 151 151 } elseif ( true === $is_sticky && 'wporg_bbp_stick_compat_topic' == $action ) { 152 bbp_add_error( 'wporg_bbp_stick_compat_topic', __( '<strong>E RROR</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' ) ); 153 153 } elseif ( false === $is_sticky && 'wporg_bbp_unstick_compat_topic' == $action ) { 154 bbp_add_error( 'wporg_bbp_unstick_compat_topic', __( '<strong>E RROR</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' ) ); 155 155 } 156 156 } 157 157 -
wordpress.org/public_html/wp-content/plugins/wporg-bbp-term-subscription/inc/class-plugin.php
102 102 // Check for empty term id. 103 103 if ( ! $term ) { 104 104 /* translators: Term: topic tag */ 105 bbp_add_error( 'wporg_bbp_subscribe_term_id', __( '<strong>E RROR</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' ) ); 106 106 107 107 // Check for current user. 108 108 } elseif ( empty( $user_id ) ) { 109 bbp_add_error( 'wporg_bbp_subscribe_logged_id', __( '<strong>E RROR</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' ) ); 110 110 111 111 // Check nonce. 112 112 } elseif ( ! bbp_verify_nonce_request( 'toggle-term-subscription_' . $user_id . '_' . $term_id . '_' . $this->taxonomy ) ) { 113 bbp_add_error( 'wporg_bbp_subscribe_nonce', __( '<strong>E RROR</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' ) ); 114 114 115 115 // Check current user's ability to spectate. 116 116 } elseif ( ! current_user_can( 'spectate' ) ) { 117 bbp_add_error( 'wporg_bbp_subscribe_permissions', __( '<strong>E RROR</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' ) ); 118 118 } 119 119 120 120 if ( bbp_has_errors() ) { … … 142 142 bbp_redirect( $redirect ); 143 143 } elseif ( true === $is_subscribed && 'wporg_bbp_subscribe_term' === $action ) { 144 144 /* translators: Term: topic tag */ 145 bbp_add_error( 'wporg_bbp_subscribe_user', __( '<strong>E RROR</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' ) ); 146 146 } elseif ( false === $is_subscribed && 'wporg_bbp_unsubscribe_term' === $action ) { 147 147 /* translators: Term: topic tag */ 148 bbp_add_error( 'wporg_bbp_unsubscribe_user', __( '<strong>E RROR</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' ) ); 149 149 } 150 150 } 151 151 -
wordpress.org/public_html/wp-content/plugins/wporg-bbp-topic-resolution/inc/class-plugin.php
286 286 287 287 // Check for empty topic id. 288 288 if ( empty( $topic_id ) || ! $topic ) { 289 bbp_add_error( 'wporg_bbp_topic_resolution_topic_id', __( '<strong>E RROR</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' ) ); 290 290 291 291 // Check valid resolution. 292 292 } elseif ( ! $this->is_valid_topic_resolution( $resolution ) ) { 293 bbp_add_error( 'wporg_bbp_topic_resolution_invalid', __( '<strong>E RROR</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' ) ); 294 294 295 295 // Check user permissions. 296 296 } elseif ( ! $this->user_can_resolve( $user_id, $topic->ID ) ) { 297 bbp_add_error( 'wporg_bbp_topic_resolution_permissions', __( '<strong>E RROR</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' ) ); 298 298 299 299 // Check nonce. 300 300 } elseif ( ! bbp_verify_nonce_request( 'toggle-topic-resolution_' . $topic->ID ) ) { 301 bbp_add_error( 'wporg_bbp_topic_resolution_nonce', __( '<strong>E RROR</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' ) ); 302 302 } 303 303 304 304 if ( bbp_has_errors() ) { -
wordpress.org/public_html/wp-content/plugins/wporg-bbp-user-moderation/inc/class-plugin.php
182 182 $post_id = isset( $_GET['post_id'] ) ? intval( $_GET['post_id'] ) : 0; 183 183 $post = get_post( $post_id ); 184 184 if ( ! $post ) { 185 bbp_add_error( 'wporg_bbp_flag_post_id', __( '<strong>E RROR</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' ) ); 186 186 187 187 // Check that user id matches post author 188 188 } elseif ( $post->post_author != intval( $_GET['user_id'] ) ) { 189 bbp_add_error( 'wporg_bbp_flag_post_user', __( '<strong>E RROR</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' ) ); 190 190 191 191 // Check nonce 192 192 } elseif ( ! bbp_verify_nonce_request( 'toggle-flag_' . $post->post_author . '_' . $post->ID ) ) { 193 bbp_add_error( 'wporg_bbp_flag_nonce', __( '<strong>E RROR</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' ) ); 194 194 195 195 // Check current user's ability to moderate 196 196 } elseif ( ! current_user_can( 'moderate' ) ) { 197 bbp_add_error( 'wporg_bbp_flag_permissions', __( '<strong>E RROR</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' ) ); 198 198 } 199 199 200 200 // Bail if errors … … 217 217 $redirect = bbp_get_topic_permalink( $post_id ); 218 218 bbp_redirect( $redirect ); 219 219 } elseif ( true === $is_flagged && 'bbp_flag_user' === $action ) { 220 bbp_add_error( 'wporg_bbp_flag_user', __( '<strong>E RROR</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' ) ); 221 221 } elseif ( false === $is_flagged && 'bbp_unflag_user' == $action ) { 222 bbp_add_error( 'wporg_bbp_flag_unuser', __( '<strong>E RROR</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' ) ); 223 223 } 224 224 } 225 225 -
wordpress.org/public_html/wp-content/plugins/wporg-two-factor/wporg-two-factor.php
189 189 if ( true !== $provider->validate_authentication( $user ) ) { 190 190 do_action( 'wp_login_failed', $user->user_login ); 191 191 192 self::login_html( $user, '', $_REQUEST['redirect_to'], esc_html__( 'E RROR: Invalid verification code.', 'wporg' ), $provider );192 self::login_html( $user, '', $_REQUEST['redirect_to'], esc_html__( 'Error: Invalid verification code.', 'wporg' ), $provider ); 193 193 exit; 194 194 } 195 195 -
wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/user-content-edit.php
85 85 $comment = trim( (string) $comment_data['comment'] ); 86 86 if ( ! $comment ) { 87 87 // Bail and provide a way back to the edit form if a comment is empty. 88 $msg = __( '<strong>E RROR</strong>: please type a comment.', 'wporg' );88 $msg = __( '<strong>Error</strong>: please type a comment.', 'wporg' ); 89 89 $args = array( 'response' => 200, 'back_link' => true ); 90 90 wp_die( '<p>' . $msg . '</p>', __( 'Comment Submission Failure', 'wporg' ), $args ); 91 91 } -
wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-upload-subtitles/wordpresstv-upload-subtitles.php
303 303 304 304 $file_content = file_get_contents( wp_get_attachment_url( $attachment_post->ID ) ); 305 305 if ( ! $file_content ) { 306 echo '<div class="error"><p>E RROR: 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>'; 307 307 308 308 return; 309 309 } … … 310 310 311 311 $attachment_meta = get_post_meta( $attachment_post->ID, '_wptv_submitted_subtitles', true ); 312 312 if ( empty( $attachment_meta ) ) { 313 echo '<div class="error"><p>E RROR: the attachment post metadata is missing.</p></div>';313 echo '<div class="error"><p>Error: the attachment post metadata is missing.</p></div>'; 314 314 315 315 return; 316 316 }