WordPress.org

Support

Support » Plugins and Hacks » Jetpack by WordPress.com » [Resolved] How to delete / clear custom-css history ?

[Resolved] How to delete / clear custom-css history ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve

    @jeherve

    Jetpack Mechanic

    You’ll have to access your database to delete these Custom CSS revisions: your CSS changes are stored in the _posts table, along your Posts, Pages, and other Custom Post Types.

    Custom CSS revisions use the safecss post_type, so you should be able to find them by filtering all posts with this Post type.

    Thanks a lot !
    Easily done !

    Actually, you have to filter on the Post_title instead of Post_type…

    … because if you filter on Post_type = ‘safecss’, you will get only the first css custom post because any further custom css is in fact a Post_type = ‘revision’ and not ‘safecss’…

    By filtering with Post_title = ‘safecss’, you’ll get every custom css posts !

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] How to delete / clear custom-css history ?’ is closed to new replies.
Skip to toolbar