Make WordPress Core

Ticket #58322: 58322.patch

File 58322.patch, 954 bytes (added by Enchiridion, 2 years ago)
  • src/wp-admin/includes/post.php

     
    15551555         * @since 2.9.0
    15561556         * @since 4.4.0 Added `$post` parameter.
    15571557         *
    1558          * @param string  $return    Sample permalink HTML markup.
    1559          * @param int     $post_id   Post ID.
    1560          * @param string  $new_title New sample permalink title.
    1561          * @param string  $new_slug  New sample permalink slug.
    1562          * @param WP_Post $post      Post object.
     1558         * @param string      $return    Sample permalink HTML markup.
     1559         * @param int         $post_id   Post ID.
     1560         * @param string|null $new_title New sample permalink title.
     1561         * @param string|null $new_slug  New sample permalink slug.
     1562         * @param WP_Post $post Post object.
    15631563         */
    15641564        $return = apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post );
    15651565