Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Php codes are getting disabled in the editor after upgraded into latest version

$
0
0

Replies: 0

I am sorry if I have posted in the wrong section. I neither did find the right section to post this topic nor found how to create topic in other section. I hope you will help me to solve this problem.

My website had a older version of wordpress. Recently I upgraded it to the latest version. After that my php code what I write in the editor is keep getting disabled.

The old page which has php code in it still works. Although when I I open the page editor I can see the php codes are disabled. And if I try to save that it stops working. those lines written in php. But if I leave the editor section without saving those line works. So i cannot update those page. And also I cannot create new page with php code in it.

if I write

<?php echo $c; ?>

It converted into

<!--?php echo $c; ?-->

Plugin Exec-PHP is installed. But it replicates the same problem without installing the plugin.

I have the same type of website in previous version. Where same type of PHP code works.Current WordPress Version 5.0.3 . I upgraded it recently . and the problem occurred after that.

What canI do to fix this.


Viewing all articles
Browse latest Browse all 59525

Trending Articles