Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 10 months ago

#9248 closed defect (bug) (fixed)

'exit' is not a valid callback function

Reported by: sambauers Owned by: westi
Priority: low Milestone: 2.8
Component: General Version: 2.8
Severity: minor Keywords: has-patch has-unit-tests
Cc: Focuses:

Description

This line:

https://core.trac.wordpress.org/browser/trunk/wp-includes/classes.php?rev=10619#L352

Causes a PHP warning because "exit" is a language construct not a function.

More importantly the script probably doesn't exit as desired.

Change History (18)

#1 @westi
17 years ago

  • Milestone 2.7.22.8
  • Status newassigned
  • Version2.8

#2 @westi
17 years ago

I thought I tested that case :-(

#3 @westi
17 years ago

  • Resolutionfixed
  • Status assignedclosed

(In [10672]) Make the exit call explicit so that it works. Fixes #9248.

#4 @filosofo
17 years ago

Sorry about that. I did test it and didn't get any warnings. I'm not sure why--maybe because only a header is being requested and returned?

This ticket was mentioned in PR #9251 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#5

  • Keywords has-patch has-unit-tests added

Prep work for #9248

This ticket was mentioned in PR #9252 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#6

Prep work for #9248
See also #9251

This ticket was mentioned in PR #9256 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#7

See #9248

This branch is collecting all of the various changes necessary to refactor wp_kses_hair() to use the HTML API. It’s mainly for running tests and determining which tests are currently broken and need to be updated to prevent false negatives.

This ticket was mentioned in PR #9257 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#8

Prep work for #9248

This ticket was mentioned in PR #9258 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#9

Prep work for #9248.

This ticket was mentioned in PR #9259 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#10

Prep work for #9248.

This ticket was mentioned in PR #9264 on WordPress/wordpress-develop by @dmsnell.


13 months ago
#11

Prep work for #9248.

@dmsnell commented on PR #9259:


11 months ago
#14

@github-actions: You are older than two weeks, therefore you have been deemed obsolete. Closing your bot.

@dmsnell commented on PR #9264:


11 months ago
#15

If I had a dime, @github-actions, for every time you barged in and interrupted my work, I wouldn’t need to work.

Oh if only you gave some indication of where to go to restrain your over-zealous ideology, forcing your mindset arbitrarily on those around you, oh what a bug report or patch I would love to provide. But no, you are faceless, left only to deny and reject and delete. You are @github-actions-I-will-destroy bot, born to raze and raised to burn.

Note: See TracTickets for help on using tickets.