Commit d5dd47774a for wordpress.org

commit d5dd47774aa7d021f7fed468bf0f18a15291b802
Author: jorgefilipecosta <jorgefilipecosta@git.wordpress.org>
Date:   Fri Nov 20 14:44:49 2026 +0000

    Abilities API: Declare the `uri` format for the `link` output of `core/content-query`.

    The post permalink in the `link` output was a plain string, while the `link` output of `core/users-query` declares the `uri` format. Declare the same format for the post permalink, so clients that check formats treat both links the same. The value is unchanged.

    Developed in https://github.com/WordPress/wordpress-develop/pull/15987.

    Follow-up to [64388].

    Props jorgefilipecosta, gziolo.
    Fixes #66268.
    Built from https://develop.svn.wordpress.org/trunk@65724


    git-svn-id: http://core.svn.wordpress.org/trunk@64754 1a063a9b-81f0-0310-95a4-ce76da25c4cd

diff --git a/wp-includes/abilities/class-wp-abilities-content.php b/wp-includes/abilities/class-wp-abilities-content.php
index 17e1a81ac3..a8d9954e30 100644
--- a/wp-includes/abilities/class-wp-abilities-content.php
+++ b/wp-includes/abilities/class-wp-abilities-content.php
@@ -1024,6 +1024,7 @@ final class WP_Abilities_Content {
 			),
 			'link'     => array(
 				'type'        => 'string',
+				'format'      => 'uri',
 				'description' => __( 'The permalink URL.' ),
 			),
 			'title'    => array(
diff --git a/wp-includes/version.php b/wp-includes/version.php
index d86b0cef4c..894b513c11 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
  *
  * @global string $wp_version
  */
-$wp_version = '7.2-RC2-65723';
+$wp_version = '7.2-RC2-65724';

 /**
  * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.