Title: Theme Review Chat Notes
Author: Jose Castaneda
Published: February 3, 2015
Last modified: February 4, 2015

---

 [  ](https://profiles.wordpress.org/jcastaneda/) [Jose Castaneda](https://profiles.wordpress.org/jcastaneda/)
7:04 pm _on_ February 3, 2015      

# Theme Review Chat Notes

## Topic: Custom CSSCSS CSS is an acronym for cascading style sheets. This is what controls the design or look and feel of a site.

 * **Discourage** usage in favor of pluginPlugin A plugin is a piece of software
   containing a group of functions that can be added to a WordPress website. They
   can extend functionality or add new features to your WordPress websites. WordPress
   plugins are written in the PHP programming language and integrate seamlessly 
   with WordPress. These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
   or can be cost-based plugin from a third-party.
 * If used, must take security, permissions, escaping into account ( pingPing The
   act of sending a very small amount of data to an end point. Ping is used in computer
   science to illicit a response from a target server to test it’s connection. Ping
   is also a term used by Slack users to @ someone or send them a direct message(
   DM). Users might say something along the lines of “Ping me when the meeting starts.”
   somebody capable of doing such review )
 * Security is biggest concern
 * Need good examples of _doing_it_right_

#### Sub-topic: requirement examples

 * Add items to https://make.wordpress.org/themes/handbook/review/required/explanations-
   and-examples
 * Encourage commenting but will have a weekly after meeting for examples

## Next Week’s topic: Review Quality

 * Security
 * no-comment-approvals

Link to meeting in Slack: https://wordpress.slack.com/archives/themereview/p1422986425001223

### Share this:

 * [  Threads ](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?share=bluesky)
 * [  Facebook ](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?share=facebook)
 * [  X ](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?share=x)
 * [  LinkedIn ](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fthemes%2F2015%2F02%2F03%2Ftheme-review-chat-notes%2F%23respond&locale=en_US)

 1.  ![](https://secure.gravatar.com/avatar/a15532e2de67c56ac93ed4e3a26c5b139bf8450f788262910590cd2991b7874c?
     s=32&d=mm&r=g)
 2.   [Jose Castaneda](https://profiles.wordpress.org/jcastaneda/)  7:54 pm _on_ February
     3, 2015
 3.  Addendum to next week’s topic(s):
      Child themes: [https://wordpress.slack.com/archives/themereview/p1422990661001394](https://wordpress.slack.com/archives/themereview/p1422990661001394)
     brought up by [@cais](https://profiles.wordpress.org/cais/)
 4.   * ![](https://secure.gravatar.com/avatar/a15532e2de67c56ac93ed4e3a26c5b139bf8450f788262910590cd2991b7874c?
        s=32&d=mm&r=g)
      *  [Jose Castaneda](https://profiles.wordpress.org/jcastaneda/)  12:23 am _on_
        February 5, 2015
      * Admins: as well as: [https://wordpress.slack.com/archives/themereview/p1423082176001521](https://wordpress.slack.com/archives/themereview/p1423082176001521)
 5.  ![](https://secure.gravatar.com/avatar/0c00bc6bb79905cd73ec1cb0f22bf813f7f34f46ee670d018b30b5569b2924dd?
     s=32&d=mm&r=g)
 6.   [Tammie](https://profiles.wordpress.org/karmatosed/)  1:41 am _on_ February 4,
     2015
 7.  Thanks for the update and leading the meeting.
 8.  ![](https://secure.gravatar.com/avatar/eae9b03fdf1750ad9ecddf610003712fb406bce09006a0c4596071960057ea0e?
     s=32&d=mm&r=g)
 9.   [Ulrich](https://profiles.wordpress.org/grapplerulrich/)  7:22 pm _on_ February
     4, 2015
 10. I am looking into the “Custom CSSCSS CSS is an acronym for cascading style sheets.
     This is what controls the design or look and feel of a site.” at the moment. Proper
     sanitization would require the use of CSSTiday? Do we require something for escaping
     the CSS before output? PingPing The act of sending a very small amount of data
     to an end point. Ping is used in computer science to illicit a response from a
     target server to test it’s connection. Ping is also a term used by Slack users
     to @ someone or send them a direct message (DM). Users might say something along
     the lines of “Ping me when the meeting starts.” [@greenshady](https://profiles.wordpress.org/greenshady/)
 11. Can this be added to the requirements/documentation please?
 12.  * ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
        s=32&d=mm&r=g)
      *  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  8:17 pm _on_
        February 4, 2015
      * I’d really like to see if we can get [@nacin](https://profiles.wordpress.org/nacin/)
        and/or [@otto42](https://profiles.wordpress.org/otto42/) to weigh in on what’s
        proper. Or, maybe someone from the Jetpack team who’s worked on this feature.
        I’m not really in favor of themes doing this, but if we’re allowing it, I’d
        like to bring in someone I trust to tell us the best method.
      * To sanitize, CSSTidy is probably the best place to start. I’d really look into
        what Jetpack is doing and study their code. If someone could break that down,
        it’d be nice.
      * The correct capability would probably be `edit_themes`. That seems to make 
        the most sense to me since anyone with that cap can directly edit theme files.
         - ![](https://secure.gravatar.com/avatar/7fab7a27d6eb1e11d63e8a5963991d4adacce3ae704dc2fb7f53d97fad88edce?
           s=32&d=mm&r=g)
         -  [George Stephanis](https://profiles.wordpress.org/georgestephanis/)  8:
           50 pm _on_ February 4, 2015
         - Yeah, it’s super tricky to do right and will necessitate a large sanitization
           library. The Custom CSSCSS CSS is an acronym for cascading style sheets.
           This is what controls the design or look and feel of a site. code in Jetpack
           itself is about 600k+ — but that’s including the Sass and Less preprocessors
           that we bundle. CSSTidy by itself looks to be about 160k.
         - Honestly, my recommendation would be to tell themers to suggest an external
           pluginPlugin A plugin is a piece of software containing a group of functions
           that can be added to a WordPress website. They can extend functionality 
           or add new features to your WordPress websites. WordPress plugins are written
           in the PHP programming language and integrate seamlessly with WordPress.
           These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
           or can be cost-based plugin from a third-party.. Norcross has one as well—
           [https://wordpress.org/plugins/reaktiv-css-builder/](https://wordpress.org/plugins/reaktiv-css-builder/)—
           and there’s a version of the Jetpack one that’s been spun off into its own
           plugin (yay GPLGPL GPL is an acronym for GNU Public License. It is the standard
           license WordPress uses for Open Source licensing [https://wordpress.org/about/license/](https://wordpress.org/about/license/).
           The GPL is a ‘copyleft’ license [https://www.gnu.org/licenses/copyleft.en.html](https://www.gnu.org/licenses/copyleft.en.html).
           This means that derivative work can only be distributed under the same license
           terms. This is in distinction to permissive free software licenses, of which
           the BSD license and the MIT License are widely used examples.!) here: [https://wordpress.org/plugins/jp-custom-css/](https://wordpress.org/plugins/jp-custom-css/)
           if they don’t want to recommend Jetpack itself.
            * ![](https://secure.gravatar.com/avatar/a15532e2de67c56ac93ed4e3a26c5b139bf8450f788262910590cd2991b7874c?
              s=32&d=mm&r=g)
            *  [Jose Castaneda](https://profiles.wordpress.org/jcastaneda/)  8:54 pm
              _on_ February 4, 2015
            * Yeah, the library is about 140K. I’ve been tinkering with it the last
              few days, only really needs 4 files.
            * Thanks for sharing those [@georgestephanis](https://profiles.wordpress.org/georgestephanis/)
              almost forgot about the sans-pack version of Custom CSSCSS CSS is an 
              acronym for cascading style sheets. This is what controls the design 
              or look and feel of a site.. 🙂
            * ![](https://secure.gravatar.com/avatar/eae9b03fdf1750ad9ecddf610003712fb406bce09006a0c4596071960057ea0e?
              s=32&d=mm&r=g)
            *  [Ulrich](https://profiles.wordpress.org/grapplerulrich/)  9:00 pm _on_
              February 4, 2015
            * I could not find much sanitization in Reaktiv CSSCSS CSS is an acronym
              for cascading style sheets. This is what controls the design or look 
              and feel of a site. Builder.
               - ![](https://secure.gravatar.com/avatar/a15532e2de67c56ac93ed4e3a26c5b139bf8450f788262910590cd2991b7874c?
                 s=32&d=mm&r=g)
               -  [Jose Castaneda](https://profiles.wordpress.org/jcastaneda/)  9:01
                 pm _on_ February 4, 2015
               - It creates a CSSCSS CSS is an acronym for cascading style sheets. 
                 This is what controls the design or look and feel of a site. file 
                 rather than saving to the db.
      * ![](https://secure.gravatar.com/avatar/1a7df76f4f6519a5618c32428b277a5c7a89798394965b67e50528ca57c1b5a8?
        s=32&d=mm&r=g)
      *  [Andrew Nacin](https://profiles.wordpress.org/nacin/)  5:22 am _on_ February
        5, 2015
      * Despite CSSCSS CSS is an acronym for cascading style sheets. This is what controls
        the design or look and feel of a site. not being JavaScriptJavaScript JavaScript
        or JS is an object-oriented computer programming language commonly used to 
        create interactive effects within web browsers. WordPress makes extensive use
        of JS for a better user experience. While PHP is executed on the server, JS
        executes within a user’s browser.
         [https://www.javascript.com](https://www.javascript.com/),
        it is just as dangerous. There is no good way to escape arbitrary CSS. There
        is no good way to sanitize arbitrary CSS. There is no way to do this correctly.
        A theme should not do this, because libraries can barely do this correctly.
        They’re patching the CSS sanitization libraries running on WordPress.comWordPress.
        com An online implementation of WordPress code that lets you immediately access
        a new WordPress environment to publish your content. WordPress.com is a private
        company owned by Automattic that hosts the largest multisite in the world. 
        This is arguably the best place to start blogging if you have never touched
        WordPress before. [https://wordpress.com/](https://wordpress.com/) all the 
        time.
      * This is pluginPlugin A plugin is a piece of software containing a group of 
        functions that can be added to a WordPress website. They can extend functionality
        or add new features to your WordPress websites. WordPress plugins are written
        in the PHP programming language and integrate seamlessly with WordPress. These
        can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
        or can be cost-based plugin from a third-party. material, even before weighing
        all of the additional security concerns.
 13. ![](https://secure.gravatar.com/avatar/e960359a54d96235c26ea46d311b20fc47c77c5a15050e9d6a7d742e075fa9dc?
     s=32&d=mm&r=g)
 14.  [Dovy Paukstys](https://profiles.wordpress.org/dovyp/)  8:54 pm _on_ February
     5, 2015
 15. Given the response here, and the query of Justin Tadlock, Redux Framework has 
     integrated the CSSCSS CSS is an acronym for cascading style sheets. This is what
     controls the design or look and feel of a site. sterilization found in JetPack.
 16. I’ve also isolated the required code that you could pass to any developers to 
     ensure they comply with these requirements: [https://github.com/ReduxFramework/wp-custom-css-validation](https://github.com/ReduxFramework/wp-custom-css-validation)
 17.  * ![](https://secure.gravatar.com/avatar/e960359a54d96235c26ea46d311b20fc47c77c5a15050e9d6a7d742e075fa9dc?
        s=32&d=mm&r=g)
      *  [Dovy Paukstys](https://profiles.wordpress.org/dovyp/)  9:06 pm _on_ February
        5, 2015
      * On a side note, I don’t know why this isn’t just added to WordPress coreCore
        Core is the set of software required to run WordPress. The Core Development
        Team builds WordPress.. It’s only 195kb in all and would be a very useful function.
        I’ll gladly contribute it if you think it would be accepted. 😉
      * ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
        s=32&d=mm&r=g)
      *  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  9:11 pm _on_
        February 5, 2015
      * [@dovyp](https://profiles.wordpress.org/dovyp/) Thanks for taking the time 
        to flesh out the code in your framework for those theme authors who are using
        it. That’s definitely a step forward.
 18. ![](https://secure.gravatar.com/avatar/521ebe7563b13f6ad89975ea9dac218d4acc3daa504ba531cdce76c7aa94656d?
     s=32&d=mm&r=g)
 19.  [Kadence Themes](https://profiles.wordpress.org/britner/)  3:18 am _on_ February
     6, 2015
 20. Hey, I’ll add in, I am for security but strongly disagree that because it’s not
     easy to do it should be put on pluginPlugin A plugin is a piece of software containing
     a group of functions that can be added to a WordPress website. They can extend
     functionality or add new features to your WordPress websites. WordPress plugins
     are written in the PHP programming language and integrate seamlessly with WordPress.
     These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
     or can be cost-based plugin from a third-party. developers. I really don’t understand
     how css needing to be properly sanitized turns into this should only be in plugins?
     What are the hundreds of themes that have css boxes supposed to do? remove and
     have all there users lose there css? Come on, we should be promoting safe ways
     to do this not pushing it off the review team.
 21. If we are for making sites more secure then themes should be able to lead the 
     way. I took a look around what plugins are available for custom css and it’s not
     like they are all doing it so well that theme developer should just hand in the
     towel.
 22. I could argue all day that I think themes should have the option to add this. 
     But I think that has to be a different point. The point is all css boxes need 
     security and there should be an accepted way to do that. If jetpack has the answer
     then why can’t we promote the use of jetpack as a plugin or it’s code as a solution?
 23.  * ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
        s=32&d=mm&r=g)
      *  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  5:44 am _on_
        February 6, 2015
      * >  I am for security but strongly disagree that because it’s not easy to do
        > it should be put on pluginPlugin A plugin is a piece of software containing
        > a group of functions that can be added to a WordPress website. They can extend
        > functionality or add new features to your WordPress websites. WordPress plugins
        > are written in the PHP programming language and integrate seamlessly with
        > WordPress. These can be free in the WordPress.org Plugin Directory [https://wordpress.org/plugins/](https://wordpress.org/plugins/)
        > or can be cost-based plugin from a third-party. developers. I really don’t
        > understand how css needing to be properly sanitized turns into this should
        > only be in plugins?
      * I just want to point out that no one is arguing this at all. The security and
        plugin territory issues are two separate and unrelated issues.

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/themes/2015/02/03/theme-review-chat-notes/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fthemes%2F2015%2F02%2F03%2Ftheme-review-chat-notes%2F&locale=en_US)
to post a comment.

This site uses Akismet to reduce spam. [Learn how your comment data is processed.](https://akismet.com/privacy/)

# Post navigation

[← Tuesday’s weekly chat will focus on Custom CSS…](https://make.wordpress.org/themes/2015/02/03/tuesdays-weekly-chat-will-focus-on-custom-css/)

[Test the new Theme Directory →](https://make.wordpress.org/themes/2015/02/05/test-the-new-theme-directory/)