[wp-trac] [WordPress Trac] #45638: Comparison of post_type of post.php

WordPress Trac noreply at wordpress.org
Fri Dec 14 19:34:04 UTC 2018


#45638: Comparison of post_type of post.php
-------------------------------+------------------------------
 Reporter:  tmatsuur           |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.0.1
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------

Comment (by iandunn):

 Hi @tmatsuur , does that still happen if you temporarily disable plugins,
 and switch to one of the default themes?

 It sounds like `$_POST['post_type']` is being translated, which I don't
 think should ever happen. I don't see any instances in the Core code of
 doing that.

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


More information about the wp-trac mailing list