Making WordPress.org

Ticket #4701: 4701.diff

File 4701.diff, 1.2 KB (added by netpassprodsr, 5 years ago)

single line relocation to accomplish the fix

  • wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php

    diff --git a/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php b/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
    index 9b4e3ef42..2eb09631a 100644
    a b $plugin_title = $is_closed ? $post->post_name : get_the_title(); 
    5151        </header><!-- .entry-header -->
    5252
    5353        <?php if ( ! get_query_var( 'plugin_advanced' ) ) : ?>
    54                 <script type="text/javascript">if ( '#changelog' == window.location.hash ) { window.location.hash = '#developers'; }</script>
    5554                <span id="description"></span>
    5655                <span id="reviews"></span>
    5756                <span id="installation"></span>
    $plugin_title = $is_closed ? $post->post_name : get_the_title(); 
    6968                        </li>
    7069                        <li id="tablink-developers"><a href="#developers"><?php esc_html_e( 'Development', 'wporg-plugins' ); ?></a></li>
    7170                </ul>
     71                <script type="text/javascript">if ( '#changelog' == window.location.hash ) { window.location.hash = '#developers'; }</script>
    7272        <?php endif; ?>
    7373
    7474        <div class="entry-content">