diff --git src/includes/admin/topics.php src/includes/admin/topics.php
index e865dc3..a72b8da 100644
|
|
class BBP_Topics_Admin { |
1087 | 1087 | 0 => '', // Left empty on purpose |
1088 | 1088 | |
1089 | 1089 | // Updated |
1090 | | 1 => sprintf( __( 'Topic updated. <a href="%s">View topic</a>', 'bbpress' ), $topic_url ), |
| 1090 | 1 => sprintf( |
| 1091 | '%1$s <a href="%2$s">%3$s</a>', |
| 1092 | __( 'Topic updated.', 'bbpress' ), |
| 1093 | $topic_url, |
| 1094 | __( 'View topic', 'bbpress' ) |
| 1095 | ), |
1091 | 1096 | |
1092 | 1097 | // Custom field updated |
1093 | 1098 | 2 => __( 'Custom field updated.', 'bbpress' ), |
… |
… |
class BBP_Topics_Admin { |
1105 | 1110 | : false, |
1106 | 1111 | |
1107 | 1112 | // Topic created |
1108 | | 6 => sprintf( __( 'Topic created. <a href="%s">View topic</a>', 'bbpress' ), $topic_url ), |
| 1113 | 6 => sprintf( |
| 1114 | '%1$s <a href="%2$s">%3$s</a>', |
| 1115 | __( 'Topic created.', 'bbpress' ), |
| 1116 | $topic_url, |
| 1117 | __( 'View topic', 'bbpress' ) |
| 1118 | ), |
1109 | 1119 | |
1110 | 1120 | // Topic saved |
1111 | 1121 | 7 => __( 'Topic saved.', 'bbpress' ), |
1112 | 1122 | |
1113 | 1123 | // Topic submitted |
1114 | | 8 => sprintf( __( 'Topic submitted. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ), |
| 1124 | 8 => sprintf( |
| 1125 | '%1$s <a href="%2$s" target="_blank">%3$s</a>', |
| 1126 | __( 'Topic submitted.', 'bbpress' ), |
| 1127 | esc_url( add_query_arg( 'preview', 'true', $topic_url ) ), |
| 1128 | __( 'Preview topic', 'bbpress' ) |
| 1129 | ), |
1115 | 1130 | |
1116 | 1131 | // Topic scheduled |
1117 | 1132 | 9 => sprintf( __( 'Topic scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ), |
… |
… |
class BBP_Topics_Admin { |
1121 | 1136 | $topic_url ), |
1122 | 1137 | |
1123 | 1138 | // Topic draft updated |
1124 | | 10 => sprintf( __( 'Topic draft updated. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ), |
| 1139 | 10 => sprintf( |
| 1140 | '%1$s <a href="%2$s" target="_blank">%3$s</a>', |
| 1141 | __( 'Topic draft updated.', 'bbpress' ), |
| 1142 | esc_url( add_query_arg( 'preview', 'true', $topic_url ) ), |
| 1143 | __( 'Preview topic', 'bbpress' ) |
| 1144 | ), |
1125 | 1145 | ); |
1126 | 1146 | |
1127 | 1147 | return $messages; |