Make WordPress Core

Changeset 55159


Ignore:
Timestamp:
01/28/2023 10:15:16 PM (23 months ago)
Author:
audrasjb
Message:

Media: Deprecate unused method WP_Media_List_Table::column_desc().

This changeset formally deprecates the column_desc() method from WP_Media_List_Table, as it was never used anywhere in core.

Props iandunn, JeffMatson, antpb, costdev, audrasjb.
Fixes #39710.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-media-list-table.php

    r54941 r55159  
    498498     *
    499499     * @since 4.3.0
     500     * @deprecated 6.2.0
    500501     *
    501502     * @param WP_Post $post The current WP_Post object.
    502503     */
    503504    public function column_desc( $post ) {
    504         echo has_excerpt() ? $post->post_excerpt : '';
     505        _deprecated_function( __METHOD__, '6.2.0' );
    505506    }
    506507
Note: See TracChangeset for help on using the changeset viewer.