Opened 6 years ago
Closed 6 years ago
#45538 closed defect (bug) (invalid)
Open page containing PHP code.
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.0 |
Component: | Editor | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
I have upgraded to WordPress 5.0, but when I open in the Block Editor a page that contains PHP code I get an error.
On the server of the provider the PHP version is 7.2.
So I have to use the Classic Editor, but what will happen when the Classic Editor ends after December, 31st 2019?
Change History (3)
#2
@
6 years ago
The plugin is PHP Exec and when I use PHP code directly in a page I have to use 2 extra tags as e.g. this page:
<phpcode> <?php include '2tables.php'; ?> </phpcode>
Do I ave to remove this topic to a support forum? If yes to which Wordpress 5.0 or to Gutenberg?
Thanks.
#3
@
6 years ago
- Milestone Awaiting Review deleted
- Resolution set to invalid
- Status changed from new to closed
I'm closing this since you've reported this on the Gutenberg GitHub repository already: https://github.com/WordPress/gutenberg/issues/12848
It's an issue with the plugin you're using so you should reach out to its developers.
Which plugin are you using to write PHP code in content? That‘s not a core feature. Can you share the post content containing that code here?
As for the Classic Editor, it will actually be supported at least through 2022.