Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#13295 closed defect (bug) (fixed)

Truncated Menu Names are not set in PHP4

Reported by: blepoxp's profile blepoxp Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Menus Keywords: has-patch
Focuses: Cc:

Description

I was doing some PHP 4 testing and found that truncated menu names are not being retained in PHP4.

To Reproduce: 1) View menu screen in PHP4. 2) Note 'undefined property warning' in error message.

Uploading patch that fixes the problem although their may be a more elegant solution as I'm not sure of the root difference between PHP4 and PHP5 here. I assume it has something to do with references.

Attachments (1)

13295.diff (604 bytes) - added by blepoxp 15 years ago.
fix undefined property

Download all attachments as: .zip

Change History (3)

@blepoxp
15 years ago

fix undefined property

#1 @blepoxp
15 years ago

  • Milestone changed from Unassigned to 3.0

#2 @nacin
15 years ago

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

(In [14505]) PHP4 compat in nav menu name truncation. props blepoxp, fixes #13295.

Note: See TracTickets for help on using tickets.