Make WordPress Core

Ticket #39710: 39710.2.diff

File 39710.2.diff, 552 bytes (added by costdev, 13 months ago)

Version number updated and .0 added for consistency with other calls in Core.

  • src/wp-admin/includes/class-wp-media-list-table.php

    diff --git a/src/wp-admin/includes/class-wp-media-list-table.php b/src/wp-admin/includes/class-wp-media-list-table.php
    index 0330b67f3b..ddf471f6d1 100644
    a b class WP_Media_List_Table extends WP_List_Table { 
    501501         * @param WP_Post $post The current WP_Post object.
    502502         */
    503503        public function column_desc( $post ) {
    504                 echo has_excerpt() ? $post->post_excerpt : '';
     504                _deprecated_function( __METHOD__, '6.2.0' );
    505505        }
    506506
    507507        /**