I'm running this on apache2 2.4.38 and PHP v7.4.
In incl/config.php, if I uncomment the
add_page_size('US Letter', 216, 279);
add_page_size('US Legal', 216, 356);
add_page_size('US Ledger', 432, 279);
add_page_size('US Tabloid', 279, 432);
lines, they don't show up in the drop down menu for "Page Size". I've set the $DEFAULT_PAGE_SIZE = 'US Letter'; it comes up as Custom in the drop down list. all the other A sizes do show up.