The DP World Tour has just done something very rare: allowing golfers to wear shorts. Golfers don't have uniforms like MLB, NFL or NBA players, but they do have a general uniform.Golfers on the PGA tour typically wear a golf shirt, one that they often choose for themselves, and pants. Hats, gloves, and other items are often included but are not always required.However, during the DP World Tour, golfers and other employees at the event could be seen wearing shorts, a rare sight in the golf world.LIV Golf has allowed men to wear shorts as they feel pants are not necessary and are using that as a potential selling point for the league. However, the PGA Tour remains fairly rigid about the dress code.Despite that, shorts were seen on the green, and fans are wondering why.The Alfred Dunhill Links Championship revealed on Twitter why golfers have their knees in the sun for once.Alfred Dunhill Links Championship@dunhilllinksDue to predicted high temperatures expected at this week's #dunhillchamps @LeopardCreekCC, players and rules officials will have the option to wear shorts during the tournament.918Due to predicted high temperatures expected at this week's #dunhillchamps @LeopardCreekCC, players and rules officials will have the option to wear shorts during the tournament. https://t.co/EKtzPebBlnThey tweeted:"Due to predicted high temperatures expected at this week's [Dunhill Championships], players and rules officials will have the option to wear shorts during the tournament."The DP World Tour event was set to feature intense heat and the rules, as strict as they may be, weren't worth the discomfort and potential danger that wearing pants might cause.While this is a rarity, it does happen from time to time. The professional golf tours play in various different locations and essentially function year-round. As a result, it can sometimes be unbearably hot.For the sake of the golfers' well-being, they sometimes bend the rules to allow golfers to dress a bit more freely.DP World Tour Alfred Dunhill Championship leaderboardHere is the current DP World Tour Alfred Dunhill leaderboard, with Ryan Fox leading the way:Ryan Fox -15Alex Noren -14Callum Shinkwin -14Antoine Rozner -13Rory McIlroy -13Daniel Gavins -12Niklas Norgaard Moller -11Tyrell Hatton -11Richard Mansell -11Connor Syme -10Peter Uihlein -10Grant Forrest -10Louis Oosthuizen -10Billy Horschel -10Tapio Pulkkanen -10Dale Whitnell -10George Coetzee -9Padraig Harrington -9Rasmus Hojgaard- 9Robert McIntyre- -8Daniel van Tonder -8Adrian Meronk -7Matt Fitzpatrick -7Adri Arnaus -7Sami Valimaki -7Tommy Fleetwood -7Louis de Jager -7Thomas Pieters -6Marcel Schneider -6Marcel Siem -6Francesco Molinari -6Alejandro Canizares -6Eddie Pepperell -6Matthew Southgate -6Alex Fitzpatrick -6Matthew Jordan -5David Micheluzzi -5Hurly Long -5Romain Langasque -5Victor Perez -5Sebastian Garcia Rodriguez -5Maximilain Kieffer -4Jaco Ahlers -4Richie Ramsay -4Frederic Lacroix -4David Law -4Laird Shepherd -4Christiaan Burke -3Benjamin Hebert -3Richard Sterne -3Stephen Gallacher -3Ryan Fox in actionLIV Golf players and PGA Tour golfers came together for this event and have put on tremendous performances, some of them in shorts and others in long pants.