Ticket #37682: 37682.2.patch
File 37682.2.patch, 1.2 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/post.php
1207 1207 * @since 2.5.0 1208 1208 * 1209 1209 * @param int $id Post ID or post object. 1210 * @param string $title Optional. Title . Default null.1211 * @param string $name Optional. Name . Default null.1212 * @return array Array with two entries of type string.1210 * @param string $title Optional. Title to override the post's current title when generating the post name. Default null. 1211 * @param string $name Optional. Name to override the post name. Default null. 1212 * @return array Array containing the sample permalink with placeholder for the post name, and the post name. 1213 1213 */ 1214 1214 function get_sample_permalink($id, $title = null, $name = null) { 1215 1215 $post = get_post( $id ); … … 1270 1270 * 1271 1271 * @since 4.4.0 1272 1272 * 1273 * @param string $permalink Sample permalink.1273 * @param array $permalink Array containing the sample permalink with placeholder for the post name, and the post name. 1274 1274 * @param int $post_id Post ID. 1275 1275 * @param string $title Post title. 1276 1276 * @param string $name Post name (slug).