WordPress.org

Ready to get started?Download WordPress

Forums

Member adding posts with Author Status loosing some formatting - Very Strange! (4 posts)

  1. newmomsforum
    Member
    Posted 8 years ago #

    Hi Guys, this has to be one of the more unusual things I've come across whilst using WordPress.

    When a post is made and I use the built in inmage uploading tool when writing a post the code sent to the editor looks like this:

    <img src="http://www.newsgab.com/wp-content/uploads/2006/06/HyperFighting.thumbnail.jpg" alt="" />

    I have a couple of custom quicktags, one of which aligns images. So I highlight the code above, click the align left quicktag button and the follow code is added to the original image code:

    <span style="font:18pt times,serif;float:left;color:brown;padding:10px;"><img src="http://www.newsgab.com/wp-content/uploads/2006/06/HyperFighting.thumbnail.jpg" alt="" /></span>

    I write the rest of my post (as admin) publish the post and away I go.

    However, if a user with author status tries to do this, when they publish or sabe the post, the stuff added around the image ie

    <span style="font:18pt times,serif;float:left;color:brown;padding:10px;">image code here</span>

    Is stripped out leaving the original image code without any of the alignment formatting

    I thought it may be an end user or browser issue at first but if I log in using one of the users details it also strips out this code for me as well (logging back as an admin and the extra code is retained).

    To make things even more strange, it just appears to start have started happening. Nothing changed from my end or files updated as far as I'm aware.

    I'm using 2.0.3 (this started before upgraded and has continued since) , the URL effected is http://www.newsgab.com (not the one in my profile).

    Does anyone have any idea what may be going on here? :)

  2. moshu
    Member
    Posted 8 years ago #

    I guess the answer is here:
    http://codex.wordpress.org/Roles_and_Capabilities#Author
    Compare: Admin and Editor do have the capability to publish unfiltered html - while the Author doesn't.

    If you install the Role Manager plugin, you can play with the roles and capabilities: see the link at the bottom of that Codex page.

  3. newmomsforum
    Member
    Posted 8 years ago #

    Ahh, thanks moshu, I'll look at both of these :D

  4. laslo
    Member
    Posted 7 years ago #

    I had the same problem with my "Authors"
    the plugin is a great solution!
    thanks

Topic Closed

This topic has been closed to new replies.

About this Topic