[wp-trac] [WordPress Trac] #20438: Custom Post Types with Post Format support aren't registered against post_format taxonomy

WordPress Trac noreply at wordpress.org
Thu Sep 29 08:26:11 UTC 2016


#20438: Custom Post Types with Post Format support aren't registered against
post_format taxonomy
-------------------------------+-----------------------
 Reporter:  batmoo             |       Owner:
     Type:  defect (bug)       |      Status:  reopened
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+-----------------------
Changes (by Arcath):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 I am still getting this error.

 {{{#!php
 <?php
 register_taxonomy_for_object_type('post_format', 'page');
 }}}

 Has not fixed the problem

 Running

 {{{#!php
 <?php
 print_r(get_object_taxonomies('page'));
 }}}

 proves that the taxonomy has been registered on pages but I still get the
 404 for previews.

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


More information about the wp-trac mailing list