Ticket #2910: 2910.patch
File 2910.patch, 2.0 KB (added by , 9 years ago) |
---|
-
src/includes/admin/topics.php
1081 1081 0 => '', // Left empty on purpose 1082 1082 1083 1083 // Updated 1084 1 => sprintf( __( 'Topic updated. <a href="%s">View topic</a>', 'bbpress' ), $topic_url ), 1084 1 => sprintf( 1085 '%1$s <a href="%2$s">%3$s</a>', 1086 __( 'Topic updated.', 'bbpress' ), 1087 $topic_url, 1088 __( 'View topic', 'bbpress' ) 1089 ), 1085 1090 1086 1091 // Custom field updated 1087 1092 2 => __( 'Custom field updated.', 'bbpress' ), … … 1099 1104 : false, 1100 1105 1101 1106 // Topic created 1102 6 => sprintf( __( 'Topic created. <a href="%s">View topic</a>', 'bbpress' ), $topic_url ), 1107 6 => sprintf( 1108 '%1$s <a href="%2$s">%3$s</a>', 1109 __( 'Topic created.', 'bbpress' ), 1110 $topic_url, 1111 __( 'View topic', 'bbpress' ) 1112 ), 1103 1113 1104 1114 // Topic saved 1105 1115 7 => __( 'Topic saved.', 'bbpress' ), 1106 1116 1107 1117 // Topic submitted 1108 8 => sprintf( __( 'Topic submitted. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ), 1118 8 => sprintf( 1119 '%1$s <a href="%2$s" target="_blank">%3$s</a>', 1120 __( 'Topic submitted.', 'bbpress' ), 1121 esc_url( add_query_arg( 'preview', 'true', $topic_url ) ), 1122 __( 'Preview topic', 'bbpress' ), 1123 ), 1109 1124 1110 1125 // Topic scheduled 1111 1126 9 => sprintf( __( 'Topic scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ), … … 1115 1130 $topic_url ), 1116 1131 1117 1132 // Topic draft updated 1118 10 => sprintf( __( 'Topic draft updated. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ), 1133 10 => sprintf( 1134 '%1$s <a href="%2$s" target="_blank">%3$s</a>', 1135 __( 'Topic draft updated.', 'bbpress' ), 1136 esc_url( add_query_arg( 'preview', 'true', $topic_url ) ), 1137 __( 'Preview topic', 'bbpress' ), 1138 ), 1119 1139 ); 1120 1140 1121 1141 return $messages;