Changes between Initial Version and Version 1 of Ticket #44707, comment 4
- Timestamp:
- 08/08/2018 03:45:05 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #44707, comment 4
initial v1 1 1 Thanks @cc0a, 2 2 3 Sorry looks like I got the user request stati incorrect, they should use dashes instead of underscores as seen in their register_post_status calls; 3 Sorry looks like I got the user request stati incorrect, they should use dashes instead of underscores as seen in their register_post_status calls; \\ 4 4 https://github.com/WordPress/WordPress/blob/aab929b8d619bde14495a97cdc1eb7bdf1f1d487/wp-includes/post.php#L318-L352 5 5 … … 17 17 }}} 18 18 19 With that change this is good for some unit tests. I haven't written much unit tests so will defer to @desrosj for help but here's the guide; 19 With that change this is good for some unit tests. I haven't written much unit tests so will defer to @desrosj for help but here's the guide; \\ 20 20 https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/ 21 21