[wp-trac] [WordPress Trac] #50732: Block Directory: Support installing blocks in languages other than English

WordPress Trac noreply at wordpress.org
Tue Jul 28 01:06:54 UTC 2020


#50732: Block Directory: Support installing blocks in languages other than English
--------------------------+------------------------
 Reporter:  ryelle        |       Owner:  whyisjake
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  5.5
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------

Comment (by dd32):

 Replying to [comment:14 TimothyBlynJacobs]:
 > Makes sense to me! Should we unhook
 `Language_Pack_Upgrader::async_upgrade` here too?

 Just noting that it shouldn't be hooked on this API, it's only hooked when
 in the admin:
 {{{
 wp-admin/includes/admin-filters.php:
 add_action( 'upgrader_process_complete', array( 'Language_Pack_Upgrader',
 'async_upgrade' ), 20 );
 }}}
 Cron tasks for automatic updates don't have it hooked either, as it
 performs the process "manually".

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


More information about the wp-trac mailing list