Changeset 50516
- Timestamp:
- 03/09/2021 10:33:47 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-list-table.php
r50362 r50516 1112 1112 // $_column_headers is already set / cached. 1113 1113 if ( isset( $this->_column_headers ) && is_array( $this->_column_headers ) ) { 1114 // Back-compat for list tables that have been manually setting $_column_headers for horse reasons. 1115 // In 4.3, we added a fourth argument for primary column. 1114 /* 1115 * Backward compatibility for `$_column_headers` format prior to WordPress 4.3. 1116 * 1117 * In WordPress 4.3 the primary column name was added as a forth item in the 1118 * column headers property. This ensures the primary column name is included 1119 * in plugins setting the property directly in the three item format. 1120 */ 1116 1121 $column_headers = array( array(), array(), array(), $this->get_primary_column_name() ); 1117 1122 foreach ( $this->_column_headers as $key => $value ) {
Note: See TracChangeset
for help on using the changeset viewer.