[wp-trac] [WordPress Trac] #30071: Notice triggered by wp_fullscreen_html when using wp_editor and no global $post is set
WordPress Trac
noreply at wordpress.org
Thu Jan 8 10:53:32 UTC 2015
#30071: Notice triggered by wp_fullscreen_html when using wp_editor and no global
$post is set
------------------------------------+-----------------------
Reporter: marcochiesi | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Editor | Version: 4.0
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------
Changes (by marcochiesi):
* status: closed => reopened
* resolution: wontfix =>
Comment:
Even if DFW mode changed, the issue reported is still present in WordPress
4.1. The fix would be extremely simple as shown above, and by the way,
it's a good programming practice to check the validity of an object before
using its properties.
In WP 4.1 the code is located at line 1319 of wp-includes/class-wp-
editor.php.
Please fix it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30071#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list