Make WordPress Core

Opened 22 years ago

Closed 22 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 Owned by: matt
Priority: normal Milestone:
Component: Administration Version:
Severity: major Keywords:
Cc: Focuses:

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
22 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
22 years ago

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

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

Note: See TracTickets for help on using tickets.