documentcloud / wordpress-documentcloud

Embed DocumentCloud documents that won't be eaten by the visual editor

Home Page:https://wordpress.org/plugins/documentcloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fix defaulting to a page or note

reefdog opened this issue · comments

The viewer can default to a specific page or note with the page and note options. These should really be named default_page and default_note to be more clear. We began this transition way back when, but didn't complete it, and the halfway state is causing problems. For instance, the shortcode generator on the platform outputs page instead of default_page, but this plugin expects default_page.

Until we complete the lift and ensure the viewer works with both options (for backwards compatibilty), we should purge the default_ versions.