WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#15867 closed defect (bug) (fixed)

Missing/Incomplete phpDoc for functions new to 3.1

Reported by: demetris Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Inline Docs Keywords: has-patch
Focuses: Cc:

Description

Patch provides doc block for get_post_format_slugs().

Will probably need correction/improvement before committing. I am not an expert on inline documentation. :-)

I chose a general summary for the ticket, so that we can re-use it if we find any more missing doc blocks for new functions in 3.1.

Attachments (2)

t15867-get_post_format_slugs-phpdoc.diff (562 bytes) - added by demetris 5 years ago.
t15867-wpdb-sinces.diff (2.3 KB) - added by demetris 5 years ago.
Supplies/Fixes @since info in the wpdb class

Download all attachments as: .zip

Change History (6)

comment:1 @nacin5 years ago

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

(In [17073]) Docs for get_post_format_slugs(). props demetris, fixes #15867.

comment:2 @dd325 years ago

  • Milestone changed from Awaiting Review to 3.1

@demetris5 years ago

Supplies/Fixes @since info in the wpdb class

comment:3 @demetris5 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Summary changed from Missing phpDoc blocks to Missing/Incomplete phpDoc for functions new to 3.1

Above patch adds @since to two new wpdb methods: init_charset() and set_charset().

Took the opportunity to also add/fix a few more sinces in the wpdb class.

comment:4 @ryan5 years ago

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

(In [17079]) @since additions and updates. Props demetris. fixes #15867

Note: See TracTickets for help on using tickets.