[wp-trac] [WordPress Trac] #45528: load_script_textdomain() doesn't load translations when WP installed in a subdirectory with custom content dir

WordPress Trac noreply at wordpress.org
Tue Dec 18 11:07:50 UTC 2018


#45528: load_script_textdomain() doesn't load translations when WP installed in a
subdirectory with custom content dir
-------------------------------------------------+-------------------------
 Reporter:  fierevere                            |       Owner:  herregroen
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.0.2
Component:  I18N                                 |     Version:  5.0
 Severity:  normal                               |  Resolution:
 Keywords:  has-screenshots has-patch has-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by pento):

 In [changeset:"44288" 44288]:
 {{{
 #!CommitTicketReference repository="" revision="44288"
 i18n: Remove the `script_loader_src` filter from
 `load_script_textdomain()`.

 This filter is superfluous here, the
 `load_script_textdomain_relative_path` should be used for customising the
 textdomain path.

 See #45528.
 Props dimadin.
 }}}

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


More information about the wp-trac mailing list