Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18612 closed defect (bug) (fixed)

Fix typo in PHPDoc for do_robots()

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

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

Download all attachments as: .zip

Change History (5)

@madjax
15 years ago

#1 @SergeyBiryukov
15 years ago

  • Keywords commit added
  • Milestone Awaiting Review3.3

#2 @nacin
15 years ago

  • Owner set to nacin
  • Resolutionfixed
  • Status newclosed

In [18647]:

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

#3 @nacin
15 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
15 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.