linchpin / mesh

A page builder, simplified. Get the most flexibility to display content by adding multiple content sections within Pages, Posts, or Custom Post Types.
https://meshplugin.com/
46 stars 12 forks source link

update: pass default parameter to duplicate_sections function #273

Closed maxinacube closed 3 years ago

maxinacube commented 3 years ago

update: Pass default value of false to duplicate_sections function

To test the update:

  1. Be sure to have a Mesh Template available for selection
  2. In a new page, pick a Mesh template and click the "Select Template" button.

If on the master branch (before merge), adding the Mesh Template will fail and the Network tab of Chrome's web inspector will show a 500 error on admin-ajax.php

After switching branches or merging the this fix into master, this error subsides and the selection of a Mesh Template works as expected.