A lot of companies still don’t use a 1:1 aspect ratio as default logo size, and it would be foolish to simply assume they will comply with this set standard (since 1.24.0).
A better approach to this problem would be to hook into the WP image cropping when a company logo gets saved to the media library and if a company logo’s dimensions are not 1:1 to add a padding via CSS to the top&bottom when displaying a non-square company logo. This way square company logo thumbnails will keep their square appearance and rectangle company logo’s get a nice little padding at the bottom and top of their logo effectively displaying it square in the job listing and company profile sections.
Would be awesome if this would be possible simply by passing a ‘rectangle’/’square’ parameter via the_company_logo();
I’m very curious to see how this problem gets tackled.