Index: src/wp-includes/post-template.php
===================================================================
--- src/wp-includes/post-template.php	(revision 35432)
+++ src/wp-includes/post-template.php	(working copy)
@@ -236,6 +236,7 @@
  * Retrieve the post content.
  *
  * @since 0.71
+ * @since 4.5.0 Added the `$id` parameter.
  *
  * @global int   $page
  * @global int   $more
@@ -245,12 +246,13 @@
  *
  * @param string $more_link_text Optional. Content for when there is more text.
  * @param bool   $strip_teaser   Optional. Strip teaser content before the more text. Default is false.
+ * @param int|WP_Post $id Optional. Post ID or post object.
  * @return string
  */
-function get_the_content( $more_link_text = null, $strip_teaser = false ) {
+function get_the_content( $more_link_text = null, $strip_teaser = false, $id = null ) {
 	global $page, $more, $preview, $pages, $multipage;
 
-	$post = get_post();
+	$post = get_post( $id );
 
 	if ( null === $more_link_text )
 		$more_link_text = __( '(more&hellip;)' );
@@ -347,15 +349,17 @@
  * Retrieve the post excerpt.
  *
  * @since 0.71
+ * @since 4.5.0 Added the `$id` parameter.
  *
  * @param mixed $deprecated Not used.
+ * @param int|WP_Post $id Optional. Post ID or post object.
  * @return string
  */
-function get_the_excerpt( $deprecated = '' ) {
+function get_the_excerpt( $deprecated = '', $id = null ) {
 	if ( !empty( $deprecated ) )
 		_deprecated_argument( __FUNCTION__, '2.3' );
 
-	$post = get_post();
+	$post = get_post( $id );
 	if ( empty( $post ) ) {
 		return '';
 	}
