Title: Proposed WordPress 3.4 Guidelines Revisions
Author: Chip Bennett
Published: May 8, 2012
Last modified: May 10, 2012

---

 [  ](https://profiles.wordpress.org/chipbennett/) [Chip Bennett](https://profiles.wordpress.org/chipbennett/)
3:21 pm _on_ May 8, 2012     
Tags: [3.4 ( 4 )](https://make.wordpress.org/themes/tags/3-4/),
[Guidelines ( 34 )](https://make.wordpress.org/themes/tags/guidelines/)   

# Proposed WordPress 3.4 Guidelines Revisions

As we near the final release of [WordPress 3.4](https://codex.wordpress.org/Version_3.4),
it is time to begin discussion and finalization of the related changes to the Theme
Review Guidelines. Below are the proposed changes. Please discuss in the comments.
We’ll do our best to keep this proposed list updated based on discussions in the
comments.

### New WordPress 3.4 Functionality

 * Custom Headers/Backgrounds
    - New and deprecated functions are already covered by existing Guidelines. Themes
      may OPTIONALLY provide backward-compatibility with pre-3.4 handling of custom
      backgrounds and headers
 * Child Themes
    - Child Themes will formally be allowed to be submitted for inclusion in the
      Theme repository.
    - Child Themes are REQUIRED to use an approved Theme as a Template (i.e. as 
      the Parent Theme)
    - Child Themes are REQUIRED to demonstrate sufficient difference from the Parent
      Theme to warrant inclusion
    - Stand-alone Themes are REQUIRED to provide basic Child-Theme support, including:
       * Proper use of `get_template_directory()`/`get_template_directory_uri()`
         vs. `get_stylesheet_directory()`/`get_stylesheet_directory_uri()`
       * Proper enqueueing of stylesheets, and proper cascading of styles, including
         no inline styles in the Theme template
 * Backward Compatibility
    - Backward compatibility is covered by existing Guidelines. Per existing Guidelines(
      2 major WP versions required/1 major WP version recommended):
       * Themes MUST NOT support backward-compatibility for more than two major 
         WordPress versions (i.e. 3.2).
       * Themes are RECOMMENDED NOT to support backward-compatibility for more than
         one major WordPress version (i.e. 3.3).
 * Theme Settings and Data Security
    - Themes are RECOMMENDED to incorporate Theme options into the WordPress coreCore
      Core is the set of software required to run WordPress. The Core Development
      Team builds WordPress. Theme customizerCustomizer Tool built into WordPress
      core that hooks into most modern themes. You can use it to preview and modify
      many of your site’s appearance settings..

### New Guidelines (REQUIRED)

 * Required HooksHooks In WordPress theme and development, hooks are functions that
   can be applied to an action or a Filter in WordPress. Actions are functions performed
   when a certain event occurs in WordPress. Filters allow you to modify certain
   functions. Arguments used to hook both filters and actions look the same. and
   Navigation
    - Add to list of template tags REQUIRED where appropriate: [`previous_image_link()`](https://codex.wordpress.org/Function_Reference/previous_image_link)/
      [`next_image_link()`](https://codex.wordpress.org/Template_Tags/next_image_link)(
      or equivalent)
 * Theme Features
    - If implementing a site logo, Themes are REQUIRED to provide user-configuration
      of the logo via the core custom headerHeader The header of your site is typically
      the first thing people will experience. The masthead or header art located
      across the top of your page is part of the look and feel of your website. 
      It can influence a visitor’s opinion about your content and you/ your organization’s
      brand. It may also look different on different screen sizes. feature. (Exception:
      if incorporating _both_ a site logo and custom header, the custom header is
      required to support the core custom header feature, and the custom logo is
      then required to be implemented via custom Theme option.)
 * Function Parameters, Filters, and Action Hooks
    - Themes are REQUIRED to use function parameters, filters, and action hooks 
      where appropriate in order to modify content, rather than hard-coding:
       * `wp_title`: Themes are REQUIRED to modify output via `wp_title` filterFilter
         Filters are one of the two types of Hooks [https://codex.wordpress.org/Plugin_API/Hooks](https://codex.wordpress.org/Plugin_API/Hooks).
         They provide a way for functions to modify data of other functions. They
         are the counterpart to Actions. Unlike Actions, filters are meant to work
         in an isolated manner, and should never have side effects such as affecting
         global variables and output.. ([Refer to Codex note](https://codex.wordpress.org/Function_Reference/wp_title#Note).)
       * `body_class()`/`post_class()`:
          - Themes are RECOMMENDED to modify output via filter
            (`body_class`/`post_class`)
          - Themes may OPTIONALLY modify output via function parameter
            (`body_class(
            $class )`/`post_class( $class )`)

### New Guidelines (RECOMMENDED)

 * Code Quality
    - Themes are RECOMMENDED to follow the [official WordPress coding standards](https://codex.wordpress.org/WordPress_Coding_Standards)
      for all PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is 
      a widely-used open source general-purpose scripting language that is especially
      suited for web development and can be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
      code.
    - Themes are RECOMMENDED to follow the [official WordPress CSS coding standards](https://codex.wordpress.org/CSS_Coding_Standards)
      for all CSSCSS CSS is an acronym for cascading style sheets. This is what 
      controls the design or look and feel of a site..
 * Script Enqueueing
    - Themes are RECOMMENDED to enqueue the comment-reply script at the `comment_form_before`
      hook
    - >     ```
      >     function theme_slug_enqueue_comment_reply_script() {
      >     	if ( comments_open() && get_option( 'thread_comments' ) ) {
      >     		wp_enqueue_script( 'comment-reply' );
      >     	}
      >     }
      >     add_action( 'comment_form_before', 'theme_slug_enqueue_comment_reply_script' );
      >     ```
      > 

### Clarifications

Clarifications to existing guidelines being enforced:

 * Presentation vs Functionality
    - Themes are REQUIRED to function as stand-alone code. Themes may OPTIONALLY
      integrate support for third-party Plugins; however, Themes are REQUIRED to
      degrade gracefully and to function fully and properly without any such Plugins
      active.

### Feedback

What else should be included? What should be revised? Let us know in the comments.

[#3-4](https://make.wordpress.org/themes/tags/3-4/), [#guidelines](https://make.wordpress.org/themes/tags/guidelines/)

### Share this:

 * [  Threads ](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?share=threads)
 * [  Mastodon ](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?share=mastodon)
 * [  Bluesky ](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?share=bluesky)
 * [  Facebook ](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?share=facebook)
 * [  X ](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?share=x)
 * [  LinkedIn ](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?share=linkedin)

 * [Login to Reply](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fthemes%2F2012%2F05%2F08%2Fproposed-wordpress-3-4-guidelines-revisions%2F%23respond&locale=en_US)

 1.  ![](https://secure.gravatar.com/avatar/73f0df8053e08ea06afb56e37498671e87c066fa7d3cacc876264e45cadf01e8?
     s=32&d=mm&r=g)
 2.   [Andy Adams](http://thethemefoundry.com)  4:36 pm _on_ May 8, 2012
 3.  I’m not all too familiar with the .org theme repository requirements, so forgive
     me if I’m missing any background information. Thanks for all your work putting
     this together, Chip.
 4.  The piece that I would revise would be the requirement to use the coreCore Core
     is the set of software required to run WordPress. The Core Development Team builds
     WordPress. custom headerHeader The header of your site is typically the first 
     thing people will experience. The masthead or header art located across the top
     of your page is part of the look and feel of your website. It can influence a 
     visitor’s opinion about your content and you/ your organization’s brand. It may
     also look different on different screen sizes. feature for logos. Many of the 
     themes we develop use logos that don’t span the full width of the page, so it’s
     technically incorrect to call it a “header”. It comes down to semantics, I suppose.
     But I don’t like using the word “header” when it doesn’t apply.
 5.   * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  4:52 pm _on_ 
        May 8, 2012
      * And thus, the discussion. 🙂
      * The thought behind the requirement is two-fold: one, consistent UIUI UI is 
        an acronym for User Interface - the layout of the page the user interacts with.
        Think ‘how are they doing that’ and less about what they are doing. is ideal
        for the end user, and two, with the advent of flexible headers, the coreCore
        Core is the set of software required to run WordPress. The Core Development
        Team builds WordPress. custom headerHeader The header of your site is typically
        the first thing people will experience. The masthead or header art located 
        across the top of your page is part of the look and feel of your website. It
        can influence a visitor’s opinion about your content and you/ your organization’s
        brand. It may also look different on different screen sizes. feature becomes
        suitable for variable-sized logos.
      * Personally, I think I’d rather see core implement a “site logo” option, because
        a site logo is Theme-independent (much like the site favicon, title, description,
        etc.), and then provide a way for Themes to incorporate/support that core feature.
      * ![](https://secure.gravatar.com/avatar/ffcbec975347be726440406a00a9d29cfe9a0599991bc38b1cbe2ad2ed322f9c?
        s=32&d=mm&r=g)
      *  [Greg Priday](https://profiles.wordpress.org/gpriday/)  4:59 pm _on_ May 8,
        2012
      * 3.4 gives you a lot more control over the headerHeader The header of your site
        is typically the first thing people will experience. The masthead or header
        art located across the top of your page is part of the look and feel of your
        website. It can influence a visitor’s opinion about your content and you/ your
        organization’s brand. It may also look different on different screen sizes.
        size. So it doesn’t need to span the full width of the page. The nice thing
        about using WordPress’ header functionality is that (I assume) it’ll integrate
        with 3.4’s theme customizerCustomizer Tool built into WordPress core that hooks
        into most modern themes. You can use it to preview and modify many of your 
        site’s appearance settings.. Pretty neat.
      * I agree though, I think using “headers” as logos might confuse a user. Say 
        the user switches from one theme that uses the header as a header, to another
        theme that uses the header as a logo. That might not go down too well.
      * Having a site logo in the coreCore Core is the set of software required to 
        run WordPress. The Core Development Team builds WordPress. would be a great
        solution but for now, maybe this requirement is a bit strict – given it’s essentially
        a hack.
         - ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
           s=32&d=mm&r=g)
         -  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  5:04 pm _on_
           May 8, 2012
         - Which would be easier to migrate in the future, if a “site logo” eventually
           becomes a coreCore Core is the set of software required to run WordPress.
           The Core Development Team builds WordPress. option: a core custom headerHeader
           The header of your site is typically the first thing people will experience.
           The masthead or header art located across the top of your page is part of
           the look and feel of your website. It can influence a visitor’s opinion 
           about your content and you/ your organization’s brand. It may also look 
           different on different screen sizes. theme_mod, or a custom Theme option?
           I don’t know; maybe either one would be equally easy, or equally difficult.
         - Also, my thinking with using custom headers for the logo is that it might
           help differentiate the logo as a _site_ option, rather than as a custom 
           _Theme_ option. But the question of end user confusion may very well be 
           valid…
      * ![](https://secure.gravatar.com/avatar/99ac6675ed857de8d430540da76a7eb2da6606d034dcdfd38e6b0e05e4b5c98e?
        s=32&d=mm&r=g)
      *  [Devin Price](http://wptheming.com)  2:22 am _on_ May 12, 2012
      * I agree. If coreCore Core is the set of software required to run WordPress.
        The Core Development Team builds WordPress. had a “logo” option, I would say
        go ahead and make it a requirement. But headerHeader The header of your site
        is typically the first thing people will experience. The masthead or header
        art located across the top of your page is part of the look and feel of your
        website. It can influence a visitor’s opinion about your content and you/ your
        organization’s brand. It may also look different on different screen sizes.
        implies something different.
      * Also, I assume themes that already have a logo option in their theme options
        would be required to change it, and that could be very confusing for users 
        who update.
 6.  ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
     s=32&d=mm&r=g)
 7.   [Konstantin](http://en.wp.obenland.it)  4:38 pm _on_ May 8, 2012
 8.  Can we drop the requirement for the following, when loading a textdomain?
 9.  $locale = get_locale();
      $locale_file = get_template_directory() . “/languages/
     $locale.php”; if ( is_readable( $locale_file ) ) require_once( $locale_file );
 10. See [#20471](https://core.trac.wordpress.org/changeset/20471)
 11. In the comment-reply example, the `comments_open()` is not necessary (is it?),
     as it is called just prior to the `'comment_form_before'` action.
 12.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  4:49 pm _on_ 
        May 8, 2012
      * Are you referencing the right TracTrac Trac is the place where contributors
        create issues for bugs or feature requests much like GitHub.[https://core.trac.wordpress.org/](https://core.trac.wordpress.org/).
        ticket? At first glance, it doesn’t appear relevant to loading a textdomain.
      * And you’re right: `comments_open()` is likely redundant in the example.
         - ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
           s=32&d=mm&r=g)
         -  [Konstantin Obenland](https://profiles.wordpress.org/kobenland/)  4:52 
           pm _on_ May 8, 2012
         - No I don’t, it’s supposed to be: [https://core.trac.wordpress.org/changeset/20471](https://core.trac.wordpress.org/changeset/20471)
            * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
              s=32&d=mm&r=g)
            *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  4:53 pm
              _on_ May 8, 2012
            * Ah, there it is. 🙂
            * So, that bit is not actually required in order to load the locale file?
               - ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
                 s=32&d=mm&r=g)
               -  [Konstantin Obenland](https://profiles.wordpress.org/kobenland/)  
                 4:55 pm _on_ May 8, 2012
               - Not AFAIK. I’ve never seen locale files with the filetype being PHPPHP
                 PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-
                 used open source general-purpose scripting language that is especially
                 suited for web development and can be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)…
      * ![](https://secure.gravatar.com/avatar/a2293936b68aa6f07397754f9d1ae2b771b12ad56f868a980206b8d96f1bad31?
        s=32&d=mm&r=g)
      *  [Michael Fields](http://wordpress.mfields.org/)  6:31 pm _on_ May 8, 2012
      * I spoke with Nacin regarding this over Skype and he explained that this code
        is not really necessary and that coreCore Core is the set of software required
        to run WordPress. The Core Development Team builds WordPress. would be moving
        away from loading .php files for i18n. It was also removed from Twenty Ten 
        [r20473](https://core.trac.wordpress.org/changeset/20473), Twenty Twelve [r19844](https://core.trac.wordpress.org/changeset/19844).
        After seeing these changesets [we removed it from _s](https://github.com/Automattic/_s/commit/2a0b4e7bf8eab78b6d03b60eec19ea1dbd3780c1)
        as well.
         - ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
           s=32&d=mm&r=g)
         -  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  6:52 pm _on_
           May 8, 2012
         - Great! Less code FTW. 🙂
      * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  6:57 pm _on_ 
        May 8, 2012
      * So, where, exactly, are we actually _requiring_ use of that code?
         - ![](https://secure.gravatar.com/avatar/a2293936b68aa6f07397754f9d1ae2b771b12ad56f868a980206b8d96f1bad31?
           s=32&d=mm&r=g)
         -  [Michael Fields](http://wordpress.mfields.org/)  7:40 pm _on_ May 8, 2012
         - I’m not sure, I just checked the docs and did not notice it as a requirement
           anywhere.
         - ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
           s=32&d=mm&r=g)
         -  [Konstantin Obenland](https://profiles.wordpress.org/kobenland/)  5:42 
           am _on_ May 9, 2012
         - We don’t explicitly. I suspect this falls under the “if you do it, do it
           right” approach we have towards i18n. But if you look for it in tickets,
           there are a few: [https://themes.trac.wordpress.org/search?q=if+%28+is_readable%28+%24locale_file+%29+%29](https://themes.trac.wordpress.org/search?q=if+%28+is_readable%28+%24locale_file+%29+%29)
            * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
              s=32&d=mm&r=g)
            *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  6:42 pm
              _on_ May 9, 2012
            * I would probably chalk that up to a case of following the example of 
              coreCore Core is the set of software required to run WordPress. The Core
              Development Team builds WordPress.-bundled Themes…
      * ![](https://secure.gravatar.com/avatar/1a7df76f4f6519a5618c32428b277a5c7a89798394965b67e50528ca57c1b5a8?
        s=32&d=mm&r=g)
      *  [Andrew Nacin](https://profiles.wordpress.org/nacin/)  5:00 am _on_ May 10,
        2012
      * There’s no reason at all for this code in a theme, ever.
      * ![](https://secure.gravatar.com/avatar/ca277f589b0e939949a0aa1f4eb5d78ffb7956eafd46767d1bdcefc0290cf37d?
        s=32&d=mm&r=g)
      *  [Rico Neitzel](http://riconeitzel.de)  6:34 am _on_ June 14, 2012
      * Hey Guys,
      * dropping that would be bad for some german implementations. we’re using that
        file to rewrite permalinks for german sites… we don’t want to use a 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. as this setting is theme related
        and not system wide.
      * so removing that might raise an issue for us 🙂
      * Best,
         Rico
         - ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
           s=32&d=mm&r=g)
         -  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  12:34 pm _on_
           June 14, 2012
         - If it works for you, keep using it. What we’ve done, though, is dropped 
           it as a _requirement_. Generally speaking, a Theme is only _required_ to`
           load_theme_textdomain()`.
            * ![](https://secure.gravatar.com/avatar/7c1217e4e4f1bfff30cbb4b9d9b9278fc15c620cac0cad6c24d4063a4c89686f?
              s=32&d=mm&r=g)
            *  Middlesister  12:52 pm _on_ June 16, 2012
            * But if theme’s are not required to include a $locale.php, how would languages
              that need/utilize them be able to localize said theme properly?
            * For example greek: [http://themeshaper.com/forums/topic/thematic-in-greek](http://themeshaper.com/forums/topic/thematic-in-greek)
            * What has changed that makes these files unneccessary?
               - ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
                 s=32&d=mm&r=g)
               -  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  2:00
                 pm _on_ June 16, 2012
               - In most cases, `load_theme_textdomain( $textdomain, get_template_directory().'/
                 languages' );` will suffice. Just drop the language files, named appropriately(
                 e.g. **en_US.mo** and **en_US.po**) in the /languages sub-folder inside
                 the Theme, and WordPress will use them.
               - If you still need to use $locale.php, then feel free to do so. We’re
                 just no longer going to _require_ that it be used.
 13. ![](https://secure.gravatar.com/avatar/69a27281d7c10c667c44029043d42da0694c9258a327f187f9aeb02e8c98bf42?
     s=32&d=mm&r=g)
 14.  [ravi](http://code.ahren.org/)  4:45 pm _on_ May 8, 2012
 15. The section on “backward compatibility” is a bit confusing (to me): 2 major WP
     versions REQUIRED, 1 major WP version RECOMMENDED. That seems contradictory.
 16.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  4:50 pm _on_ 
        May 8, 2012
      * Themes are **required** NOT to provide backward compatibility _beyond_ two 
        major WordPress versions, and they are **recommended** NOT to provide backward
        compatibility beyond one major WordPress version. The _ideal_ is no backward
        compatibility at all, but that ideal simply isn’t practical.
 17. Pingback: [Wiki Duh » WordPress 3.4 Proposed Guidelines](http://wikiduh.com/1537/wordpress-3-4-proposed-guidelines)
 18. ![](https://secure.gravatar.com/avatar/d01d0aa0d7b7deb68832fe9c8565bae3a19464a4dd76e8a0ee675cec3b679758?
     s=32&d=mm&r=g)
 19.  [Sayontan Sinha](https://profiles.wordpress.org/sayontan/)  9:37 pm _on_ May 
     8, 2012
 20. So, for the inline styles, consider this scenario:
      1. Let’s say I have some widgets
     where the users can put in a color that they want some text to show up with in
     the front end. 2. There could be several instances of this widgetWidget A WordPress
     Widget is a small block that performs a specific function. You can add these widgets
     in sidebars also known as widget-ready areas on your web page. WordPress widgets
     were originally created to provide a simple and easy-to-use way of giving design
     and structure control of the WordPress theme to the user., each with a different
     ID, which is dynamically assigned at the time of rendering. In such a case how
     can the user input be captured as an external style?
 21. I believe that inline styles **should be allowed** in such scenarios, because 
     you are not taking away the flexibility from a user here: in fact you are offering
     the user the flexibility to provide such information through the UIUI UI is an
     acronym for User Interface - the layout of the page the user interacts with. Think‘
     how are they doing that’ and less about what they are doing..
 22. Note that the upfront absence of the widget ID makes it almost impossible to determine
     this information upfront. You could, theoretically parse the array of widgets 
     to find the ID whenever the widgets are updated, then save the information to 
     an external stylesheet, but this is not going to provide any added flexibility,
     since the method of information entry itself is from the user rather than the 
     developer.
 23.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  9:43 pm _on_ 
        May 8, 2012
      * First, remember: in (almost) all cases, exceptions can be requested.
      * Second: you’re talking about a _WidgetWidget A WordPress Widget is a small 
        block that performs a specific function. You can add these widgets in sidebars
        also known as widget-ready areas on your web page. WordPress widgets were originally
        created to provide a simple and easy-to-use way of giving design and structure
        control of the WordPress theme to the user._, not a _template file_.
      * Third: outputting a user-defined style inline is entirely different from _hard-
        coding_ inline styles. The point isn’t that there’s anything inherently wrong
        with inline styles, but rather that hard-coded inline styles are almost impossible
        to override. User-defined styles output inline don’t fall into that situation.
      * I think your scenario is essentially an example of an exception that proves
        the rule.
 24. ![](https://secure.gravatar.com/avatar/3cc497b956116d04064dde6d3c8fc0843e8d9f6bdf4e3abfb698a67d32b6dc53?
     s=32&d=mm&r=g)
 25.  [Bruce Wampler](http://weavertheme.com)  5:11 pm _on_ May 9, 2012
 26. I should have posted a comment from the reviewers list here, sorry…
 27. But as Chip just said – the guide line applies to front end template files. After
     re-reading the guideline, it is clear that one of the main goals is to be sure
     child themes can essentially override anything the need to. Just keeping that 
     goal in mind clarifies where inline styles really matter.
 28. Rather than widgets, my question was about inline style in the admin side where
     a child is not as likely to need to override a style. My admin interface code 
     is full of inline styles because it is just kind of difficult to create a bunch
     of totally arbitrary styles for the admin style sheet anyway.
 29. ![](https://secure.gravatar.com/avatar/3cc497b956116d04064dde6d3c8fc0843e8d9f6bdf4e3abfb698a67d32b6dc53?
     s=32&d=mm&r=g)
 30.  [Bruce Wampler](http://weavertheme.com)  5:19 pm _on_ May 9, 2012
 31. Yet another point – partly because recommended often becomes required, so about
     this one:
      Themes are RECOMMENDED to follow the official WordPress coding standardsWordPress
     Coding Standards The Accessibility, PHP, JavaScript, CSS, HTML, etc. coding standards
     as published in the WordPress [Coding Standards Handbook](https://developer.wordpress.org/coding-standards/).
     May also refer to [The collection of PHP_CodeSniffer rules](https://github.com/WordPress/WordPress-Coding-Standards/)(
     sniffs) used to format and validate PHP code developed for WordPress according
     to the PHP coding standards. for all PHPPHP PHP (recursive acronym for PHP: Hypertext
     Preprocessor) is a widely-used open source general-purpose scripting language 
     that is especially suited for web development and can be embedded into HTML. [https://www.php.net/manual/en/index.php](https://www.php.net/manual/en/index.php)
     code.
 32. I have a problem, sort of. Back when I started programming, and tab was based 
     on 8 spaces. So I’ve always programmed with tabs or tabs+4 spaces for indentation.
     All my files use that – with the help of my IDE (Komodo). While not trivial, it
     certainly is possible to transform all that to 4 space based tabs which seems 
     to be the PHP “standard”. Same with some of the other conventions, ( space in 
     arg lists ) for example.
 33. But a problem with massive reformatting like that is that it will essentially 
     make a diff review impossible. Perhaps a solution would be to allow a “reformatting”
     submission that would be mostly about making the code follow the WP standards?
 34.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  6:39 pm _on_ 
        May 9, 2012
      * There are certainly some who want to move in the direction of requiring WP 
        coding standards, but I think we need to have a very long conversation before
        ever considering that. There are certainly a plethora of _best practices_ in
        the coding/CSSCSS CSS is an acronym for cascading style sheets. This is what
        controls the design or look and feel of a site. coding standards, but that 
        doesn’t mean that they should be _required_.
      * One of the primary reasons for _coreCore Core is the set of software required
        to run WordPress. The Core Development Team builds WordPress._ to publish coding
        standards is to help ensure consistency among disparate patches committed by
        a growing number of contributors and committers. It is fairly important for
        the core codebase to be consistent, in order to facilitate troubleshooting,
        bug-fixing, and future code enhancements and changes. None of these issues 
        apply for non-core-bundled Themes.
      * We want to make the coding/CSS coding standards _recommended_, in order to 
        help raise awareness of those standards among the Theme developer community.
        I don’t view this _recommended_ status as an intended escalation (unlike, say,
        the Settings APIAPI An API or Application Programming Interface is a software
        intermediary that allows programs to interact with each other and share data
        in limited, clearly defined ways. implementation, which I would prefer _very
        much_ eventually to escalate to _required_); rather, I view it merely as awareness
        and promotion of best practices.
      * I think it would be in the community’s best interest to consider each specific
        standard on a case-by-case basis, to determine appropriateness for inclusion
        in the Theme Review guidelines as _required_, rather than a wholesale adoption
        of those standards. By making the standards _recommended_, it opens the door
        to such further discussions within the community.
 35. Pingback: [The theme review team discusses changes for 3.4 | WPCandy](http://wpcandy.com/linked/theme-review-team-discusses-3-4)
 36. ![](https://secure.gravatar.com/avatar/1a7df76f4f6519a5618c32428b277a5c7a89798394965b67e50528ca57c1b5a8?
     s=32&d=mm&r=g)
 37.  [Andrew Nacin](https://profiles.wordpress.org/nacin/)  5:07 am _on_ May 10, 2012
 38. A few points:
 39. Both Twenty Ten and Twenty Eleven would fail a number of these guidelines, including:
     not enqueueing styles, not filtering wp_title(), etc. I would be happy to see 
     a TracTrac Trac is the place where contributors create issues for bugs or feature
     requests much like GitHub.[https://core.trac.wordpress.org/](https://core.trac.wordpress.org/).
     ticket to change these in 3.4 or 3.5. But until we do change them, I’m weary (
     but okay) with making these requirements.
 40. The CSSCSS CSS is an acronym for cascading style sheets. This is what controls
     the design or look and feel of a site. guidelines are still in draft mode, and
     may not be finalized before 3.4’s release. They were proposed originally by the
     Automattic theme team and not yet endorsed by the various frontend developers 
     working on coreCore Core is the set of software required to run WordPress. The
     Core Development Team builds WordPress..
 41. get_template_directory_uri() versus get_stylesheet_directory_uri() is not straightforward
     and may be tough to judge at times.
 42.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  5:07 pm _on_ 
        May 10, 2012
      * I’ll be happy to submit any necessary patches for Twenty Ten and Twenty Eleven.
        If you see specific places where either would fail, just 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.” me and I’ll write them up.
      * Thanks for the caveat regarding the CSSCSS CSS is an acronym for cascading 
        style sheets. This is what controls the design or look and feel of a site. 
        coding standards. That’s yet another reason that nothing more than _recommended_
        is appropriate at this time.
      * In some cases, `get_template_directory*()` vs `get_stylesheet_directory*()`
        will be a matter of intended use; most of the time, though, the correct template
        tag to use is fairly clear. (Can/should be overridden by a Child ThemeChild
        theme A Child Theme is a customized theme based upon a Parent Theme. It’s considered
        best practice to create a child theme if you want to modify the CSS of your
        theme. [https://developer.wordpress.org/themes/advanced-topics/child-themes/](https://developer.wordpress.org/themes/advanced-topics/child-themes/)?
        Use _stylesheet_. Can’t/shouldn’t be overridden by a Child Theme? Use _template_.)
         - ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
           s=32&d=mm&r=g)
         -  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  6:04 pm _on_
           May 10, 2012
         - The use of `get_stylesheet_directory*()` should rarely be used in standalone/
           parent themes. It makes the assumption that either a child themeChild theme
           A Child Theme is a customized theme based upon a Parent Theme. It’s considered
           best practice to create a child theme if you want to modify the CSS of your
           theme. [https://developer.wordpress.org/themes/advanced-topics/child-themes/](https://developer.wordpress.org/themes/advanced-topics/child-themes/)
           is not being used or that a particular file is housed within a child theme.
         - Nearly always, if a regular theme is using *stylesheet*, it should be falling
           back to *template*.
      * ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
        s=32&d=mm&r=g)
      *  [Konstantin](http://en.wp.obenland.it)  8:29 pm _on_ May 10, 2012
      * Oh, I’d love to contribute too (as a matter of fact, I have a patch prepared).
      * [@nacin](https://profiles.wordpress.org/nacin/): When you say “enqueueing styles”
        would that also include `style.css`?
 43. ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
     s=32&d=mm&r=g)
 44.  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  5:02 pm _on_ May
     10, 2012
 45. Please note the recent addition, under **Clarifications**, regarding stand-alone
     Theme functionality, and 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. integration. This is something
     the WPTRT has been enforcing all along, but is not explicitly spelled out in the
     current Guidelines.
 46. ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
     s=32&d=mm&r=g)
 47.  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  6:01 pm _on_ May
     10, 2012
 48. >  Themes are RECOMMENDED to incorporate Theme options into the WordPress coreCore
     > Core is the set of software required to run WordPress. The Core Development 
     > Team builds WordPress. Theme customizerCustomizer Tool built into WordPress 
     > core that hooks into most modern themes. You can use it to preview and modify
     > many of your site’s appearance settings..
 49. Why recommend this at all? I’m already imagining disastrous scenarios of theme
     authors going too far. I definitely don’t want to see themes add 100s of options
     to this thing.
 50.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  6:47 pm _on_ 
        May 10, 2012
      * I don’t understand the hesitation. Wouldn’t initial user configuration of custom
        Theme options via the customizerCustomizer Tool built into WordPress core that
        hooks into most modern themes. You can use it to preview and modify many of
        your site’s appearance settings., upon Theme activation, provide the best-possible
        user experience?
      * Sure, we’ll need to be sensible about _how_ that integration takes place, but
        I think we can safely play that by ear as developers get their feet wet with
        the new feature. If we take the same philosophical approach with the customizer
        tab as we do with the Appearance sub-menu, I think we can reasonably keep things
        manageable, and avoid such disastrous scenarios as you’re envisioning.
         - ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
           s=32&d=mm&r=g)
         -  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  12:06 am 
           _on_ May 11, 2012
         - It’s just a question of whether we really need to recommend it, especially
           until we see how theme authors are utilizing it. I’m neither for or against
           recommending it. I’d just like to be more cautious with it for a while.
         - As far as best user experience goes, I agree, to a degree. It can make for
           a great user experience as well as a horrible one.
         - It’s just something I thought I’d throw out there for discussion.
         - ![](https://secure.gravatar.com/avatar/1a7df76f4f6519a5618c32428b277a5c7a89798394965b67e50528ca57c1b5a8?
           s=32&d=mm&r=g)
         -  [Andrew Nacin](https://profiles.wordpress.org/nacin/)  2:35 am _on_ May
           11, 2012
         - I agree with Justin. I would not “Recommend” it yet.
            * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
              s=32&d=mm&r=g)
            *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  1:42 pm
              _on_ May 11, 2012
            * I can see where both of you are coming from. Maybe OPTIONAL is a better
              approach initially? I want the customizerCustomizer Tool built into WordPress
              core that hooks into most modern themes. You can use it to preview and
              modify many of your site’s appearance settings. feature to be _in_ the
              Guidelines (as with basically every other coreCore Core is the set of
              software required to run WordPress. The Core Development Team builds 
              WordPress. feature that touches or interacts with Themes), as a basis
              for establishing future implementation guidelines.
 51. ![](https://secure.gravatar.com/avatar/d90a938633be46488e62828ea10317d70e8d039bdd5070f5760139ca91a38362?
     s=32&d=mm&r=g)
 52.  [Konstantin Kovshenin](https://profiles.wordpress.org/kovshenin/)  6:56 am _on_
     May 11, 2012
 53. I think it’s also time to make wp_nav_menu required.
 54.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  1:44 pm _on_ 
        May 11, 2012
      * well, `wp_nav_menu()` _is_ required: _if_ the Theme design incorporates a navigation
        menuNavigation Menu A theme feature introduced with Version 3.0. WordPress 
        includes an easy to use mechanism for giving various control options to get
        users to click from one place to another on a site.. The line we’ve not crossed
        thus far is dictating Theme _design_ or _aesthetic_, and I’m not sure we _want_
        to cross that line. (Bear in mind that WidgetWidget A WordPress Widget is a
        small block that performs a specific function. You can add these widgets in
        sidebars also known as widget-ready areas on your web page. WordPress widgets
        were originally created to provide a simple and easy-to-use way of giving design
        and structure control of the WordPress theme to the user. support _is_ required,
        and that Nav Menu Widgets can be added to dynamic sidebars – so technically
        speaking, all Themes _do_ support navigation menus, at least in some form.)
 55. ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
     s=32&d=mm&r=g)
 56.  [Konstantin](http://en.wp.obenland.it)  7:12 am _on_ May 11, 2012
 57. I’d love to have a clearer Credit Link guideline with less leeway for both, Theme
     Authors and Reviewers!
 58. I’m not too happy about the entire “Credit Link” section of the Theme Review codex
     page. And when I say _not too happy_, I mean I hate this part of every review,
     because of the enormous propability that my findings won’t correlate with the 
     opionion of more seasoned reviewers ([as it happened on this one](https://themes.trac.wordpress.org/ticket/7773)).
 59. What more is there to a Theme URLURL A specific web address of a website or web
     page on the Internet, such as a website’s URL www.wordpress.org, other than it
     being _a page specifically related to the Theme_?
      What is relevant and appropriate
     in a public-facing credit link? What we understand under a project/development
     website?
 60. As I said before, I think a clarification, and writing up requirements that are
     currently enforced but not documented, would benefit both, Theme Authors and Reviewers.
 61.  * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
        s=32&d=mm&r=g)
      *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  2:01 pm _on_ 
        May 11, 2012
      * I completely understand your frustration. Trying to keep credit link guidelines
        completely objective, while at the same time avoiding CFR-level detail and 
        breadth, can be a delicate balance.
      * Regarding the ticket you linked (and if you want to discuss that one specifically,
        I’d be happy to do so in-ticket), when I look at the Theme URI, especially 
        for a site that would otherwise not be valid as Author URI, the red flag for
        me is the _ratio_ of Theme-related content to non-Theme-related content. Another
        criterion for me is, “how beneficial is this content to the end user?” But 
        these criteria are difficult-to-impossible to quantify objectively. Call it
        experience-based intuition. (Maybe call it jadedness from dealing with too 
        many Themes with crappy credit links?)
      * My _personal_ preference/ideal for an appropriate Theme URI would be Theme-
        specific landing page on a Theme developer (or Theme shop) site, _not_ an essentially
        orphaned page, with some Theme-related content, on a site otherwise unrelated
        to WordPress/Themes. But that preference is not the consensus, so we try to
        strike a balance regarding appropriateness.
      * Theme URI is one of the most subjective guidelines, and as such ends up causing
        most of the headaches regarding Theme-review observations.
         - ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
           s=32&d=mm&r=g)
         -  [Konstantin](http://en.wp.obenland.it)  3:13 pm _on_ May 11, 2012
         - Please do share your thoughts in-ticket!
         - I can see how it is difficult to to come up with objective guidelines, given
           the variations in Theme URLURL A specific web address of a website or web
           page on the Internet, such as a website’s URL www.wordpress.org pages. This
           is probably why they haven’t been defined in more detail yet.
         - But how about starting with someting like:
         - > Theme page is RECOMMENDED to be on a WordPress/Theme related site.
         - I’d love to hear from other reviewers what they look for, when reviewing
           a Theme and it comes to the Crdit Links! Please share, so we can come to
           a better understanding on this.
         - ![](https://secure.gravatar.com/avatar/8aaada064ac4133493706877153f212dc67efa0e5da84f95e0d783c03face3d1?
           s=32&d=mm&r=g)
         -  Vicky Arulsingam  1:48 am _on_ May 14, 2012
         - The key here is unrelated content.
         - I’m okay with the Theme URI being an orphaned page but only if there isn’t
           unrelated content.
 62. ![](https://secure.gravatar.com/avatar/413af73f6adbb1289810552a3ef8e864394e5056e2830f3dc7e6e058c182f897?
     s=32&d=mm&r=g)
 63.  Clementine Hobbins  1:00 pm _on_ May 17, 2012
 64. Thx for information.
 65. ![](https://secure.gravatar.com/avatar/b11f3b2db07cbd40ba5f38b3339af02e2911c8571b25ffd2757199643df58359?
     s=32&d=mm&r=g)
 66.  [Satish Gandham](http://SatishGandham.Com)  7:51 am _on_ May 20, 2012
 67. Can you please include guidelines for the featured themes, or at least ask the
     reviewer to say why he thought the theme should be featured.
 68. ![](https://secure.gravatar.com/avatar/deecfa06243440ef6b8e211a5f3d95c21c67e544580be2008762ce3c290470fe?
     s=32&d=mm&r=g)
 69.  Arie Putranto  8:31 pm _on_ May 20, 2012
 70. Well, what if comments.php does not exists but replace by a function which generated
     the comments list? Is it okay?
 71.  * ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
        s=32&d=mm&r=g)
      *  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  11:17 pm _on_
        August 4, 2012
      * There’s technically not a need for the comments.php template. If your theme
        doesn’t need it but still handles comments correctly using the appropriate 
        WordPress functions, you’ll be fine.
         - ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
           s=32&d=mm&r=g)
         -  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  11:25 pm _on_
           August 4, 2012
         - I disagree. It is a general principle that Themes not rely on legacy template-
           part file support. And specifically for comments.php, [according to source](https://core.trac.wordpress.org/browser/tags/3.4.1/wp-includes/comment-template.php#L918),
           backward compat for comments.php in comments_template() is intended to be
           removed, which IMHO is equivalent to it being considered as deprecated:
         - `
            else // Backward compat code will be removed in a future release 919 
           require( ABSPATH . WPINC . '/theme-compat/comments.php');
         - Thus, proper implementation of comments requires use of comments.php, included
           in the template via comments_template().
         - If a Theme has a legitimate reason for an exception to this implementation,
           then that exception can be handled just like any other guideline exception.
 72. ![](https://secure.gravatar.com/avatar/e3b3ba7c37c496982b2aedba65d12b0f51079d7453009f5f1f872930589c865f?
     s=32&d=mm&r=g)
 73.  [@mercime](https://profiles.wordpress.org/mercime/)  5:06 pm _on_ May 22, 2012
 74. We know now that there are theme authors who add another subpanel, Appearances
     > More Themes in themes that have been approved/accepted into the WP Theme Repository
     [https://lists.wordpress.org/pipermail/theme-reviewers/2012-April/008791.html](https://lists.wordpress.org/pipermail/theme-reviewers/2012-April/008791.html)
 75. There should be guidelines surrounding the practice if this (More Themes subpanel)
     continues and grows, for example:
      1. Maximum number of themes which can be listed
     in that subpanel. 2. Links from that subpanel should only go to webpages of approved
     Theme URLURL A specific web address of a website or web page on the Internet, 
     such as a website’s URL www.wordpress.org 3. No affiliate links. 4. In relation
     to that, no calling home scripts to find out how many clicked from subpanel links
     to theme webpage 5. Best practices for adding subpanel. 6. Etc.
 76. Thanks.
 77.  * ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
        s=32&d=mm&r=g)
      *  [Konstantin Obenland](https://profiles.wordpress.org/kobenland/)  8:05 pm 
        _on_ May 23, 2012
      * How many Theme Authors actually do this that we can’t deal with something like
        this on a case-by-case basis?
 78. Pingback: [WordPress 3.4 | WPNinja](http://wpninja.pl/artykuly/wordpress-3-4/)
 79. ![](https://secure.gravatar.com/avatar/213ffa27eb35ac4a16040157d8d9d8c9a1be19971a387774a8891893215ed084?
     s=32&d=mm&r=g)
 80.  [Emil Uzelac](https://profiles.wordpress.org/emiluzelac/)  5:36 am _on_ June 
     22, 2012
 81. Just a very quick note that this 3.4 guidelines will need to be discussed bit 
     more before we actually decide on anything and push this over to [https://codex.wordpress.org/Theme_Review](https://codex.wordpress.org/Theme_Review)
 82. For example get_template_directory()/get_template_directory_uri() should be recommended,
     not required.
 83. The reason is that many users already have Child Themes in place with non get_template_directory()/
     get_template_directory_uri(), requiring Themes to make a switch will break all
     of them. If requirements are needed, let’s set this for new submissions only, 
     while only recommending to currently approved ones.
 84. Yes, this is definitely way to go, but not for currently approved Themes.
 85. Thanks,
      Emil
 86.  * ![](https://secure.gravatar.com/avatar/8013a62d7397c006bae48b96d6832a573ea71a7d5d3597fe584210567b508c05?
        s=32&d=mm&r=g)
      *  [Justin Tadlock](https://profiles.wordpress.org/greenshady/)  8:34 am _on_
        June 24, 2012
      * Properly using get_template_directory() and get_template_directory_uri() is
        already required. From the guidelines:
      * >  All template tags and hooksHooks In WordPress theme and development, hooks
        > are functions that can be applied to an action or a Filter in WordPress. 
        > Actions are functions performed when a certain event occurs in WordPress.
        > Filters allow you to modify certain functions. Arguments used to hook both
        > filters and actions look the same. used in a Theme are required to be implemented
        > properly.
         - ![](https://secure.gravatar.com/avatar/e0a7a5e080c07aa316811aec3abe4a048407f985c99075aa7d718b0afe4a113e?
           s=32&d=mm&r=g)
         -  [Konstantin Obenland](https://profiles.wordpress.org/kobenland/)  8:58 
           am _on_ July 1, 2012
         - Would that include using the_title_attribute() rather than the_title() in
           title attributes?
            * ![](https://secure.gravatar.com/avatar/7d256f7b605361e4dc402138e2896ff727d2a13d669f1420a8644d12a90bb7af?
              s=32&d=mm&r=g)
            *  [Chip Bennett](https://profiles.wordpress.org/chipbennett/)  11:08 am
              _on_ July 1, 2012
            * Absolutely!

### Leave a Reply 󠀁[Cancel reply](https://make.wordpress.org/themes/2012/05/08/proposed-wordpress-3-4-guidelines-revisions/?output_format=md#respond)󠁿

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fmake.wordpress.org%2Fthemes%2F2012%2F05%2F08%2Fproposed-wordpress-3-4-guidelines-revisions%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

[← Team Rep Survey Results](https://make.wordpress.org/themes/2012/04/26/team-rep-survey-results/)

[Not sure how to codify this into a… →](https://make.wordpress.org/themes/2012/05/23/not-sure-how-to-codify-this-into-a/)