Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #44707, comment 4


Ignore:
Timestamp:
08/08/2018 03:45:05 PM (7 years ago)
Author:
garrett-eclipse
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #44707, comment 4

    initial v1  
    11Thanks @cc0a,
    22
    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;
     3Sorry looks like I got the user request stati incorrect, they should use dashes instead of underscores as seen in their register_post_status calls; \\
    44https://github.com/WordPress/WordPress/blob/aab929b8d619bde14495a97cdc1eb7bdf1f1d487/wp-includes/post.php#L318-L352
    55
     
    1717}}}
    1818
    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;
     19With 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; \\
    2020https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/
    2121