Medium / medium-wordpress-plugin

The official WordPress plugin for cross-posting to Medium.
https://medium.com
Apache License 2.0
211 stars 40 forks source link

Process shortcodes before cross-posting #57

Closed majelbstoat closed 8 years ago

majelbstoat commented 8 years ago

Hello @mikkot, @kylehg,

Please review the following commits I made in branch 'jamie-shortcode'.

03d04c9101877a551ac0bcdf949f1882f86fcb00 (2015-12-07 23:30:16 +0000) Process shortcodes before cross-posting

Turns out we can do this "safely" because the shortcode addition that the plugin does is on the site side of things, not the admin side. "Safely", because short codes can generate arbitrary HTML, which the API may then reject... but, we'll cross that when we come to it.

R=@mikkot R=@kylehg

mikkot commented 8 years ago

LG