Make WordPress Core

Ticket #22338: 22338-refreshed.diff

File 22338-refreshed.diff, 692 bytes (added by wenthemes, 9 years ago)
  • src/wp-admin/includes/post.php

     
    12551255        $post->post_name = $original_name;
    12561256        unset($post->filter);
    12571257
    1258         return $permalink;
     1258  /**
     1259   * Filter sample permalink.
     1260   *
     1261   * @since 4.4.0
     1262   *
     1263   * @param string  $permalink Permalink.
     1264   * @param string  $title Title.
     1265   * @param string  $name Name.
     1266   * @param int     $id Post ID or post object.
     1267   * @param WP_Post $id WP_Post object.
     1268   */
     1269  return apply_filters( 'get_sample_permalink', $permalink, $title, $name, $id, $post );
    12591270}
    12601271
    12611272/**