mirror of
git://develop.git.wordpress.org/
synced 2025-02-06 07:28:49 +01:00
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:
parent
4b6d7ebbc5
commit
e146f22ddf
@ -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 : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user