Media: Maintain the functionnality of the deprecated WP_Media_List_Table::column_desc() method.

Follow-up to [55159].

Props peterwilsoncc, costdev, mukesh27.
Fixes #39710.


git-svn-id: https://develop.svn.wordpress.org/trunk@55249 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2023-02-07 09:06:51 +00:00
parent 4b6d7ebbc5
commit e146f22ddf

View File

@ -503,6 +503,8 @@ class WP_Media_List_Table extends WP_List_Table {
*/
public function column_desc( $post ) {
_deprecated_function( __METHOD__, '6.2.0' );
echo has_excerpt() ? $post->post_excerpt : '';
}
/**