WordPress.org

Ready to get started?Download WordPress

Forums

ML Raw HTML
No "raw" HTML plugin allows 'script' tags in multisite? (4 posts)

  1. huyz
    Member
    Posted 3 years ago #

    I've tried just about all of the plugins:

    1. Raw HTML
    2. ML Raw HTML
    3. TrueEdit

    None of them prevent the <script> tag from disappearing.

    Take this example:

    <script type="text/javascript">
      function foo(bar) {
         frobozz = 'a';
         bat = bar;
      }
      </script>

    When I save it, it becomes:

    function foo(bar) {
         frobozz = 'a';
         bat = bar;
      }

    Is there something wrong with my site? I'm running WordPress 3.0.5 in multisite. Is it a multisite problem? Maybe I have to be the Network Admin, and not just an Administrator?

    Or are all plugins broken?

    http://wordpress.org/extend/plugins/ml-raw-html/
    http://wordpress.org/extend/plugins/raw-html/
    http://wordpress.org/extend/plugins/trueedit/

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 3 years ago #

    Yes, you have to be the network admin to post script code, for security reasons.

  3. huyz
    Member
    Posted 3 years ago #

    Thanks for confirming. Hmmm, that sucks. Oh well.

  4. huyz
    Member
    Posted 3 years ago #

    This should definitely be a FAQ on all these plugins.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic