WordPress.org

Ready to get started?Download WordPress

Forums

WP removing title attribute for someone else but not me? (5 posts)

  1. ukdmbfan
    Member
    Posted 3 years ago #

    We're using WordPress 3.1 and have two network users, me (who's a network admin) and a colleague who's just a standard network user who has access to a blog that we're both editing.

    When I save an <img> tag in a post with a title="" attribute everything is fine, however when my colleague does the exact same thing it strips the title attribute from the <img> tag but leaves everything else intact (including any other changes they may have made to the tag). In fact, if they load a page with an <img> tag with a title attribute but don't change anything, on saving the post (it's currently a draft) it will forceably strip out the title attribute, which it won't do when I repeat the exact same process.

    I've only been using Firefox 3.6.13 on Mac OS X Snow Leopard 10.6.6, they're using the same OS but can reproduce the problem in several browsers (including the same version of Firefox).

  2. ukdmbfan
    Member
    Posted 3 years ago #

    I've solved the problem (to an extent), the /wp-includes/kses.php file doesn't define the title attribute for images, which means only network super admins can edit it (because for some reason only they override the settings in that file), which is funny considering WP specifically has a box for editing the title attribute in its image editing popup.

  3. Bill Dennen
    Member
    Posted 2 years ago #

    Looks like there's a patch for this: http://core.trac.wordpress.org/ticket/16713

  4. ukdmbfan
    Member
    Posted 2 years ago #

    I know, I filed the bug report ;-)

    It's been sitting around for 3 months so not sure how long it's gonna be :p

  5. Bill Dennen
    Member
    Posted 2 years ago #

    I'm sorry about that. d'oh. thanks for filing it.

Topic Closed

This topic has been closed to new replies.

About this Topic