[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 Nov 13 04:09:42 UTC 2014


#30071: Notice triggered by wp_fullscreen_html when using wp_editor and no global
$post is set
------------------------------------+------------------------------
 Reporter:  marcochiesi             |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Editor                  |     Version:  4.0
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+------------------------------

Comment (by kpdesign):

 Replying to [comment:3 marcochiesi]:
 > Replying to [comment:2 valendesigns]:
 > > ... One thing to mention though is that you need to `cd` into the `wp-
 includes` directory to apply the patch or you get a "No such file or
 directory" error in the terminal. Not a big deal, but thought I would
 mention it.
 >
 > I followed [https://make.wordpress.org/core/handbook/working-with-
 patches/create-a-patch-using-tortoisesvn/ this tutorial] to create the
 patch with Tortoise. Could you suggest how to get the correct path inside
 the patch file with Tortoise?

 You will need to be in the root directory of your WordPress SVN checkout
 (the folder you created the SVN checkout in). The directory structure in
 that folder will be as follows:


 {{{
 /src/
 /tests/
 /tools/
 .editorconfig
 .gitignore
 .jshintrc
 .travis.yml
 Gruntfile.js
 package.json
 phpunit.xml.dist
 wp-cli.yml
 wp-config-sample.php
 wp-tests-config-sample.php
 }}}

 In that folder, right-click and select SVN Create Patch from the
 TortoiseSVN context menu.

 Once the patch is created and saved, you should see the proper path at the
 top of the file. :


 {{{
 Index: src/wp-includes/class-wp-editor.php
 ===================================================================
 --- src/wp-includes/class-wp-editor.php (revision 30275)
 +++ src/wp-includes/class-wp-editor.php (working copy)
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30071#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list