[wp-trac] [WordPress Trac] #21195: get_avatar_url

WordPress Trac noreply at wordpress.org
Wed Oct 30 03:50:21 UTC 2013


#21195: get_avatar_url
-----------------------------+------------------------------
 Reporter:  pathawks         |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  2.5
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by rmccue):

 Replying to [comment:28 pento]:
 > attachment:21195.4.diff​ fixes the case and PHPDoc indentation.
 >
 > Looking through a handful of core files, this seems to be the correct
 indentation for case statements (thought there's variation over whether
 there should be a space before the `:` or not).

 For `*.php`:

 * `case .*[^ ]:` (no whitespace) => 2339 matches
 * `case .* :` (whitespace) => 286 matches

 (This is less of a standard though; it's more about the context. We might
 want to standardise this too though.)

--
Ticket URL: <http://core.trac.wordpress.org/ticket/21195#comment:30>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list