Skip to:
Content
Pages
Categories
Search
Top
Bottom

BP 1.2.5 Double Spaced Code


  • 5887735
    Inactive

    I noticed the code in the updated php files is double spaced. That can add a lot of extra bloat over all those files.

    For example in the bp-core file the lines of code go from around 2100 to 4200 in 1.2.5.

Viewing 4 replies - 1 through 4 (of 4 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    Can you give me an example? Chances are this is for readabilities sake. There shouldn’t be any /extra/ spaces anywhere. The WordPress coding standards do ask us to put spaces in before and after such things as closing and opening brackets, after commas, and things like that. The BP code isn’t minified in anyway, and we’ll probably look into doing that for CSS and JS in future versions, but the PHP code will continue to stay the way it is.


    5887735
    Inactive

    The bp-core.php file is around 4100 lines in 1.2.5. It was around 2100 lines in 1.2.4. That is just one example.


    John James Jacoby
    Keymaster

    @johnjamesjacoby


    5887735
    Inactive

    Something strange must be going on on my end. When i download the zip and open it no double spacing, but when i download it from my ftp and open it it has double spaces. I don’t know if that has something to do with the auto-update or some other server cause.

    Thanks for checking.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘BP 1.2.5 Double Spaced Code’ is closed to new replies.
Skip to toolbar