[buddypress-trac] [BuddyPress Trac] #9079: PHP code is printed to document source in JS templates

buddypress-trac noreply at wordpress.org
Fri May 17 05:08:21 UTC 2024


#9079: PHP code is printed to document source in JS templates
----------------------------+---------------------
 Reporter:  chairmanbrando  |       Owner:  imath
     Type:  defect (bug)    |      Status:  closed
 Priority:  normal          |   Milestone:  14.0.0
Component:  Templates       |     Version:  12.1.1
 Severity:  normal          |  Resolution:  fixed
 Keywords:  has-patch       |
----------------------------+---------------------
Changes (by imath):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"13867" 13867]:
 {{{
 #!CommitTicketReference repository="" revision="13867"
 Stop getting dynamic widget block template parts, use buffer instead

 Dynamic widget block template parts are used to preview and display the
 corresponding blocks content. As previewing within the Block Editor is
 made using the REST API, we need to add the rendered templates to the
 buffer to perform token replacements.

 Props chairmanbrando

 Fixes #9079
 Closes https://github.com/buddypress/buddypress/pull/289
 }}}

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9079#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list