Skip to content

Commit 275e67c

Browse files
committed
Prefix the Namespace to avoid conflicts.
Prefixed the namespace to avoid conflicts.
1 parent 41fb747 commit 275e67c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

includes/lib/glotpress-helper.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
2222
*/
2323

24-
namespace Required\Traduttore_Registry;
24+
namespace PMPro\Required\Traduttore_Registry;
2525

2626
use DateTime;
2727

includes/localization.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function pmpro_check_for_translations() {
8585
$plugin_slug = $add_on['Slug'];
8686

8787
// This uses the Traduttore plugin to check for translations for locales etc.
88-
\Required\Traduttore_Registry\add_project(
88+
PMPro\Required\Traduttore_Registry\add_project(
8989
'plugin',
9090
$plugin_slug,
9191
'https://translate.strangerstudios.com/api/translations/' . $plugin_slug

0 commit comments

Comments
 (0)