Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#1584 closed defect (bug) (duplicate)

Another ajaxcat tweak re: shutdown functions.

Reported by: mdawaffe's profile mdawaffe Owned by: markjaquith's profile markjaquith
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords: ajaxcat shutdown register_shutdown_function bg|has-patch bg|dev-feedback
Focuses: Cc:

Description

If a plugin registers a shutdown function that either intentionally sends output (why?) or is broken and so sends error messages, that information is also sent to the ajaxcat code.

The included patch makes the JS more robust via parseInt, and, on the server side, registers an exit() calling function to WordPress' shutdown action.

Attachments (1)

dynamo5.diff (1.1 KB) - added by mdawaffe 21 years ago.
nip output in the bud

Download all attachments as: .zip

Change History (5)

#1 @mdawaffe
21 years ago

  • Keywords bg|has-patch added

@mdawaffe
21 years ago

nip output in the bud

#2 @markjaquith
21 years ago

  • Keywords bg|dev-feedback added
  • Owner changed from anonymous to markjaquith
  • Status changed from new to assigned

This stuff is over my head, so I'm just bumping up to dev-feedback so Matt can take a look at it.

#3 @mdawaffe
21 years ago

Just a note that the patch on #1573 should be applied first, IIRC.

#4 @mdawaffe
21 years ago

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

Fix moved to #1605

Note: See TracTickets for help on using tickets.