WordPress Processing Embed
Doesn't support multiple applets (1 post)

  1. huyz
    Posted 5 years ago #

    In order to support multiple applets in the same page, all the IDs must be different.
    So in wordpress_processing_embed.php, you could have a counter:

    global $pembed_id;
    $settings['name'] = preg_replace('/^.+\//', '', $settings['name']) . (++$pembed_id);

    You may also consider stripping non-alphanumeric character from the name. You never know if that path has junk characters in it.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic