[wp-trac] [WordPress Trac] #39304: `get_post_galleries()` can return incorrect gallery items.
WordPress Trac
noreply at wordpress.org
Wed Jan 25 07:07:58 UTC 2017
#39304: `get_post_galleries()` can return incorrect gallery items.
--------------------------------------+------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8
Component: Media | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------
Changes (by mayurk):
* keywords: has-patch needs-unit-tests => has-patch has-unit-tests
Comment:
Hi @seanchayes, @dd32
I have tested 39304.1.diff patch with unit test. Please check the
following result. It's working fine.
{{{
C:\wamp\www\wordpress-core>phpunit --group 22960
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.
... 3 / 3
(100%)
Time: 10.56 seconds, Memory: 104.00MB
OK (3 tests, 3 assertions)
}}}
Thanks
--
Ticket URL: <https://core.trac.wordpress.org/ticket/39304#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list