Making WordPress.org


Ignore:
Timestamp:
01/19/2017 10:05:20 PM (8 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Avoid a PHP notice introduced in [4722].

$forum_id is undefined in sidebar.php.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sidebar.php

    r4722 r4738  
    3131                    <?php endif; ?>
    3232                    <?php if ( is_user_logged_in() ) : ?>
    33                         <li class="forum-subscribe"><?php bbp_forum_subscription_link( array( 'forum_id' => $forum_id ) ); ?></li>
     33                        <li class="forum-subscribe"><?php bbp_forum_subscription_link(); ?></li>
    3434                    <?php endif; ?>
    3535                </ul>
Note: See TracChangeset for help on using the changeset viewer.