[wp-trac] [WordPress Trac] #49500: WordPress 5.4 messes up custom fields added to menu items they are duplicated.

WordPress Trac noreply at wordpress.org
Thu Mar 26 18:34:53 UTC 2020


#49500: WordPress 5.4 messes up custom fields added to menu items they are
duplicated.
--------------------------+-------------------------
 Reporter:  BackuPs       |       Owner:  audrasjb
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Menus         |     Version:  trunk
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |     Focuses:
--------------------------+-------------------------

Comment (by BackuPs):

 Replying to [comment:19 helgatheviking]:
 > If users are using a beta on a live site then that's on them. But using
 `strtolower` does seem to get version comparison to work without needing a
 `preg_replace`
 >
 > ex:  `version_compare( strtolower( $wp_version ), strtolower( '5,4-RC1
 ), '>=' )`

 Goodluck with that in the future wp builds. It is weird php coding you are
 using !

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49500#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list