Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#59561 closed enhancement (fixed)

Short Description is missing in code comment

Reported by: 1naveengiri Owned by: SergeyBiryukov
Priority: normal Milestone: 6.6
Component: General Version: 6.3.2
Severity: normal Keywords: has-patch
Cc: Focuses: docs, coding-standards

Description

Change History (5)

#1 @sabernhardt
3 years ago

  • Type defect (bug) → enhancement

All of the linked examples include both the $post_type and $post_type_object global variables.

I'm switching the type to enhancement because ​PHP Coding standards note that the description is optional.

This ticket was mentioned in ​PR #6763 on ​WordPress/wordpress-develop by ​@shub07.


2 years ago
#2

  • Keywords has-patch added; needs-patch removed

Added missing Doc comments for global Variables as per ticket.

#3 @SergeyBiryukov
2 years ago

  • Milestone Awaiting Review → 6.6

#4 @SergeyBiryukov
2 years ago

  • Owner set to SergeyBiryukov
  • Resolution → fixed
  • Status new → closed

In 58419:

Docs: Add missing description for a few globals in the admin.

This affects:

  • $post_type
  • $post_type_object
  • $taxonomy
  • $title
  • $wp_meta_boxes

Follow-up to [31121], [32642], [32643], [37890], [43815], [44244], [45742], [53060], [53061], [54831].

Props shub07, 1naveengiri, sabernhardt, SergeyBiryukov.
Fixes #59561.

​@SergeyBiryukov commented on ​PR #6763:


2 years ago
#5

Thanks for the PR! Merged in r58419.

Note: See TracTickets for help on using tickets.