Front-end Editor
[resolved] A few problems (8 posts)

  1. Bill Dennen
    Posted 5 years ago #


    I am having trouble with the front-end editor. Basically, when I double-click on content to edit it, the NicEdit box comes up empty. Nothing in it.

    I am running wp-admin behind SSL and thought that might be it. So, as a test, I set this to false.

    define('FORCE_SSL_ADMIN', false);

    Now, when I double-click on the content, the NicEdit box is filled with simply:


    Clearly FORCE_SSL_ADMIN is having some effect. But, there may be something else going on here, too.

    any ideas?


  2. Bill Dennen
    Posted 5 years ago #

    I did some more digging.

    With FORCE_SSL_ADMIN true, since this is how we want to run it.

    URL of post = http://somedomain.com/somesite/2010/10/test-2/

    All of our public-facing pages are accessed over http. Backend should be https.

    If I try to edit the content with the front-end-editor, I get the blank NicEdit box.

    If I change the URL of the public page to https:


    it works! Looking for suggestions.

  3. Bill Dennen
    Posted 5 years ago #

    any suggestions for this? Should this plugin work with an SSL backend?

  4. scribu
    Plugin Author

    Posted 5 years ago #

    It fails because it's trying to make an ajax request to a SSL page (wp-admin/admin-ajax.php) from a regular page.

    So, you either make the entire site SSL or tweak the ajax_url variable in the plugin to use the http:// protocol.

  5. TheRingBearer
    Posted 4 years ago #

    scribu > Could you please detail more about tweaking the ajax_url variable ? If the plugin use some php functions in wp-admin directory AND if wp-admin is always accessed through https, how could you make it work ?

  6. Nyhm
    Posted 4 years ago #

    @scribu, Could you clarify this issue? If page is https, then wp-admin/admin-ajax.php should be over https ... right?

    What I'm seeing is a bunch of access logs of wp-admin/admin-ajax.php via http when WP admin is strictly https, which bothers me greatly (and causes 'partially encrypted content' warnings).

  7. scribu
    Plugin Author

    Posted 4 years ago #

    To generate the ajax url, the plugin uses the admin_url() function:


    which should be SSL aware:


    I don't know what else to tell you.

  8. Nyhm
    Posted 4 years ago #

    Yes, that's exactly what I thought, too. I must have a plugin that is hard-coding the http. Thanks for your input.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Front-end Editor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic