documentcloud / wordpress-documentcloud

Embed DocumentCloud documents that won't be eaten by the visual editor
https://wordpress.org/plugins/documentcloud/
GNU General Public License v2.0
9 stars 14 forks source link

Fix defaulting to a page or note #47

Closed reefdog closed 7 years ago

reefdog commented 7 years ago

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.