mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Media: Deprecate unused method WP_Media_List_Table::column_desc()
.
This changeset formally deprecates the `column_desc()` method from `WP_Media_List_Table`, as it was never used anywhere in core. Props iandunn, JeffMatson, antpb, costdev, audrasjb. Fixes #39710. Built from https://develop.svn.wordpress.org/trunk@55159 git-svn-id: http://core.svn.wordpress.org/trunk@54692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c588aebc84
commit
9c04271f60
@ -497,11 +497,12 @@ class WP_Media_List_Table extends WP_List_Table {
|
|||||||
* Handles the description column output.
|
* Handles the description column output.
|
||||||
*
|
*
|
||||||
* @since 4.3.0
|
* @since 4.3.0
|
||||||
|
* @deprecated 6.2.0
|
||||||
*
|
*
|
||||||
* @param WP_Post $post The current WP_Post object.
|
* @param WP_Post $post The current WP_Post object.
|
||||||
*/
|
*/
|
||||||
public function column_desc( $post ) {
|
public function column_desc( $post ) {
|
||||||
echo has_excerpt() ? $post->post_excerpt : '';
|
_deprecated_function( __METHOD__, '6.2.0' );
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.2-alpha-55158';
|
$wp_version = '6.2-alpha-55159';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user