WordPress.org

Ready to get started?Download WordPress

Forums

Global CSS by Joddit
[resolved] Warning when saving a stylesheet (3 posts)

  1. pragmateek
    Member
    Posted 1 year ago #

    Hi,

    when saving the stylesheet I get this PHP warning:
    Warning: Cannot modify header information - headers already sent by (output started at /.../www/wp-admin/includes/template.php:1642) in /.../www/wp-includes/pluggable.php on line 876

    It seems to have no negative impact as the stylesheet is saved and its rules are applied as expected.

    Thanks for your help.

    http://wordpress.org/extend/plugins/joddit-global-css/

  2. joddit
    Member
    Plugin Author

    Posted 1 year ago #

    We use a header redirect to control some of the flow in our plugin. Apparently this is a common issue with pluggable.php.

    On the roadmap, I've noted to remove any use of redirects to avoid these kinds of random warnings.

    This should be fixed in the next version release.

    Thanks for pointing it out.

  3. pragmateek
    Member
    Posted 1 year ago #

    Thanks for your answer and for your great plugin!

    Keep up the good work! :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic