[wp-testers] Slashes being stripped from CSS escaped characters

Brent Logan gbrentlogan at gmail.com
Sat Sep 22 15:06:54 UTC 2012


I did notify the developer and he already has a temporary fix.
http://wordpress.org/support/topic/plugin-wp-facebook-open-graph-protocol-removes-css-escaping-backslash-in-theme-editor?replies=4#post-3191754

Talk about fast!


On Sat, Sep 22, 2012 at 1:44 AM, Dion Hulse (dd32) <wordpress at dd32.id.au> wrote:
> FWIW, There were about 6 threads there from the last week on the problem -
> Looks like Chuck has replied to all the threads left there now though
> I've contacted the author myself, a update should be pushed soon (It's been
> fixed on Github I believe - where ever that repo is :))
>
> On 22 September 2012 18:37, Paul Ryan <prar at hawaii.edu> wrote:
>
>> You should notify the plugin maintainers so they can start work on a fix!
>> http://wordpress.org/support/plugin/wp-facebook-open-graph-protocol
>>
>>
>> On Fri, Sep 21, 2012 at 5:24 PM, Brent Logan <gbrentlogan at gmail.com>
>> wrote:
>>
>> > I found the offending plugin: WP Facebook Open Graph protocol. It's
>> > being actively developed, so I would expect this issue to be resolved.
>> >
>> > Thanks again!
>> >
>> > On Fri, Sep 21, 2012 at 8:09 PM, Brent Logan <gbrentlogan at gmail.com>
>> > wrote:
>> > > You're exactly right! I disabled *all* my plugins, went to the theme
>> > > editor, and the slashes are there. Now to enable them one by one and
>> > > find the offending plugin...
>> > >
>> > > I should have tried this on the default theme with no plugins before
>> > > making a report. Sorry... :-(
>> > >
>> > > But thanks for your help!
>> > >
>> > > On Fri, Sep 21, 2012 at 7:58 PM, Dion Hulse (dd32) <
>> wordpress at dd32.id.au>
>> > wrote:
>> > >> Thanks for confirming
>> > >>
>> > >> I can't duplicate it though.. It could be a plugin conflict though,
>> > >> something is causing an extra stripslashes() to be run on the content.
>> > >> It could even be Javascript in the browser from a plugin, although
>> there
>> > >> isn't many that would cause it.
>> > >> I'd be interested if you could duplicate it on a clean installation..
>> > >>
>> > >> On 22 September 2012 12:52, Brent Logan <gbrentlogan at gmail.com>
>> wrote:
>> > >>
>> > >>> I'm using the theme editor that is accessed by clicking or hovering
>> > >>> over Appearance and then clicking Edit. I'm not using Jetpacks CSS
>> > >>> editor.
>> > >>>
>> > >>> I used FTP + and editor to replace all the slashes, saved the CSS
>> > >>> file, and confirmed proper appearance on my blog. Then I returned to
>> > >>> the theme editor to look at the CSS file, and they don't appear. I
>> > >>> believe the slashes are being stripped when the file is opened and
>> > >>> displayed by editor and then saving the file completes their
>> deletion.
>> > >>>
>> > >>> On Fri, Sep 21, 2012 at 7:26 PM, Dion Hulse (dd32) <
>> > wordpress at dd32.id.au>
>> > >>> wrote:
>> > >>> > WordPress's Theme editor seems to work as expected, but the Jetpack
>> > >>> Custom
>> > >>> > CSS editor seems to show the problem.
>> > >>> >
>> > >>> > Can you confirm which one you're using? (Hint: WordPress editor is
>> > >>> > 'Editor', Jetpack is 'Edit CSS')
>> > >>> >
>> > >>> > On 22 September 2012 12:14, Brent Logan <gbrentlogan at gmail.com>
>> > wrote:
>> > >>> >
>> > >>> >> I'm not sure when the change took place, but editing a CSS file
>> > using
>> > >>> >> the theme editor strips the slashes from CSS escaped characters.
>> > >>> >>
>> > >>> >> For example:
>> > >>> >>
>> > >>> >> .next-comment-link a:before{content:"\2190"}
>> > >>> >>
>> > >>> >> loses the \ before 2190.
>> > >>> >>
>> > >>> >> It does make the blog look a little funny. I guess that's one way
>> to
>> > >>> >> stop people from using the theme editor. ;-)
>> > >>> >>
>> > >>> >> -Brent
>> > >>> >> _______________________________________________
>> > >>> >> wp-testers mailing list
>> > >>> >> wp-testers at lists.automattic.com
>> > >>> >> http://lists.automattic.com/mailman/listinfo/wp-testers
>> > >>> >>
>> > >>> > _______________________________________________
>> > >>> > wp-testers mailing list
>> > >>> > wp-testers at lists.automattic.com
>> > >>> > http://lists.automattic.com/mailman/listinfo/wp-testers
>> > >>> _______________________________________________
>> > >>> wp-testers mailing list
>> > >>> wp-testers at lists.automattic.com
>> > >>> http://lists.automattic.com/mailman/listinfo/wp-testers
>> > >>>
>> > >> _______________________________________________
>> > >> wp-testers mailing list
>> > >> wp-testers at lists.automattic.com
>> > >> http://lists.automattic.com/mailman/listinfo/wp-testers
>> > _______________________________________________
>> > wp-testers mailing list
>> > wp-testers at lists.automattic.com
>> > http://lists.automattic.com/mailman/listinfo/wp-testers
>> >
>> _______________________________________________
>> wp-testers mailing list
>> wp-testers at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-testers
>>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers


More information about the wp-testers mailing list