Make WordPress Core

Opened 18 years ago

Closed 18 years ago

Last modified 13 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
18 years ago

  • Milestone 2.7.2 → 2.8
  • Status new → assigned
  • Version → 2.8

#2 @westi
18 years ago

I thought I tested that case :-(

#3 @westi
18 years ago

  • Resolution → fixed
  • Status assigned → closed

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

#4 @filosofo
18 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.


16 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.


16 months ago
#6

Prep work for #9248
See also #9251

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


16 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.


16 months ago
#8

Prep work for #9248

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


16 months ago
#9

Prep work for #9248.

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


16 months ago
#10

Prep work for #9248.

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


16 months ago
#11

Prep work for #9248.

​@dmsnell commented on ​PR #9259:


14 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:


14 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.