Make WordPress Core

Ticket #31977: 31977.diff

File 31977.diff, 593 bytes (added by pareshradadiya, 9 years ago)

Hidden checkbox added when the post_type_supports() check is fail for trackbacks

  • src/wp-admin/includes/class-wp-posts-list-table.php

     
    12741274                                        <input type="checkbox" name="ping_status" value="open" />
    12751275                                        <span class="checkbox-title"><?php _e( 'Allow Pings' ); ?></span>
    12761276                                </label>
     1277                        <?php else: ?>
     1278                <input type="checkbox" style="display: none;" name="ping_status" value="open" />
    12771279                        <?php endif; ?>
    12781280                        </div>
    12791281