Changeset 12012 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
- Timestamp:
- 08/10/2022 05:03:34 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-ratings-compat.php
r11385 r12012 363 363 sprintf( 364 364 /* translators: %s: Link to forum user guide explaining this. */ 365 __( '<strong>Error </strong>:Please <a href="%s">do not add links to your review</a>, keep the review about your experience in text only.', 'wporg-forums' ),365 __( '<strong>Error:</strong> Please <a href="%s">do not add links to your review</a>, keep the review about your experience in text only.', 'wporg-forums' ), 366 366 'https://wordpress.org/support/forum-user-guide/faq/#why-are-links-not-allowed-in-reviews' 367 367 ) … … 393 393 if ( bbpress()->errors->get_error_message( 'bbp_topic_title' ) && empty( $_POST['bbp_topic_title'] ) ) { 394 394 bbpress()->errors->remove( 'bbp_topic_title' ); 395 bbp_add_error( 'bbp_topic_title', __( '<strong>Error </strong>:Your review needs a title.', 'wporg-forums' ) );395 bbp_add_error( 'bbp_topic_title', __( '<strong>Error:</strong> Your review needs a title.', 'wporg-forums' ) ); 396 396 } 397 397 398 398 if ( bbpress()->errors->get_error_message( 'bbp_topic_content' ) ) { 399 399 bbpress()->errors->remove( 'bbp_topic_content' ); 400 bbp_add_error( 'bbp_topic_content', __( '<strong>Error </strong>:Your review cannot be empty.', 'wporg-forums' ) );400 bbp_add_error( 'bbp_topic_content', __( '<strong>Error:</strong> Your review cannot be empty.', 'wporg-forums' ) ); 401 401 } 402 402 }
Note: See TracChangeset
for help on using the changeset viewer.