diff --git src/includes/admin/replies.php src/includes/admin/replies.php
index cb7898a..b2f2a9d 100644
|
|
class BBP_Replies_Admin { |
934 | 934 | 0 => '', // Left empty on purpose |
935 | 935 | |
936 | 936 | // Updated |
937 | | 1 => sprintf( __( 'Reply updated. <a href="%s">View topic</a>', 'bbpress' ), $topic_url ), |
| 937 | 1 => sprintf( |
| 938 | '%1$s <a href="%2$s">%3$s</a>', |
| 939 | __( 'Reply updated.', 'bbpress' ), |
| 940 | $topic_url, |
| 941 | __( 'View topic', 'bbpress' ) |
| 942 | ), |
938 | 943 | |
939 | 944 | // Custom field updated |
940 | 945 | 2 => __( 'Custom field updated.', 'bbpress' ), |
… |
… |
class BBP_Replies_Admin { |
952 | 957 | : false, |
953 | 958 | |
954 | 959 | // Reply created |
955 | | 6 => sprintf( __( 'Reply created. <a href="%s">View topic</a>', 'bbpress' ), $topic_url ), |
| 960 | 6 => sprintf( |
| 961 | '%1$s <a href="%2$s">%3$s</a>', |
| 962 | __( 'Reply created.', 'bbpress' ), |
| 963 | $topic_url, |
| 964 | __( 'View topic', 'bbpress' ) |
| 965 | ), |
956 | 966 | |
957 | 967 | // Reply saved |
958 | 968 | 7 => __( 'Reply saved.', 'bbpress' ), |
959 | 969 | |
960 | 970 | // Reply submitted |
961 | | 8 => sprintf( __( 'Reply submitted. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ), |
| 971 | 8 => sprintf( |
| 972 | '%1$s <a href="%2$s" target="_blank">%3$s</a>', |
| 973 | __( 'Reply submitted.', 'bbpress' ), |
| 974 | esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) |
| 975 | __( 'Preview topic', 'bbpress' ) |
| 976 | ), |
962 | 977 | |
963 | 978 | // Reply scheduled |
964 | 979 | 9 => sprintf( __( 'Reply scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview topic</a>', 'bbpress' ), |
… |
… |
class BBP_Replies_Admin { |
968 | 983 | $topic_url ), |
969 | 984 | |
970 | 985 | // Reply draft updated |
971 | | 10 => sprintf( __( 'Reply draft updated. <a target="_blank" href="%s">Preview topic</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $topic_url ) ) ), |
| 986 | 10 => sprintf( |
| 987 | '%1$s <a href="%2$s" target="_blank">%3$s</a>', |
| 988 | __( 'Reply draft updated.', 'bbpress' ), |
| 989 | esc_url( add_query_arg( 'preview', 'true', $topic_url ) ), |
| 990 | __( 'Preview topic', 'bbpress' ) |
| 991 | ), |
972 | 992 | ); |
973 | 993 | |
974 | 994 | return $messages; |