diff --git a/src/wp-includes/class-wp-taxonomy.php b/src/wp-includes/class-wp-taxonomy.php
index 3a69b76551..e337bccc58 100644
--- a/src/wp-includes/class-wp-taxonomy.php
+++ b/src/wp-includes/class-wp-taxonomy.php
@@ -187,6 +187,38 @@ final class WP_Taxonomy {
 	public $update_count_callback;
 
 	/**
+	 * Whether this taxonomy should appear in the REST API.
+	 *
+	 * Default false. If true, standard endpoints will be registered with
+	 * respect to $rest_base and $rest_controller_class.
+	 *
+	 * @since 4.7.4
+	 * @access public
+	 * @var bool $show_in_rest
+	 */
+	public $show_in_rest;
+
+	/**
+	 * The base path for this taxonomy's REST API endpoints.
+	 *
+	 * @since 4.7.4
+	 * @access public
+	 * @var string|bool $rest_base
+	 */
+	public $rest_base;
+
+	/**
+	 * The controller for this taxonomy's REST API endpoints.
+	 *
+	 * Custom controllers must subclass WP_REST_Controller.
+	 *
+	 * @since 4.7.4
+	 * @access public
+	 * @var string|bool $rest_controller_class
+	 */
+	public $rest_controller_class;
+
+	/**
 	 * Whether it is a built-in taxonomy.
 	 *
 	 * @since 4.7.0
@@ -254,6 +286,9 @@ final class WP_Taxonomy {
 			'rewrite'               => true,
 			'query_var'             => $this->name,
 			'update_count_callback' => '',
+			'show_in_rest'          => false,
+			'rest_base'             => false,
+			'rest_controller_class' => false,
 			'_builtin'              => false,
 		);
 
