[wp-trac] [WordPress Trac] #40238: WP REST API post content often relies on inaccessible enqueued JS and CSS

WordPress Trac noreply at wordpress.org
Wed Mar 22 18:47:19 UTC 2017


#40238: WP REST API post content often relies on inaccessible enqueued JS and CSS
--------------------------+------------------------------
 Reporter:  mnelson4      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:  invalid
 Keywords:  dev-feedback  |     Focuses:
--------------------------+------------------------------
Changes (by jteague):

 * keywords:   => dev-feedback
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Replying to [ticket:40238 mnelson4]:
 >
 > So should the WP REST API somehow expose what JS and CSS is required to
 display post content correctly? Or what is to be done with shortcodes
 which rely on JS or CSS to be displayed correctly?
 >>
 Thank you for your submission. I understand the issue you are having.
 However, there is currently no native support for filtering shortcodes
 returned in JSON. Please refer your question to the WordPress support
 forum for advice.

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


More information about the wp-trac mailing list