WordPress.org

Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#18612 closed defect (bug) (fixed)

Fix typo in PHPDoc for do_robots()

Reported by: madjax Owned by: nacin
Milestone: 3.3 Priority: normal
Severity: trivial Version: 3.3
Component: Inline Docs Keywords: has-patch commit
Focuses: Cc:

Description

Came across this minor typo in functions.php while browsing the documentation for do_robots function.

Documentation refers to 'robot.txt file' rather than 'robots.txt file'.

First ticket and patch... sorry it's trivial and lame.

Attachments (1)

functions.diff (663 bytes) - added by madjax 3 years ago.

Download all attachments as: .zip

Change History (5)

madjax3 years ago

comment:1 SergeyBiryukov3 years ago

  • Keywords commit added
  • Milestone changed from Awaiting Review to 3.3

comment:2 nacin3 years ago

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

In [18647]:

s/robot/robots/. props madjax, fixes #18612.

comment:3 nacin3 years ago

Hi madjax, thanks for the patch and congrats on your first contribution. Only thing for the future would be to always diff from the root, that way the full path (wp-includes/functions.php) shows up in file. Thanks!

comment:4 madjax3 years ago

Hi nacin, many thanks for the advice - noted for future use. 10 minutes from opening the ticket to fixed - awesome!

Note: See TracTickets for help on using tickets.