Ticket #22338: 22338.4.diff
File 22338.4.diff, 724 bytes (added by , 10 years ago) |
---|
-
src/wp-admin/includes/post.php
1255 1255 $post->post_name = $original_name; 1256 1256 unset($post->filter); 1257 1257 1258 return $permalink; 1258 /** 1259 * Filter the sample permalink. 1260 * 1261 * @since 4.4.0 1262 * 1263 * @param string $permalink Sample permalink. 1264 * @param int $post_id Post ID. 1265 * @param string $title Post title. 1266 * @param string $name Post name (slug). 1267 * @param WP_Post $post Post object. 1268 */ 1269 return apply_filters( 'get_sample_permalink', $permalink, $post->ID, $title, $name, $post ); 1259 1270 } 1260 1271 1261 1272 /**