Ticket #3999: 3999.patch
| File 3999.patch, 3.1 KB (added by , 5 years ago) |
|---|
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/functions.php
621 621 add_action( 'bbp_theme_before_reply_content', 'wporg_support_add_moderation_notice' ); 622 622 623 623 /** 624 * Display a link to create a new topic in the current forum. 625 */ 626 627 function wporg_support_add_new_topic_link () { 628 printf( 629 '<p class="bbp-reply-new-topic-instead"> %s <a href="%s">%s</a></p>', 630 __( 'Do you have a different question?', 'wporg-forums' ), 631 esc_url( bbp_get_forum_permalink( bbp_get_topic_forum_id() ) . '#new-topic-0' ), 632 __( 'Create a new topic instead', 'wporg-forums' ) 633 634 ); 635 } 636 add_action( 'bbp_theme_after_reply_form', 'wporg_support_add_new_topic_link' ); 637 638 /** 624 639 * Change "Stick (to front)" link text to "Stick (to all forums)". 625 640 */ 626 641 function wporg_support_change_super_sticky_text( $links ) { -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/style-rtl.css
3812 3812 text-decoration: none; 3813 3813 } 3814 3814 3815 #bbpress-forums .bbp-reply-new-topic-instead { 3816 font-size: 0.8rem; 3817 text-align: left; 3818 padding-top:5px; 3819 } 3820 3821 @media (max-width:480px){ 3822 #bbpress-forums .bbp-reply-new-topic-instead { 3823 text-align: right; 3824 } 3825 #bbpress-forums .bbp-reply-new-topic-instead a { 3826 display:block; 3827 } 3828 } 3829 3815 3830 .bbpress #bbpress-forums li.bbp-body div.type-topic span.bbp-admin-links, 3816 3831 .bbpress #bbpress-forums li.bbp-body div.type-reply span.bbp-admin-links { 3817 3832 display: none; … … 3860 3875 display: block; 3861 3876 } 3862 3877 3878 3863 3879 .bbpress #bbpress-forums ul.status-closed, 3864 3880 .bbpress #bbpress-forums ul.status-closed a { 3865 3881 color: inherit; -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/style.css
3814 3814 text-decoration: none; 3815 3815 } 3816 3816 3817 #bbpress-forums .bbp-reply-new-topic-instead { 3818 font-size: 0.8rem; 3819 text-align: right; 3820 padding-top:5px; 3821 } 3822 3823 @media (max-width:480px){ 3824 #bbpress-forums .bbp-reply-new-topic-instead { 3825 text-align: left; 3826 } 3827 #bbpress-forums .bbp-reply-new-topic-instead a { 3828 display:block; 3829 } 3830 } 3831 3817 3832 .bbpress #bbpress-forums li.bbp-body div.type-topic span.bbp-admin-links, 3818 3833 .bbpress #bbpress-forums li.bbp-body div.type-reply span.bbp-admin-links { 3819 3834 display: none;