Opened 8 years ago
Closed 8 years ago
#45538 closed defect (bug) (invalid)
Open page containing PHP code.
| Reported by: | tvk5300 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 5.0 |
| Severity: | normal | Keywords: | reporter-feedback |
| Cc: | Focuses: |
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
@
8 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
@
8 years ago
- Milestone Awaiting Review
- Resolution → invalid
- Status new → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.