WordPress.org

Make WordPress Core

Opened 4 months ago

Closed 4 months ago

Last modified 4 months ago

#47861 closed defect (bug) (fixed)

PHPDoc correction for get_last_updated in wp-includes/ms-blogs.php

Reported by: atachibana Owned by: SergeyBiryukov
Milestone: 5.3 Priority: normal
Severity: minor Version:
Component: Networks and Sites Keywords: has-patch
Focuses: docs, multisite Cc:
PR Number:

Description

Enhanced missing information of Codex for get_last_updated in wp-includes/ms-blogs.php

  • $start parameter
  • Changelog

Codex: https://codex.wordpress.org/Function_Reference/get_last_updated
Code Reference: https://developer.wordpress.org/reference/functions/get_last_updated/

This is the action of inline docs and Codex migration initiatives.

Attachments (1)

47861.diff (662 bytes) - added by atachibana 4 months ago.

Download all attachments as: .zip

Change History (5)

@atachibana
4 months ago

#1 @atachibana
4 months ago

  • Keywords has-patch added

#2 @SergeyBiryukov
4 months ago

  • Milestone changed from Awaiting Review to 5.3
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

Thanks for the patch!

For reference, @since MU (3.0.0) is not the same as @since 3.0.0, it's used for functions that actually come from the MU codebase. The difference is specifically mentioned in ticket:16702:1.

get_last_updated() was introduced in https://mu.trac.wordpress.org/changeset/79.

#3 @SergeyBiryukov
4 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 45780:

Docs: Improve documentation for get_last_updated().

Props atachibana.
Fixes #47861.

#4 @atachibana
4 months ago

@SergeyBiryukov

Thank you for correcting my knowledge by

For reference, @since MU (3.0.0) is not the same as @since 3.0.0,

It must have been tough work to merge two stream lines into one...

Note: See TracTickets for help on using tickets.