[wp-trac] [WordPress Trac] #45227: Using "__" in a plugin's main file, outside of an action callback prevents post saving in the editor.

WordPress Trac noreply at wordpress.org
Tue Oct 30 13:44:59 UTC 2018


#45227: Using "__" in a plugin's main file, outside of an action callback prevents
post saving in the editor.
--------------------------+------------------------------
 Reporter:  kmgalanakis   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  I18N          |     Version:  5.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by kmgalanakis):

 Mine was I test plugin that I prepared for something else and I happened
 to see that issue. The strange thing is that this test plugin was working
 nicely in WP 5.0-beta1.

 Whatever changed in WP 5.0-beta2 and broke my plugin will surely break
 other plugins as well.

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


More information about the wp-trac mailing list