WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42785, comment 6


Ignore:
Timestamp:
02/26/2018 10:05:18 PM (4 years ago)
Author:
audrasjb
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42785, comment 6

    initial v1  
    44- parameter `public` set to `true` : `show_in_rest ` is set to `true` by default
    55- parameter `publicly_queryable` set to `true` : `show_in_rest ` is set to `true` by default
    6 When parameters are combinated, the behaviour seems logical too.
    76
    8 @Rahmohn I think you can duplicate your patch to `register_taxonomy`.
     7When parameters are combinated with different values, `show_in_rest ` is always set to `true` by default since there is a OR condition.
     8''Note: concerning this last point, I'd like to ask for a 2nd-opinion if possible.''
    99
    10 ''(Note: I'll also ask for a 2nd-opinion is possible with the related keyword)''
     10@Rahmohn in my opinion you can duplicate your patch to `register_taxonomy`.