Skip to:
Content

bbPress.org

Ticket #2881: 2881-strong.patch

File 2881-strong.patch, 3.4 KB (added by ramiy, 9 years ago)

move <strong> tags out of the string

  • 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( __( 'Forum scheduled for: %1$s. <a target="_blank" href="%2$s">Preview forum</a>', 'bbpress' ),
    837837                                        // 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 ),
     838                                        date_i18n( __( 'M j, Y @ G:i', 'bbpress' ), strtotime( $post_date ) ),
     839                                        '<strong>' . $forum_url . '</strong>'
     840                                ),
    841841
    842842                        // Forum draft updated
    843843                        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( __( 'Reply scheduled for: %1$s. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ),
    954954                                        // 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 ),
     955                                        date_i18n( __( 'M j, Y @ G:i', 'bbpress' ), strtotime( $post_date ) ),
     956                                        '<strong>' . $topic_url . '</strong>'
     957                                ),
    958958
    959959                        // Reply draft updated
    960960                        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( __( 'Topic scheduled for: %1$s. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ),
    11071107                                        // 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 ),
     1108                                        date_i18n( __( 'M j, Y @ G:i', 'bbpress' ), strtotime( $post_date ) ),
     1109                                        '<strong>' . $topic_url . '</strong>'
     1110                                ),
    11111111
    11121112                        // Topic draft updated
    11131113                        10 => sprintf( __( 'Topic draft updated. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ),