[wp-trac] [WordPress Trac] #39650: Commenting on a draft post results in blank page

WordPress Trac noreply at wordpress.org
Wed Jan 25 19:03:30 UTC 2017


#39650: Commenting on a draft post results in blank page
---------------------------------------------------+------------------
 Reporter:  sumitbagthariya16                      |       Owner:
     Type:  defect (bug)                           |      Status:  new
 Priority:  normal                                 |   Milestone:  4.8
Component:  Comments                               |     Version:
 Severity:  normal                                 |  Resolution:
 Keywords:  has-patch dev-feedback has-unit-tests  |     Focuses:
---------------------------------------------------+------------------
Changes (by sagarprajapati):

 * keywords:  has-patch needs-unit-tests dev-feedback => has-patch dev-
     feedback has-unit-tests


Comment:

 Sorry @swissspidy

 I thought that it is not working for all others. I have updated patch with
 the changes. Please check it.

 I have also done unit test for the above patch and here is the result.


 {{{
 C:\wamp\www\wordpress-core>phpunit --group comment
 Installing...
 Running as single site... To run multisite, use -c
 tests/phpunit/multisite.xml
 Not running ajax tests. To execute these, use --group ajax.
 Not running ms-files tests. To execute these, use --group ms-files.
 Not running external-http tests. To execute these, use --group external-
 http.
 PHPUnit 5.7.5 by Sebastian Bergmann and contributors.

 ..............................................................  62 / 339 (
 18%)
 .............................................................. 124 / 339 (
 36%)
 .............................................................. 186 / 339 (
 54%)
 .............................................................. 248 / 339 (
 73%)
 .............................................................. 310 / 339 (
 91%)
 .............................                                  339 / 339
 (100%)

 Time: 50.03 seconds, Memory: 90.00MB

 OK (339 tests, 657 assertions)
 }}}

 Thank you.

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


More information about the wp-trac mailing list