Friendly advice to law firms announcing new partners: Don’t put up photos of your latest elevations unless there’s a modicum of diversity among those happy faces.

Paul, Weiss, Rifkind Wharton & Garrison learned that lesson the hard way earlier this year. After publishing photos of its fresh batch of partners—11 men and one woman (all white)—the firm got slammed for its super-Caucasian, male class.