Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#12168 closed defect (bug) (fixed)

PHP4 - Notice: Array to string conversion in /Applications/MAMP/htdocs/wordpress-trunk/wp-includes/formatting.php on line 427

Reported by: westi's profile westi Owned by: westi's profile westi
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Formatting Keywords:
Focuses: Cc:


Basically when sanitizing the post fields we pass the ancestors of a post which is always and array of ints to a function which expects a string and hence we turn it into garbage.

It goes from being and Array of ints to being a string containing just Array().

Change History (3)

#1 @westi
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13016]) Ensure we don't mangle the array of post ancestors when sanitising a post for editing. Fixes #12168.

#2 @westi
14 years ago

Same error occurs when sanitising the fields for a bookmark/link with respect to the link_category field.

#3 @westi
14 years ago

(In [13017]) Ensure we don't mangle the array of link categories when sanitising a link for editing. See #12168.

Note: See TracTickets for help on using tickets.