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:
parent
64384b74d8
commit
e00a90c571
|
@ -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 : '';
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue