Make WordPress Core

Changeset 34263


Ignore:
Timestamp:
09/17/2015 09:08:14 AM (10 years ago)
Author:
SergeyBiryukov
Message:

Revert unintended change from [34262].

See #33910.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/post.php

    r34262 r34263  
    12571257    unset($post->filter);
    12581258
    1259     /**
    1260      * Filter the sample permalink.
    1261      *
    1262      * @since 4.4.0
    1263      *
    1264      * @param string  $permalink Sample permalink.
    1265      * @param int     $post_id   Post ID.
    1266      * @param string  $title     Post title.
    1267      * @param string  $name      Post name (slug).
    1268      * @param WP_Post $post      Post object.
    1269      */
    1270     return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post );
     1259    return $permalink;
    12711260}
    12721261
Note: See TracChangeset for help on using the changeset viewer.