[wp-trac] [WordPress Trac] #51918: I18n - Application Passwords table dates

WordPress Trac noreply at wordpress.org
Thu Dec 3 16:38:17 UTC 2020


#51918: I18n - Application Passwords table dates
-----------------------------------+---------------------
 Reporter:  pedromendonca          |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  5.6
Component:  Application Passwords  |     Version:  5.6
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch              |     Focuses:
-----------------------------------+---------------------

Comment (by pedromendonca):

 On `print_js_template_row()`, for the column `'last_used'`, is it really
 necessary to check for existent `data.last_used` since it's a newly
 created application password?

 Couldn't it just be set as empty?

 Example:
 {{{
 case 'last_used':
         echo '—';
         break;
 }}}

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


More information about the wp-trac mailing list