Changeset 33659 for trunk/src/wp-includes/link-template.php
- Timestamp:
- 08/20/2015 06:24:00 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/link-template.php
r32964 r33659 287 287 */ 288 288 return apply_filters( 'post_type_link', $post_link, $post, $leavename, $sample ); 289 }290 291 /**292 * Retrieve permalink from post ID.293 *294 * @since 1.0.0295 *296 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default is global $post.297 * @param mixed $deprecated Not used.298 * @return string|false299 */300 function post_permalink( $post_id = 0, $deprecated = '' ) {301 if ( !empty( $deprecated ) )302 _deprecated_argument( __FUNCTION__, '1.3' );303 304 return get_permalink($post_id);305 289 } 306 290
Note: See TracChangeset
for help on using the changeset viewer.