Making WordPress.org


Ignore:
Timestamp:
04/10/2019 03:58:51 PM (5 years ago)
Author:
coffee2code
Message:

Main theme: Conditionally output last 'col' tag to prevent display of blank column under Firefox.

Props ishitaka.
Fixes #4379.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-main/inc/template-tags.php

    r7616 r8622  
    99
    1010namespace WordPressdotorg\MainTheme;
     11
     12/**
     13 * Displays table col tags.
     14 */
     15function release_cols() {
     16    ?>
     17    <col width="15%" />
     18    <col width="25%" />
     19    <col width="15%" />
     20    <col width="15%" />
     21    <?php if ( ! defined( 'IS_ROSETTA_NETWORK' ) || ! IS_ROSETTA_NETWORK ) : ?>
     22        <col width="15%" />
     23    <?php endif; ?>
     24    <?php
     25}
    1126
    1227/**
Note: See TracChangeset for help on using the changeset viewer.