Make WordPress Core

Ticket #42942: 42942.4.2.diff

File 42942.4.2.diff, 883 bytes (added by lopo, 3 years ago)

Patch refreshed

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

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
    diff --git a/wp-admin/includes/class-wp-media-list-table.php b/wp-admin/includes/class-wp-media-list-table.php
    a b  
    508508                        }
    509509                }
    510510
    511                 echo $h_time;
     511                /**
     512                 * Filters the published time of the post.
     513                 *
     514                 * @since 6.0
     515                 *
     516                 * @param string  $h_time      The published time.
     517                 * @param WP_Post $post        Post object.
     518                 * @param string  $column_name The column name.
     519                 */
     520                echo apply_filters( 'media_date_column_time', $h_time, $post, 'date' );
    512521        }
    513522
    514523        /**