[wp-trac] [WordPress Trac] #34744: Don't use regex replacement to set force_default to true for images under Settings > Discussion > Default Avatar

WordPress Trac noreply at wordpress.org
Thu Nov 19 17:54:22 UTC 2015


#34744: Don't use regex replacement to set force_default to true for images under
Settings > Discussion > Default Avatar
----------------------------+-----------------------------
 Reporter:  henry.wright    |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Administration  |    Version:  4.3.1
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 Now that {{{get_avatar()}}} accepts a 5th param, we should use it to set
 {{{force_default}}} instead of using {{{preg_replace()}}}. Patch to
 follow...

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34744>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list