Make WordPress Core

Ticket #45773: 45773.functions.php.patch

File 45773.functions.php.patch, 333 bytes (added by alishanvr, 6 years ago)

Patch file -- Condition statement is added that checks if direct accessing.

  • functions.php

     
    55 * @package WordPress
    66 */
    77
     8if ( ! defined( 'ABSPATH' ) || ! defined( 'WPINC' ) ) {
     9        exit();
     10}
     11
    812require( ABSPATH . WPINC . '/option.php' );
    913
    1014/**