Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 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:


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 9 years ago.

Download all attachments as: .zip

Change History (5)

9 years ago

#1 @SergeyBiryukov
9 years ago

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

#2 @nacin
9 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.

#3 @nacin
9 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!

#4 @madjax
9 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.