وردپرس

Some issues found (Based on 1.2.5)


I fully localized this plugin to zh_TW, and I found several issues that need to be fixed.

  1. This plugin’s slug is advanced-floating-content-lite, but the current Text Domain is advanced-floating-content. Change the existing Text Domain so it is equal to this plugin’s slug, and modify the text domain in all your source files. This change is needed. Please refer to this official article. This change is necessary because this plugin’s Requires at least is below 4.6.
  2. This plugin’s Requires at least (4.0) is below 4.6 so a load_plugin_textdomain is needed. Make sure you load it at a certain point in your plugin. Please refer to this official article.
  3. \admin\class-advanced-floating-content-admin.php line 280 made a critical error so I made some modifications.

I can’t add load_plugin_textdomain for you; please add it yourself, but I made all the necessary changes for the above purposes. Please download the modified files here ? and compare them with the original 1.2.5 files. Then, you will know what I altered.

Fixing 1 and 2 may trigger completing this plugin’s GlotPress project. Then translators can submit translations and meet their language so the system can push language packs to the sites that installed this great plugin.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا