Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#34135 closed enhancement (fixed)

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

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

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

Download all attachments as: .zip

Change History (5)

@johnbillion
10 years ago

#1 @johnbillion
10 years ago

  • Keywords has-patch added

Patch

#2 @johnbillion
10 years ago

  • Owner set to johnbillion
  • Status changed from new to assigned

#3 @johnbillion
10 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

In 34793:

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

Fixes #34135

#4 @johnbillion
10 years ago

  • Milestone changed from Awaiting Review to 4.4
Note: See TracTickets for help on using tickets.