WPMU - Can't insert SCRIPT in SIDEBAR WIDGETS


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. //Cambiar en wp-includes/widgets.php
  2.  
  3. if ( !current_user_can(�unfiltered_html�) )
  4. $newoptions[$number]['text'] = stripslashes(wp_filter_post_kses($newoptions[$number]['text']));
  5.  
  6. // por:
  7.  
  8. if ( !current_user_can(�edit_themes�) )
  9. $newoptions[$number]['text'] = stripslashes(wp_filter_post_kses($newoptions[$number]['text']));

URL: http://www.thainy.com/2007/05/how-to-use-html-tag-and-script-in-wpmu-text-widget/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.