WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

#13295 closed defect (bug) (fixed)

Truncated Menu Names are not set in PHP4

Reported by: 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 4 years ago.
fix undefined property

Download all attachments as: .zip

Change History (3)

blepoxp4 years ago

fix undefined property

comment:1 blepoxp4 years ago

  • Milestone changed from Unassigned to 3.0

comment:2 nacin4 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.