Make WordPress Core

Opened 21 years ago

Closed 20 years ago

#446 closed defect (bug) (wontfix)

add_magic_quotes is redefined in admin.php and blocks any plugin that might be defining it...

Reported by: drdave's profile drdave Owned by: matt's profile matt
Milestone: Priority: normal
Severity: major Version:
Component: Administration Keywords:
Focuses: Cc:

Description

latest CVS defines 'add_magic_quotes' in the admin.php file...
since it reuses the name commonly used by hundreds of php devs around, this is likely to make certain plugin crash. since it can be included after the plugin has defined its own 'add_magic_quotes', adding 'function_exists()' in the plugin is inefficient...

Change History (3)

#2 @matt
20 years ago

If they have a function that doesn't do the exact same thing though WP could be vulnerable to a number of things.

#3 @matt
20 years ago

  • fixed_in_version set to 1.5
  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 90
  • Status changed from new to closed

Some plugins may need to be updated for 1.5. Please contact plugin authors.

Note: See TracTickets for help on using tickets.