Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#18409 closed defect (bug) (fixed)

Improve compatibility with phpxref

Reported by: trepmal Owned by: nacin
Priority: normal Milestone: 3.3
Component: General Version:
Severity: minor Keywords: has-patch
Cc: Focuses:

Description

Because of the number sign inside the html comment tag, and on the same line as the closing tag, about 56 functions in wp-includes/functions.php are not parsed by the phpxref software.

By simply moving the closing tag to the next line, the problem is fixed.

Attachments (1)

functions.diff​ (1.8 KB ) - added by trepmal 15 years ago.
split comment into 2 lines

Download all attachments as: .zip

Change History (6)

@trepmal
15 years ago

split comment into 2 lines

#1 @nacin
15 years ago

  • Milestone Awaiting Review → 3.3

This has bothered me for literally two years, but I've never noticed why it happened. Thanks!

#2 @nacin
15 years ago

Oddly, it looks fine here: xref.yoast.com/trunk/wp-includes/functions.php.source.html

#3 @nacin
15 years ago

Nevermind.

#4 @nacin
15 years ago

  • Owner set to nacin
  • Resolution → fixed
  • Status new → closed

In [18548]:

Break HTML comment up into two lines to prevent phpxref from choking on the rest of functions.php. props trepmal, fixes #18409.

#5 @trepmal
15 years ago

I was gonna say... :)

Also, this might be a new submit-to-commit record for me!

Note: See TracTickets for help on using tickets.