Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#37732 closed enhancement (fixed)

Add a space after a period in docs

Reported by: ixkaito Owned by: SergeyBiryukov
Priority: normal Milestone: 4.7
Component: Posts, Post Types Version: 2.7
Severity: normal Keywords: has-patch
Cc: Focuses: docs

Description


Attachments (3)

37732.diff (671 bytes ) - added by ixkaito 10 years ago.
37732.2.diff (942 bytes ) - added by swissspidy 10 years ago.
37732.3.diff (944 bytes ) - added by ixkaito 10 years ago.

Download all attachments as: .zip

Change History (7)

@ixkaito
10 years ago

@swissspidy
10 years ago

#1 @swissspidy
10 years ago

  • Keywords has-patch added
  • Milestone Awaiting Review4.7
  • Version 0.712.7

Thanks for the patch! Introduced in [9138].

It looks like the docblock can be further improved. For example, the default value should be at the end of the parameter description, not at the beginning. Also, the default value for the other params isn't documented.

Adjusted the docs in 37732.2.diff according to our PHP documentation standards.

@ixkaito
10 years ago

#2 @ixkaito
10 years ago

Thanks @swissspidy ! It seems periods are missed of $before and after.

#3 @swissspidy
10 years ago

Oh yeah, you're right. Thanks!

#4 @SergeyBiryukov
10 years ago

  • Owner set to SergeyBiryukov
  • Resolutionfixed
  • Status newclosed

In 38348:

Docs: Improve the docs for the_title() and make them more consistent with the_title_attribute().

Props ixkaito, swissspidy.
Fixes #37732.

Note: See TracTickets for help on using tickets.