diff --git src/includes/admin/forums.php src/includes/admin/forums.php
index 202a2ca..de2a047 100644
|
|
class BBP_Forums_Admin { |
811 | 811 | 0 => '', // Left empty on purpose |
812 | 812 | |
813 | 813 | // Updated |
814 | | 1 => sprintf( __( 'Forum updated. <a href="%s">View forum</a>', 'bbpress' ), $forum_url ), |
| 814 | 1 => sprintf( |
| 815 | '%1$s <a href="%2$s">%3$s</a>', |
| 816 | __( 'Forum updated.', 'bbpress' ), |
| 817 | $forum_url, |
| 818 | __( 'View forum', 'bbpress' ) |
| 819 | ), |
815 | 820 | |
816 | 821 | // Custom field updated |
817 | 822 | 2 => __( 'Custom field updated.', 'bbpress' ), |
… |
… |
class BBP_Forums_Admin { |
829 | 834 | : false, |
830 | 835 | |
831 | 836 | // Forum created |
832 | | 6 => sprintf( __( 'Forum created. <a href="%s">View forum</a>', 'bbpress' ), $forum_url ), |
| 837 | 6 => sprintf( |
| 838 | '%1$s <a href="%2$s">%3$s</a>', |
| 839 | __( 'Forum created.', 'bbpress' ), |
| 840 | $forum_url, |
| 841 | __( 'View forum', 'bbpress' ) |
| 842 | ), |
833 | 843 | |
834 | 844 | // Forum saved |
835 | 845 | 7 => __( 'Forum saved.', 'bbpress' ), |
836 | 846 | |
837 | 847 | // Forum submitted |
838 | | 8 => sprintf( __( 'Forum submitted. <a target="_blank" href="%s">Preview forum</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $forum_url ) ) ), |
| 848 | 8 => sprintf( |
| 849 | '%1$s <a href="%2$s" target="_blank">%3$s</a>', |
| 850 | __( 'Forum submitted.', 'bbpress' ), |
| 851 | esc_url( add_query_arg( 'preview', 'true', $forum_url ) ), |
| 852 | __( 'Preview forum', 'bbpress' ) |
| 853 | ), |
839 | 854 | |
840 | 855 | // Forum scheduled |
841 | 856 | 9 => sprintf( __( 'Forum scheduled for: <strong>%1$s</strong>. <a target="_blank" href="%2$s">Preview forum</a>', 'bbpress' ), |
… |
… |
class BBP_Forums_Admin { |
845 | 860 | $forum_url ), |
846 | 861 | |
847 | 862 | // Forum draft updated |
848 | | 10 => sprintf( __( 'Forum draft updated. <a target="_blank" href="%s">Preview forum</a>', 'bbpress' ), esc_url( add_query_arg( 'preview', 'true', $forum_url ) ) ), |
| 863 | 10 => sprintf( |
| 864 | '%1$s <a href="%2$s" target="_blank">%3$s</a>', |
| 865 | __( 'Forum draft updated.', 'bbpress' ), |
| 866 | esc_url( add_query_arg( 'preview', 'true', $forum_url ) ), |
| 867 | __( 'Preview forum', 'bbpress' ) |
| 868 | ), |
849 | 869 | ); |
850 | 870 | |
851 | 871 | return $messages; |