mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@55159 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fcea1a91c8
commit
533b9b10de
@ -497,11 +497,12 @@ class WP_Media_List_Table extends WP_List_Table {
|
||||
* Handles the description column output.
|
||||
*
|
||||
* @since 4.3.0
|
||||
* @deprecated 6.2.0
|
||||
*
|
||||
* @param WP_Post $post The current WP_Post object.
|
||||
*/
|
||||
public function column_desc( $post ) {
|
||||
echo has_excerpt() ? $post->post_excerpt : '';
|
||||
_deprecated_function( __METHOD__, '6.2.0' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user