A fact sheet about the latest travel ban was leaked to Just Security, and it contains the details of the revised ban that was struck down by the courts.
You can find then entire fact sheet here, but the main points are:
For the next 90 days, foreign nationals from Sudan, Syria, Iran, Libya, Somalia, and Yemen who are outside the United States on the effective date of the order, do not currently have a valid visa on the effective date of this order, and did not have a valid visa at 5:00 eastern standard time on January 27, 2017, are not eligible to travel to the United States. The 90-day period will allow for proper review and establishment of standards to prevent terrorist or criminal infiltration by foreign nationals.
Here is what it says about the refugee program:
Similarly, the Refugee Admissions Program will be temporarily suspended for the next 120 days while DHS and interagency partners review screening procedures to ensure refugees admitted in the future do not pose a security risk to the United States. Upon resumption of the Refugee Admissions Program, refugee admissions to the United States will not exceed 50,000 for fiscal year 2017. The Executive Order does not apply to those refugees who have already been formally scheduled for transit by the State Department. During this 120-day period, similar to the waiver authority for visas, the Secretary of State and Secretary of Homeland Security may jointly determine to admit individuals to the United States as refugees on a case-by-case basis, in their discretion, but only so long as they determine that the entry of such individuals as refugees is in the national interest and would not pose a threat to the security or welfare of the United States
This order will likely face legal challenges as well, but since they took some time to draw this one up, it’s likely attorneys made sure everything the order states will fall under the President’s purview.