diff --git a/wp-includes/link-template.php b/wp-includes/link-template.php index dd04b24731..9ad18aa6f3 100644 --- a/wp-includes/link-template.php +++ b/wp-includes/link-template.php @@ -1210,8 +1210,9 @@ function get_edit_post_link( $id = 0, $context = 'display' ) { * @param string $before Optional. Display before edit link. * @param string $after Optional. Display after edit link. * @param int $id Optional. Post ID. + * @param string $class Optional. Add custom class to link. */ -function edit_post_link( $text = null, $before = '', $after = '', $id = 0 ) { +function edit_post_link( $text = null, $before = '', $after = '', $id = 0, $class = 'post-edit-link' ) { if ( ! $post = get_post( $id ) ) { return; } @@ -1224,7 +1225,7 @@ function edit_post_link( $text = null, $before = '', $after = '', $id = 0 ) { $text = __( 'Edit This' ); } - $link = '' . $text . ''; + $link = '' . $text . ''; /** * Filter the post edit link anchor tag. diff --git a/wp-includes/version.php b/wp-includes/version.php index 1296056273..d2f837c176 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34097'; +$wp_version = '4.4-alpha-34098'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.