[wp-trac] [WordPress Trac] #14909: Pass "_e('Press This')" through filter
WordPress Trac
noreply at wordpress.org
Wed Mar 6 19:13:31 UTC 2013
#14909: Pass "_e('Press This')" through filter
-------------------------+-------------------------
Reporter: joehoyle | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Press This | Version:
Severity: normal | Resolution: maybelater
Keywords: has-patch |
-------------------------+-------------------------
Changes (by SergeyBiryukov):
* keywords: has-patch needs-review => has-patch
* type: defect (bug) => enhancement
* milestone: Future Release =>
Comment:
Replying to [comment:9 joehoyle]:
> But you can't use the `gettext` filter, because "Press This" text may
be used elsewhere (titles etc) which would not want to be affected.
You can use `get_current_screen()` to change the title only on selected
screens.
I've attached a workaround plugin: [attachment:add-blog-name-to-press-
this-title.php].
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14909#comment:13>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list