[wp-trac] [WordPress Trac] #25459: Provide more meaningful links in Edit Post/Page
WordPress Trac
noreply at wordpress.org
Sun Dec 1 07:59:52 UTC 2013
#25459: Provide more meaningful links in Edit Post/Page
-----------------------------------+-----------------------------
Reporter: grahamarmfield | Owner:
Type: defect (bug) | Status: new
Priority: low | Milestone: Future Release
Component: Accessibility | Version: 3.6.1
Severity: minor | Resolution:
Keywords: i18n-change has-patch |
-----------------------------------+-----------------------------
Comment (by grahamarmfield):
Replying to [comment:40 toscho]:
> Why do we need another wrapper for `echo`? It clutters the global
namespace and doesn’t really add any value.
Discussion of this function has indicated that it could be useful in the
front end too - ie in themes. Theme developers (such as myself) are
familiar with the `function()/get_function()` construct (eg `bloginfo()`
and `get_bloginfo()`). In some cases the string output from this new
function will be echoed straight to the screen, and in some cases the
string is to be passed to a variable.
That is why I did it.
If WordPress as a whole is moving away from that construct then I wasn't
aware.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25459#comment:41>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list