[wp-trac] [WordPress Trac] #42063: Media: Indicate if image is used as a site option

WordPress Trac noreply at wordpress.org
Tue Oct 20 00:18:18 UTC 2020


#42063: Media: Indicate if image is used as a site option
----------------------------------------------+----------------------------
 Reporter:  melchoyce                         |       Owner:  (none)
     Type:  enhancement                       |      Status:  new
 Priority:  normal                            |   Milestone:  5.6
Component:  Media                             |     Version:
 Severity:  normal                            |  Resolution:
 Keywords:  has-patch has-screenshots commit  |     Focuses:  ui,
                                              |  administration
----------------------------------------------+----------------------------

Comment (by SergeyBiryukov):

 Replying to [comment:20 helen]:
 > I'm not sure (or rather @markjaquith is not sure) that we should be
 adding the `$echo` param to `_media_states()` in this patch because it is
 not going to be used anywhere in core, and it's an internal function so it
 doesn't need to appeal to a wider use case. This is not yet reflected in
 the pull request.

 Just noting that would be consistent with a similar change for
 `_post_states()` in [46309].

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


More information about the wp-trac mailing list