[wp-trac] [WordPress Trac] #43752: ID, post_parent, menu_order on global $post object is a string in edit context; expecting int

WordPress Trac noreply at wordpress.org
Thu Apr 12 23:35:57 UTC 2018


#43752: ID, post_parent, menu_order on global $post object is a string in edit
context; expecting int
-------------------------------+------------------------------
 Reporter:  javorszky          |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  4.9.5
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by javorszky):

 Related WooCommerce issue on
 https://github.com/woocommerce/woocommerce/issues/19704 (tldr: it being a
 string causes it to slow down due to WC expecting the prop to be an int)

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


More information about the wp-trac mailing list