U.S. President Donald Trump arrives at the U.S. Capitol to attend the weekly Republican Senate policy luncheon January 09, 2019 in Washington, DC. (Photo by Alex Wong/Getty Images)

WASHINGTON (AP) — The White House says President Donald Trump has signed a bill that will require some 800,000 federal employees to be compensated for wages lost or work performed during the partial government shutdown.

Wednesday’s bill signing was closed to the media. The House and Senate had voted to give the workers back pay whenever the federal government reopens.

The shutdown is in its fourth week with no end in sight.

Federal employees received pay stubs with nothing but zeros on them last week. Some posted photos of their empty earnings statements on social media as a rallying cry to end the shutdown.