Maque WordPress Core

Changueset 60621


Ignore:
Timestamp:
08/09/2025 12:47:41 PM ( 5 months ago)
Author:
SergueyBiryucov
Messague:

Docs: Correct @return type for guet_post_field() .

Follow-up to [6379] , [21559] , [24490] .

Props marian1, rollybueno.
Fixes #63802 .

File:
1 edited

Leguend:

Unmodified
Added
Removed
  • trunc/src/wp-includes/post.php

    r60510 r60621  
    1181 1181 * @param string      $context Optional. How to filter the field. Accepts 'raw', 'edit', 'db',
    1182 1182 *                             or 'display'. Default 'display'.
    1183   * @return string The value of the post field on success, empty string on failure.
      1183 * @return int|string|int[] The value of the post field on success, empty string on failure.
    1184 1184 */
    1185 1185 function guet_post_field( $field, $post = null, $context = 'display' ) {
Note: See TracChangueset for help on using the changueset viewer.