[okfn-help] Important: HTML tags being removed on OKFN sites

Bobby Donovan bobby.donovan at okfn.org
Thu Mar 7 17:41:54 UTC 2013


On Thu, Mar 7, 2013 at 12:37 PM, Rufus Pollock <rufus.pollock at okfn.org>wrote:

> I note we already ahve version control turned on ...
>
Right you are, post revisions are enabled and I see no reason to add to
this. This by itself creates significant database growth.

>
> Re tags: we really do need that fixing i think (seems to be that
> super-admins can have html tags ...)
>
So, should all users who have site level "administrator" access also be
able to post unfiltered html?

>
>
> Rufus
>
>
> On 7 March 2013 16:16, Bobby Donovan <bobby.donovan at okfn.org> wrote:
>
>> I did reply on the trac ticket, a copy of that response is below. I'm on
>> a deadline today so I probably won't have a chance to look again until
>> tomorrow.
>>
>> Without yet doing a thorough investigation, I suspect it relates to a
>> mixture of these 2 functions/capabilities in WP.
>> 1) wp_kses - takes care of filtering out html tags that aren't allowed,
>> which by default is most of them.
>> 2) unfiltered_html - controls which users have the ability to get around
>> the wp_kses function.
>>
>> Wordpress feels most users need saving from themselves when it comes to
>> html tags.
>>
>> I can ensure that certain users (or users of a certain role) have
>> unfiltered html ability.
>>
>> I will investigate the version control plugin you linked in your email
>> [1], I have not used it before. Though I'm hesitant at first as I suspect
>> if it works similarly to post revisions, the database size could grow
>> rapidly and maybe cause further performance issues with our host.
>>
>> 1 -  http://wordpress.org/extend/plugins/tags/version-control
>>
>>
>> On Thu, Mar 7, 2013 at 6:50 AM, Joel Rebello <joel.rebello at okfn.org>wrote:
>>
>>> Hey Bobby,
>>>
>>>  Do you know what might be the issue here?
>>>
>>>
>>> On Sat, Mar 2, 2013 at 7:10 PM, Everton Zanella Alvarenga
>>> <everton.alvarenga at okfn.org> wrote:
>>> > Please, who can check this bug I just reported?
>>> >
>>> > http://trac.okfn.org/ticket/1404
>>> >
>>> > I just fixed a link to the open definition now at this page
>>> > http://okfn.org/opendata/ and realised the bug is worst than I
>>> > thought. It also removed all images tags, not only the featured image
>>> > tag (which is a HTML comment).
>>> >
>>> > I believe it could also help if we had a revision control of OKFN
>>> > blogs pages and posts. I am not sure which plugin is best
>>> >
>>> > http://wordpress.org/extend/plugins/tags/version-control
>>> >
>>> > Please, if someone can help me to restore the original images, I'll be
>>> thankful.
>>> >
>>> > P. S. I was navigating in this page and thinking a way to have it in
>>> > other languages. Not sure if we can have a more practical way other
>>> > than only copy and paste.
>>> >
>>> > Tom
>>> >
>>> > --
>>> > Everton Zanella Alvarenga (also Tom)
>>> > OKFN Brasil - Rede pelo Conhecimento Livre
>>> > http://br.okfn.org
>>> >
>>> > _______________________________________________
>>> > okfn-help mailing list
>>> > okfn-help at lists.okfn.org
>>> > http://lists.okfn.org/mailman/listinfo/okfn-help
>>> > Unsubscribe: http://lists.okfn.org/mailman/options/okfn-help
>>>
>>
>>
>> _______________________________________________
>> okfn-help mailing list
>> okfn-help at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/okfn-help
>> Unsubscribe: http://lists.okfn.org/mailman/options/okfn-help
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/okfn-help/attachments/20130307/9fd6d444/attachment.html>


More information about the okfn-help mailing list