Skip to content

Commit 61f9d34

Browse files
committed
[#8] Doh, replace uses get_plugin_name() method with the string literal
1 parent 214a93f commit 61f9d34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

woocommerce-sequential-order-numbers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public function __construct() {
6464
public function __clone() {
6565

6666
/* translators: Placeholders: %s - plugin name */
67-
_doing_it_wrong( __FUNCTION__, sprintf( esc_html__( 'You cannot clone instances of %s.', 'woocommerce-sequential-order-numbers' ), $this->get_plugin_name() ), '1.7.0' );
67+
_doing_it_wrong( __FUNCTION__, sprintf( esc_html__( 'You cannot clone instances of %s.', 'woocommerce-sequential-order-numbers' ), 'WooCommerce Sequential Order Numbers' ), '1.7.0' );
6868
}
6969

7070

@@ -76,7 +76,7 @@ public function __clone() {
7676
public function __wakeup() {
7777

7878
/* translators: Placeholders: %s - plugin name */
79-
_doing_it_wrong( __FUNCTION__, sprintf( esc_html__( 'You cannot unserialize instances of %s.', 'woocommerce-sequential-order-numbers' ), $this->get_plugin_name() ), '1.7.0' );
79+
_doing_it_wrong( __FUNCTION__, sprintf( esc_html__( 'You cannot unserialize instances of %s.', 'woocommerce-sequential-order-numbers' ), 'WooCommerce Sequential Order Numbers' ), '1.7.0' );
8080
}
8181

8282

0 commit comments

Comments
 (0)