[wp-trac] [WordPress Trac] #35910: Allow wp_credits() to accept custom wordpress versions and locals

WordPress Trac noreply at wordpress.org
Mon Aug 3 11:36:30 UTC 2020


#35910: Allow wp_credits() to accept custom wordpress versions and locals
----------------------------+-----------------------------
 Reporter:  ramiy           |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:
Component:  Administration  |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  administration
----------------------------+-----------------------------

Comment (by ramiy):

 This is a minor update. Instead of using hardcoded `$wp_version` and
 `get_locale()` inside a function. The function can accept the version and
 the local as parameters. If no parameters set, the function defaults to
 `$wp_version` and `get_locale()`.

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


More information about the wp-trac mailing list