Make changes to the post.php file in WP Core
-
File: post.php
Where: in the wp includes folderHow do I change code in the post.php file in the wp includes folder and yet allow WordPress to update automatically? I had to change a part of the code on
line 1410
in thepost.php
file.`” if ( ! isset( $args->rewrite[‘with_front’] ) )
$args->rewrite[‘with_front’] = true;”`to
`” if ( ! isset( $args->rewrite[‘with_front’] ) )
$args->rewrite[‘with_front’] = false;”`Thanks.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Make changes to the post.php file in WP Core’ is closed to new replies.