[wp-trac] [WordPress Trac] #37461: Introduce get_title_attribute() to wrap the_title_attribute( 'echo=0' )

WordPress Trac noreply at wordpress.org
Mon Jul 25 17:10:07 UTC 2016


#37461: Introduce get_title_attribute() to wrap the_title_attribute( 'echo=0' )
-------------------------+-----------------------------
 Reporter:  sillybean    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  template     |
-------------------------+-----------------------------
 the_title_attribute( 'echo=0' ) is ugly and annoying given that all the
 other the_* template tags have corresponding get_* functions.

 Patch adds get_title_attribute() as a simple wrapper function.

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


More information about the wp-trac mailing list