[wp-trac] [WordPress Trac] #23697: Check and refresh post locks with heartbeat

WordPress Trac noreply at wordpress.org
Tue Mar 12 08:18:22 UTC 2013


#23697: Check and refresh post locks with heartbeat
-------------------------------------+------------------
 Reporter:  azaozz                   |       Owner:
     Type:  task (blessed)           |      Status:  new
 Priority:  normal                   |   Milestone:  3.6
Component:  Administration           |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  autosave-redo has-patch  |
-------------------------------------+------------------

Comment (by azaozz):

 Replying to [comment:6 nacin]:
 > Avatars may not be from gravatar.com, so the JS code should be removed.
 If we are going to do nasty things like parse the source URI out of
 get_avatar(), then we should also un-encode amp; there, not in JS.

 Yes, that's needed for displaying avatars in the posts list table too. Was
 thinking to separate `get_avatar()` into two functions, one to get the src
 and another to return the img tag. Then we can specify the encoding of
 `&`, etc. easily.

 The other part is harder. In JS it's not safe to pass the URL directly.
 Will look for another way.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23697#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list