WordPress.org

Ready to get started?Download WordPress

Forums

Braces all the time. (1 post)

  1. peterx
    Member
    Posted 9 years ago #

    When I look at WP code I expand and turn green like Eric Bana. Any chance you could include the braces and change code of the form:

    if ( version_compare(phpversion(), '4.3.0', '>=') )
    header('Not Modified', TRUE, 304);
    else
    header('HTTP/1.x 304 Not Modified');

    to:

    if ( version_compare(phpversion(), '4.3.0', '>=') )
    {
    header('Not Modified', TRUE, 304);
    }
    else
    {
    header('HTTP/1.x 304 Not Modified');
    }

    Need a hand?

Topic Closed

This topic has been closed to new replies.

About this Topic