diff --git a/wp-content/themes/twentyseventeen/functions.php b/wp-content/themes/twentyseventeen/functions.php index de8dd372ea..4090cbfad8 100644 --- a/wp-content/themes/twentyseventeen/functions.php +++ b/wp-content/themes/twentyseventeen/functions.php @@ -284,13 +284,15 @@ add_action( 'widgets_init', 'twentyseventeen_widgets_init' ); * Replaces "[...]" (appended to automatically generated excerpts) with ... and * a 'Continue reading' link. * - * Create your own twentysixteen_excerpt_more() function to override in a child theme. - * * @since Twenty Seventeen 1.0 * * @return string 'Continue reading' link prepended with an ellipsis. */ -function twentyseventeen_excerpt_more() { +function twentyseventeen_excerpt_more( $link ) { + if ( is_admin() ) { + return $link; + } + $link = sprintf( '', esc_url( get_permalink( get_the_ID() ) ), /* translators: %s: Name of current post */ diff --git a/wp-includes/version.php b/wp-includes/version.php index a4547b4cb3..b378253a89 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.7-beta1-38999'; +$wp_version = '4.7-beta1-39000'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.