Skip to:
Content

bbPress.org


Ignore:
Timestamp:
01/02/2021 09:59:08 PM (4 years ago)
Author:
johnjamesjacoby
Message:

Administration: allow post types to support custom-fields.

This commit fixes a regression in 2.6.x by removing the #the-list identifier from the Replies list-table inside of Topic Edit meta-box (phew!) which was causing a duplicate ID collision with the Custom Fields list-table, resulting in the JavaScript for managing them to no longer function.

It subsequently removes all references to #the-list in CSS to completely avoid using this ID for anything, and uses tbody instead for the same effect but with reduced priority (which is a good thing here).

In trunk for 2.7.0. See #3311.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/classes/class-bbp-topic-replies-list-table.php

    r7048 r7171  
    270270            </thead>
    271271
    272             <tbody id="the-list" data-wp-lists='list:<?php echo $this->_args['singular']; ?>'>
     272            <tbody data-wp-lists='list:<?php echo $this->_args['singular']; ?>'>
    273273                <?php $this->display_rows_or_placeholder(); ?>
    274274            </tbody>
Note: See TracChangeset for help on using the changeset viewer.