Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4841 closed defect (bug) (fixed)

Displaying "Array" everywhere and cannot post

Reported by: lorenzone92's profile lorenzone92 Owned by:
Milestone: 2.3 Priority: high
Severity: normal Version: 2.2.1
Component: General Keywords: array draft posting zend optimizer php cache
Focuses: Cc:


The issue seems to be caused by some PHP cache software like Zend Optimizer. In many box is displayed the word "Array" and the administrator can publish nothing; when you click on the "publich" button WP will post it as a draft.

The user Seveneth found a fix:

in /wp-includes/plugin.php [Line : 102], inside remove_filter function.


$wp_filter[$tag][$priority][serialize($function_to_remove)] = array();
unset( $wp_filter[$tag][$priority][serialize($function_to_remove)] );

Change History (2)

#1 @santosj
17 years ago

The remove_filter no longer uses serialize(). Might want to see if the new changes fixed the problem.

#2 @foolswisdom
17 years ago

  • Milestone changed from 2.4 (next) to 2.3
  • Resolution set to fixed
  • Status changed from new to closed
  • Version set to 2.2.1

Thank you for getting this in trac!

[wp-testers] Array displayed everywhere
Aug 28

ryan responded on wp-hackers: It should already be fixed. What version is being used? Beta 1 should have the fix.

lorenzo replied: I downloaded the beta and I've seen that the fix applied is a bit different
from the one purposed by seveneth...
I'll try if it works asap...

Closing as fixed for now.

Note: See TracTickets for help on using tickets.