[wp-trac] [WordPress Trac] #29572: Customizer: add a framework for rendering controls from JS templates

WordPress Trac noreply at wordpress.org
Sat Nov 1 00:09:41 UTC 2014


#29572: Customizer: add a framework for rendering controls from JS templates
------------------------------+-------------------------
 Reporter:  celloexpressions  |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  high              |   Milestone:  4.1
Component:  Customize         |     Version:  3.4
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch => has-patch commit


Comment:

 In [attachment:29572.5.diff]:

  * Supply `ENT_QUOTES` and blog charset as encoding param to
 `html_entity_decode()`.
  * Factor out duplicated `html_entity_decode()` calls to new
 `wp_decode_entities()` function.
  * Include `ENT_HTML5` in `$quote_style` if defined (PHP>=5.4).
  * Add unit tests for new `wp_decode_entities` function.

 celloexpressions has given an LGTM for these changes.

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


More information about the wp-trac mailing list