[wp-trac] [WordPress Trac] #39293: WordPress REST API warnings

WordPress Trac noreply at wordpress.org
Fri Dec 16 14:00:43 UTC 2016


#39293: WordPress REST API warnings
--------------------------+------------------------------
 Reporter:  dreamon11     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  4.7
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  rest-api
--------------------------+------------------------------

Comment (by dreamon11):

 Problem fixed.

 In my theme functions.php file, I have the following code:


 {{{
 add_theme_support('post-formats');
 }}}


 Replace with:


 {{{
 add_theme_support('post-formats', []);
 }}}

 Or simply remove post-formats theme support.


 And no more warnings ;)

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


More information about the wp-trac mailing list