[wp-trac] [WordPress Trac] #42878: PHP notice when a post has a term from a "numeric" taxonomy

WordPress Trac noreply at wordpress.org
Tue Dec 12 15:57:40 UTC 2017


#42878: PHP notice when a post has a term from a "numeric" taxonomy
--------------------------+------------------------------
 Reporter:  strategio     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Taxonomy      |     Version:  4.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by strategio):

 I had a look at the documentation and now I am not sure this is really an
 issue.

 It says:
 >Name should only contain lowercase letters and the underscore character,
 and not be more than 32 characters long (database structure restriction).

 Does this mean we cannot use numbers in the taxonomy name?

 Note: We detected this issue because we had a failing test and it turned
 out because of a numeric taxonomy name. I am not sure this is likely to
 happen in the real world.

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


More information about the wp-trac mailing list