updated plugin Easy Digital Downloads version 3.1.1.3

This commit is contained in:
2023-03-29 18:20:17 +00:00
committed by Gitium
parent 2573ae37c7
commit e42ba0e05a
20 changed files with 234 additions and 155 deletions

View File

@ -69,9 +69,6 @@ final class EDD_Requirements_Check {
$this->file = EDD_PLUGIN_FILE;
$this->base = EDD_PLUGIN_BASE;
// Always load translations
add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
// Load or quit
$this->met()
? $this->load()
@ -416,6 +413,9 @@ final class EDD_Requirements_Check {
/**
* Plugin specific text-domain loader.
*
* @deprecated 3.1.1.3. Since EDD no longer bundles any language files,
* and WordPress Core automatically loads the custom wp-content/languages/easy-digital-downloads/.mo file if it's found,
* this is no longer needed.
* @since 1.4
* @return void
*/
@ -492,6 +492,7 @@ final class EDD_Requirements_Check {
/**
* Load a .mo file for the old textdomain if one exists.
*
* @deprecated 3.1.1.3
* @see https://github.com/10up/grunt-wp-plugin/issues/21#issuecomment-62003284
*/
public function load_old_textdomain( $mofile, $textdomain ) {