Support » Requests and Feedback » Braces all the time.

  • peterx

    (@peterx)


    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?

  • The topic ‘Braces all the time.’ is closed to new replies.