The final farm bill shuns a series of pesticide-related provisions that would have loosened restrictions on using insecticides, weedkillers, and other pest-management tools.

Environmentalists vigorously opposed the provisions, which had been introduced in the House version of the legislation. One provision would have prevented cities and counties from enacting local pesticide bans, such as a prohibition on spraying the weedkiller glyphosate in parks.

Another would have given the Environmental Protection Agency more discretion in deciding whether to approve pesticides...