WordPress.org

Make WordPress Core

Ticket #39710: 39710.diff

File 39710.diff, 536 bytes (added by iandunn, 3 years ago)
  • src/wp-admin/includes/class-wp-media-list-table.php

    diff --git src/wp-admin/includes/class-wp-media-list-table.php src/wp-admin/includes/class-wp-media-list-table.php
    index 97b166e..bbb5b59 100644
    class WP_Media_List_Table extends WP_List_Table { 
    425425         * @param WP_Post $post The current WP_Post object.
    426426         */
    427427        public function column_desc( $post ) {
    428                 echo has_excerpt() ? $post->post_excerpt : '';
     428                _deprecated_function( __METHOD__, '4.8' );
    429429        }
    430430
    431431        /**