mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00: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:
@@ -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 : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user