Make WordPress Core


Ignore:
Timestamp:
04/06/2022 03:31:23 PM (3 years ago)
Author:
SergeyBiryukov
Message:

Docs: Adjust DocBlock formatting for wp_robots_*() and related functions.

This ensures the code blocks are displayed correctly in the WordPress Code Reference.

Follow-up to [19304], [37541], [44021], [49992].

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/general-template.php

    r53041 r53087  
    32253225
    32263226/**
    3227  * Displays a referrer strict-origin-when-cross-origin meta tag.
    3228  *
    3229  * Outputs a referrer origin-when-cross-origin meta tag that tells the browser not to send the full
    3230  * url as a referrer to other sites when cross-origin assets are loaded.
    3231  *
    3232  * Typical usage is as a wp_head callback. add_action( 'wp_head', 'wp_strict_cross_origin_referrer' );
     3227 * Displays a referrer `strict-origin-when-cross-origin` meta tag.
     3228 *
     3229 * Outputs a referrer `strict-origin-when-cross-origin` meta tag that tells the browser not to send
     3230 * the full URL as a referrer to other sites when cross-origin assets are loaded.
     3231 *
     3232 * Typical usage is as a {@see 'wp_head'} callback:
     3233 *
     3234 *     add_action( 'wp_head', 'wp_strict_cross_origin_referrer' );
    32333235 *
    32343236 * @since 5.7.0
Note: See TracChangeset for help on using the changeset viewer.