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

Follow-up to [55159].

Props peterwilsoncc, costdev, mukesh27.
Fixes #39710.

Built from https://develop.svn.wordpress.org/trunk@55249


git-svn-id: http://core.svn.wordpress.org/trunk@54782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-02-07 09:08:20 +00:00
parent 64384b74d8
commit e00a90c571
2 changed files with 3 additions and 1 deletions

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 : '';
}
/**

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.2-alpha-55248';
$wp_version = '6.2-alpha-55249';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.