[wp-trac] [WordPress Trac] #54070: Increase CPT "machine name" limit from its current maximum of 20 characters.
    WordPress Trac 
    noreply at wordpress.org
       
    Mon Sep  6 01:20:35 UTC 2021
    
    
  
#54070: Increase CPT "machine name" limit from its current maximum of 20
characters.
------------------------------------------------+--------------------------
 Reporter:  taupecat                            |       Owner:  (none)
     Type:  feature request                     |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
                                                |  Review
Component:  Database                            |     Version:  trunk
 Severity:  normal                              |  Resolution:
 Keywords:  dev-feedback needs-codex has-patch  |     Focuses:  coding-
                                                |  standards
------------------------------------------------+--------------------------
Comment (by SergeyBiryukov):
 Replying to [comment:4 taupecat]:
 > The pull request failed all the PHPUnit tests
 Looks like the tests need some adjustments, specifically this one:
 {{{
 There was 1 failure:
 1) Tests_Post_Types::test_register_post_type_with_too_long_name
 Failed asserting that WP_Post_Type Object (...) is an instance of class
 "WP_Error".
 /var/www/tests/phpunit/tests/post/types.php:56
 }}}
 Introduced in [31450] / #31134 and renamed for clarity in [31457].
-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54070#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list