[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 15:41:25 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 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 ),
 '>=' )`

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


More information about the wp-trac mailing list