Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Resolved] moving to v2.x and need to get a couple of things straight…

Home Forums Support moving to v2.x and need to get a couple of things straight…

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #493087

    In chronologically order here is what happened
    1) I tried installing the “enlighten” plugin in my localhost development environment because the jetpack markdown is causing me fits the trying to get a markdown list with multiple-paragraph to work right » no, jetpack is not using standard, easy to comprehend markdown..

    2) any way, in the course of things, I got the wordpress white screen of death

    3) I removed all the plugins and added them all back just fine

    4) unit I ran into:
    a) “DISALLOW_FILE_EDIT is defined. You should also disallow PHP execution in GP Hooks. Learn how”
    – yes I use themes security, so that may be the reason this is showing
    b) regardless how do I react to this warning » I see some info in the gp support forums, but I still don’t understand…

    5) I then discovered:

    a) gp v2.0 handled hooks differently so I checked and found:
    b)find the following code in GP Hooks’ wp-footer area.


    jQuery(function($) {

    window.onhashchange = function() {
    var hash = location.hash;

    $( document ).ready(function() {


    c: what does this code (that I know I added and am now can’t remember what is for), do and what do I do with it?

    GeneratePress 2.0.2
    GP Premium 1.5.6
    Customer Support

    Hi there,

    The PHP is just a warning. If you aren’t using PHP in hooks, then you can disable it with the instruction here:

    As for the code, here it is your post before:


    Many thanks!

    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.