[wp-trac] [WordPress Trac] #28180: No get equivalent for language_attributes()

WordPress Trac noreply at wordpress.org
Thu Jun 18 13:03:14 UTC 2015


#28180: No get equivalent for language_attributes()
-------------------------------------------------+-------------------------
 Reporter:  PeterRKnight                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Themes                               |  Release
 Severity:  normal                               |     Version:  2.1
 Keywords:  has-patch needs-testing 2nd-opinion  |  Resolution:
                                                 |     Focuses:  template
-------------------------------------------------+-------------------------

Comment (by posykrat):

 Patch inspired from @PeterRKnight PHP file[[BR]]
 - created get_language_attributes function with original
 language_attributes function code without echo[[BR]]
 - language_attributes function call now get_language_attributes and echo
 result

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


More information about the wp-trac mailing list