Skip to:
Content

bbPress.org

Ticket #2881: 2881.04.patch

File 2881.04.patch, 4.2 KB (added by ramiy, 9 years ago)
  • src/includes/admin/admin.php

     
    10551055
    10561056                                                        // Site errored out, no response?
    10571057                                                        if ( is_wp_error( $response ) ) {
    1058                                                                 wp_die( sprintf( __( 'Warning! Problem updating %1$s. Your server may not be able to connect to sites running on it. Error message: <em>%2$s</em>', 'bbpress' ), $siteurl, $response->get_error_message() ) );
     1058                                                                wp_die( sprintf( __( 'Warning! Problem updating %1$s. Your server may not be able to connect to sites running on it. Error message: %2$s', 'bbpress' ), $siteurl, '<em>' . $response->get_error_message() . '</em>' ) );
    10591059                                                        }
    10601060
    10611061                                                        // Switch to the new blog
  • src/includes/admin/forums.php

     
    833833                        8 => sprintf( __( 'Forum submitted. <a target="_blank" href="%s">Preview forum</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $forum_url ) ) ),
    834834
    835835                        // Forum scheduled
    836                         9 => sprintf( __( 'Forum scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview forum</a>', 'bbpress' ),
     836                        9 => sprintf(
     837                                        __( 'Forum scheduled for: %1$s. <a target="_blank" href="%2$s">Preview forum</a>', 'bbpress' ),
    837838                                        // translators: Publish box date format, see http://php.net/date
    838                                         date_i18n( __( 'M j, Y @ G:i', 'bbpress' ),
    839                                         strtotime( $post_date ) ),
    840                                         $forum_url ),
     839                                        '<strong>' . date_i18n( __( 'M j, Y @ G:i', 'bbpress' ), strtotime( $post_date ) ) . '</strong>',
     840                                        $forum_url
     841                                ),
    841842
    842843                        // Forum draft updated
    843844                        10 => sprintf( __( 'Forum draft updated. <a target="_blank" href="%s">Preview forum</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $forum_url ) ) ),
  • src/includes/admin/replies.php

     
    950950                        8 => sprintf( __( 'Reply submitted. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ),
    951951
    952952                        // Reply scheduled
    953                         9 => sprintf( __( 'Reply scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ),
     953                        9 => sprintf(
     954                                        __( 'Reply scheduled for: %1$s. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ),
    954955                                        // translators: Publish box date format, see http://php.net/date
    955                                         date_i18n( __( 'M j, Y @ G:i', 'bbpress' ),
    956                                         strtotime( $post_date ) ),
    957                                         $topic_url ),
     956                                        '<strong>' . date_i18n( __( 'M j, Y @ G:i', 'bbpress' ), strtotime( $post_date ) ) . '</strong>',
     957                                        $topic_url
     958                                ),
    958959
    959960                        // Reply draft updated
    960961                        10 => sprintf( __( 'Reply draft updated. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ),
  • src/includes/admin/topics.php

     
    11031103                        8 => sprintf( __( 'Topic submitted. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ),
    11041104
    11051105                        // Topic scheduled
    1106                         9 => sprintf( __( 'Topic scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ),
     1106                        9 => sprintf(
     1107                                        __( 'Topic scheduled for: %1$s. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ),
    11071108                                        // translators: Publish box date format, see http://php.net/date
    1108                                         date_i18n( __( 'M j, Y @ G:i', 'bbpress' ),
    1109                                         strtotime( $post_date ) ),
    1110                                         $topic_url ),
     1109                                        '<strong>' . date_i18n( __( 'M j, Y @ G:i', 'bbpress' ), strtotime( $post_date ) ) . '</strong>',
     1110                                        $topic_url
     1111                                ),
    11111112
    11121113                        // Topic draft updated
    11131114                        10 => sprintf( __( 'Topic draft updated. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ),