WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 2 years ago

#25412 closed defect (bug) (fixed)

Functional Docs: wp-includes/post.php

Reported by: DrewAPicture Owned by: DrewAPicture
Milestone: 4.0 Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: docs Cc:

Description (last modified by DrewAPicture)

Patch(es) forthcoming. This is a big 'un.

Attachments (2)

25412.diff (3.9 KB) - added by DrewAPicture 3 years ago.
wp_insert_post hash notation
25412.2.diff (4.1 KB) - added by DrewAPicture 3 years ago.

Download all attachments as: .zip

Change History (16)

#1 @DrewAPicture
3 years ago

  • Description modified (diff)
  • Keywords needs-patch added
  • Owner set to DrewAPicture
  • Status changed from new to reviewing

@DrewAPicture
3 years ago

wp_insert_post hash notation

@DrewAPicture
3 years ago

#2 @DrewAPicture
3 years ago

In 25628:

Improve inline documentation for wp_insert_post() by adding a hash notation.

See #25412.

#3 @nacin
3 years ago

  • Component changed from Inline Docs to Post Types
  • Focuses docs added

This ticket was mentioned in IRC in #wordpress-dev by jessepollak. View the logs.


3 years ago

#5 @DrewAPicture
3 years ago

  • Milestone changed from Awaiting Review to Future Release

#6 @DrewAPicture
3 years ago

In 27807:

Fix the wp_count_attachments() PHPDoc to reflect that it returns an object, not array.

See #25412.

#7 @DrewAPicture
2 years ago

In 29090:

General inline documentation improvements in wp-includes/post.php.

First-run. See #25412.

#8 @DrewAPicture
2 years ago

In 29091:

Convert phpDoc for register_post_type() to use a hash notation for the $args array.

See #25412.

#9 @DrewAPicture
2 years ago

In 29092:

General inline documentation improvements in wp-includes/post.php.

Second-run. See #25412.

#10 @DrewAPicture
2 years ago

In 29093:

General inline documentation improvements in wp-includes/post.php.

Third-run. See #25412.

#11 @DrewAPicture
2 years ago

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

In 29094:

General inline documentation improvements in wp-includes/post.php.

Final-run. Fixes #25412.

#12 @DrewAPicture
2 years ago

  • Keywords needs-patch removed
  • Milestone changed from Future Release to 4.0

#13 @DrewAPicture
2 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Missed a few periods and line-wraps.

#14 @DrewAPicture
2 years ago

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

In 29097:

Fix syntax for inline comment line endings and a few line wraps in wp-includes/post.php inline documentation.

Fixes #25412.

Note: See TracTickets for help on using tickets.