[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
Wed Dec 19 00:17:29 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:  closed
 Priority:  normal                               |   Milestone:  5.0.2
Component:  I18N                                 |     Version:  5.0
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-screenshots has-patch has-unit-  |     Focuses:
  tests fixed-5.0                                |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 In [changeset:"44318" 44318]:
 {{{
 #!CommitTicketReference repository="" revision="44318"
 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.

 Props dimadin.
 Merges [44288] to trunk.
 See #45528.
 }}}

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


More information about the wp-trac mailing list