correction to museum core theme template

  • Author
  • #900358


    If anyone has a page that they go to without being logged in, and there is an error at the bottom in regards to sprintf requiring an argument >0, the correction is easy to make.

    Go to dashboard/ appearances/ editor

    on the right select comments.php

    once the html is displayed scroll down to line 52. The line says:

    echo sprintf( __(‘You must be %1$slogged in%$2s to post a comment.’,’museum-core’), $anchor, $anchorclose ); ?></p>

    it should say:

    echo sprintf( __(‘You must be %1$slogged in%2$s to post a comment.’,’museum-core’), $anchor, $anchorclose ); ?></p>

    **note that the %$2s is changed to %2$s

    after changing, click on “update file” button

    this will fix the problem. It should now say at the bottom of your page with previous error (when not logged in) “you must be logged in to post comments”



    You have accidentally posted to the wrong support forum. We cannot help you here at with that site as it’s not being hosted by and we run on different software. This is the correct forum for your software http://wordpress.ORG/support/ vs The Differences
    Best wishes with your site.

The topic ‘correction to museum core theme template’ is closed to new replies.