From f29b58aa911811c8eed5fe4dfc18b8e3ea049335 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 13 May 2024 16:26:10 +0000 Subject: [PATCH] Docs: Make Settings API documentation link clickable in `wp-admin/options.php`. The link is a part of the deprecation notice displayed when saving an unregistered setting. Follow-up to [13646], [13785], [14070], [32116], [34315], [45674]. Props timse201, sabernhardt, amitraj2203, khokansardar, SergeyBiryukov. Fixes #61199. Built from https://develop.svn.wordpress.org/trunk@58140 git-svn-id: http://core.svn.wordpress.org/trunk@57605 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/options.php | 7 ++++--- wp-includes/version.php | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index eb3a4d0abb..8510095e24 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -322,9 +322,10 @@ if ( 'update' === $action ) { // We are saving settings sent from a settings pag 'options.php', '2.7.0', sprintf( - /* translators: %s: The option/setting. */ - __( 'The %s setting is unregistered. Unregistered settings are deprecated. See https://developer.wordpress.org/plugins/settings/settings-api/' ), - '' . esc_html( $option ) . '' + /* translators: 1: The option/setting, 2: Documentation URL. */ + __( 'The %1$s setting is unregistered. Unregistered settings are deprecated. See documentation on the Settings API.' ), + '' . esc_html( $option ) . '', + __( 'https://developer.wordpress.org/plugins/settings/settings-api/' ) ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index fa17634c02..f4d4d9094c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58139'; +$wp_version = '6.6-alpha-58140'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.