Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#34135 closed enhancement (fixed)

Adjust _default_wp_die_handler() formatting so it doesn't confuse Sublime Text

Reported by: johnbillion Owned by: johnbillion
Priority: normal Milestone: 4.4
Component: General Version:
Severity: normal Keywords: has-patch
Cc: Focuses:

Description

_default_wp_die_handler() includes a block of conditional CSS. The format of this particular section of code in the function trips up Sublime Text 3's parser and thus prevents codeintel and syntax highlighting for all of the functions below it.

I've spoken to other developers use ST3 and some have this problem and some don't.

The attached patch fixes the issue for me.

Attachments (1)

34135.diff (550 bytes ) - added by johnbillion 11 years ago.

Download all attachments as: .zip

Change History (5)

@johnbillion
11 years ago

#1 @johnbillion
11 years ago

  • Keywords has-patch added

Patch

#2 @johnbillion
11 years ago

  • Owner set to johnbillion
  • Status newassigned

#3 @johnbillion
11 years ago

  • Resolutionfixed
  • Status assignedclosed

In 34793:

Adjust _default_wp_die_handler() formatting so it doesn't confuse Sublime Text's parsing and syntax highlighting.

Fixes #34135

#4 @johnbillion
11 years ago

  • Milestone Awaiting Review4.4
Note: See TracTickets for help on using tickets.