Changeset 34347
- Timestamp:
- 09/20/2015 03:25:45 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/post.php
r34324 r34347 1351 1351 * 1352 1352 * @since 2.9.0 1353 * 1354 * @param string $return Sample permalink HTML markup. 1355 * @param int|WP_Post $id Post object or ID. 1356 * @param string $new_title New sample permalink title. 1357 * @param string $new_slug New sample permalink slug. 1353 * @since 4.4.0 Added `$post` parameter. 1354 * 1355 * @param string $return Sample permalink HTML markup. 1356 * @param int $post_id Post ID. 1357 * @param string $new_title New sample permalink title. 1358 * @param string $new_slug New sample permalink slug. 1359 * @param WP_Post $post Post object. 1358 1360 */ 1359 $return = apply_filters( 'get_sample_permalink_html', $return, $ id, $new_title, $new_slug);1361 $return = apply_filters( 'get_sample_permalink_html', $return, $post->ID, $new_title, $new_slug, $post ); 1360 1362 1361 1363 return $return;
Note: See TracChangeset
for help on using the changeset viewer.