Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#47861 closed defect (bug) (fixed)

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

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

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 7 years ago.

Download all attachments as: .zip

Change History (5)

@atachibana
7 years ago

#1 @atachibana
7 years ago

  • Keywords has-patch added

#2 @SergeyBiryukov
7 years ago

  • Milestone Awaiting Review → 5.3
  • Owner set to SergeyBiryukov
  • Status new → 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
7 years ago

  • Resolution → fixed
  • Status reviewing → closed

In 45780:

Docs: Improve documentation for get_last_updated().

Props atachibana.
Fixes #47861.

#4 @atachibana
7 years 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.