diff --git a/wp-includes/option.php b/wp-includes/option.php index 265b0bdbe0..f8f3180d5c 100644 --- a/wp-includes/option.php +++ b/wp-includes/option.php @@ -2020,6 +2020,11 @@ function register_initial_settings() { ) ); + register_setting( 'permalink', 'permalink_structure', array( + 'show_in_rest' => true, + 'type' => 'string', + 'description' => __( 'Custom URL structure for permalinks and archives.' ), + ) ); } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 4e29e3fc3e..9405406535 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-42358'; +$wp_version = '5.0-alpha-42359'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.