Advertisement
Guest User

Untitled

a guest
Apr 14th, 2010
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.82 KB | None | 0 0
  1. <?php
  2.  
  3. /*
  4. Plugin Name: Permitir applets de processing
  5. Plugin URI:
  6. Description:
  7. Author: David Lluna
  8. Author URI:
  9. Version: 0.1
  10. */
  11.  
  12. function filtro_tags_para_processing($tags) {
  13.  
  14.         if(!isset($tags['object'])) {
  15.                 $tags['object'] = array(
  16.                         'classid'=>array(),
  17.                         'type'=>array(),
  18.                         'archive'=>array(),
  19.                         'width'=>array(),
  20.                         'height'=>array(),
  21.                         'standby'=>array(),
  22.                         'param'=>array(
  23.                                 'name'=>array(),
  24.                                 'value'=>array(),
  25.                         )
  26.                 );
  27.  
  28.         }
  29.         return $tags;
  30.  
  31. }
  32.  
  33. add_filter('bb_allowed_tags','filtro_tags_para_processing');
  34.  
  35. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement