ThemeShaper Forums » Thematic

typo in thematic wiki/guide

(5 posts)
  • Started 13 years ago by em hr
  • Latest reply from Chris
  • This topic is resolved
  1. The thematic wiki/guide has a typo that needs to be fixed.
    http://themeshaper.com/thematic/guide/?page_id=12#thematic_show_commentsrss%28%29

    function dont_show_commentsrss() {
     return FALSE;
    }
    add_filter('thematic_show_commentsrss', 'dont_show_commentrss');

    needs to be changed to

    function dont_show_commentsrss() {
     return FALSE;
    }
    add_filter('thematic_show_commentsrss', 'dont_show_commentsrss');

    would have done it myself but registration for the wiki/guide was closed

    Posted 13 years ago #
  2. What's the difference em hr?

    Posted 13 years ago #
  3. Yeah they look identical at first glance but at a closer look in the add_filter bit the "my_function_name" is misspelled from it's my_function_name at the beginning of the code in the first example, which in turn throws an error when you copy and paste the code from the wiki. The devil is in the details of the omission of "s" in "comments" So....

    add_filter('thematic_show_commentsrss', 'dont_show_commentrss');

    should really be changed to:

    add_filter('thematic_show_commentsrss', 'dont_show_commentsrss');

    Posted 13 years ago #
  4. Man, I read that about 6 times before I posted too! Thanks for specifying:)

    Posted 13 years ago #
  5. Fixed.

    Posted 13 years ago #

RSS feed for this topic

Reply

You must log in to post.