[wp-trac] [WordPress Trac] #45011: Add source to $allowedposttags

WordPress Trac noreply at wordpress.org
Fri Sep 28 04:38:25 UTC 2018


#45011: Add source to $allowedposttags
--------------------------+------------------------
 Reporter:  1000camels    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by peterwilsoncc):

 * keywords:  needs-patch =>
 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>


Comment:

 Hi @1000camels and welcome to trac.

 Thanks for the ticket, ticket #29807 is already tracking adding `picture`
 and `source` to kses so I am going to close this as a duplicate.

 There's a patch on the ticket already but some further work is needed to
 validate the `srcset` attribute. You're welcome to join the existing
 discussion.

 For future reference, when suggesting changes it's best to upload a diff
 file rather than a full copy of the file to be modified. You can read the
 handbook for instructions on how to generate one via
 [https://make.wordpress.org/core/handbook/contribute/git/ git] or
 [https://make.wordpress.org/core/handbook/contribute/svn/ svn].

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


More information about the wp-trac mailing list