WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Some problems with WP 3.9.x and PHP 5.4

[Resolved] Some problems with WP 3.9.x and PHP 5.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • Tryed to use custom hook, not working!!!

    I have change this lines:

    // Allow alternative splash page
    				if ( file_exists( WP_CONTENT_DIR . '/wp-maintenance-mode.php' ) )
    					include( WP_CONTENT_DIR . '/wp-maintenance-mode.php' );
    				else
    					include('site.php');

    with this lines:

    // Allow alternative splash page
    				if ( file_exists( get_template_directory() . '/wp-maintenance-mode.php' ) )
    					include( get_template_directory() . '/wp-maintenance-mode.php' );
    				else
    					include('site.php');

    and load the custom page on my current theme, it working very well.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Some problems with WP 3.9.x and PHP 5.4’ is closed to new replies.