@@ -57,8 +57,8 @@ discard block |
||
57 | 57 | 'getpaid-nonce', |
58 | 58 | 'getpaid-nonce' |
59 | 59 | ); |
60 | - $anchor = __( 'Deactivate', 'invoicing' ); |
|
61 | - $title = esc_attr__( 'Are you sure you want to deactivate this discount?', 'invoicing' ); |
|
60 | + $anchor = __( 'Deactivate', 'invoicing' ); |
|
61 | + $title = esc_attr__( 'Are you sure you want to deactivate this discount?', 'invoicing' ); |
|
62 | 62 | $row_actions['deactivate'] = "<a href='$url' onclick='return confirm(\"$title\")'>$anchor</a>"; |
63 | 63 | |
64 | 64 | } else if( in_array( strtolower( $discount->post_status ), array( 'pending', 'draft' ) ) ) { |
@@ -75,8 +75,8 @@ discard block |
||
75 | 75 | 'getpaid-nonce' |
76 | 76 | ) |
77 | 77 | ); |
78 | - $anchor = __( 'Activate', 'invoicing' ); |
|
79 | - $title = esc_attr__( 'Are you sure you want to activate this discount?', 'invoicing' ); |
|
78 | + $anchor = __( 'Activate', 'invoicing' ); |
|
79 | + $title = esc_attr__( 'Are you sure you want to activate this discount?', 'invoicing' ); |
|
80 | 80 | $row_actions['activate'] = "<a href='$url' onclick='return confirm(\"$title\")'>$anchor</a>"; |
81 | 81 | |
82 | 82 | } |
@@ -93,8 +93,8 @@ discard block |
||
93 | 93 | 'getpaid-nonce' |
94 | 94 | ) |
95 | 95 | ); |
96 | - $anchor = __( 'Delete', 'invoicing' ); |
|
97 | - $title = esc_attr__( 'Are you sure you want to delete this discount?', 'invoicing' ); |
|
96 | + $anchor = __( 'Delete', 'invoicing' ); |
|
97 | + $title = esc_attr__( 'Are you sure you want to delete this discount?', 'invoicing' ); |
|
98 | 98 | $row_actions['delete'] = "<a href='$url' onclick='return confirm(\"$title\")'>$anchor</a>"; |
99 | 99 | |
100 | 100 | $row_actions = apply_filters( 'wpinv_discount_row_actions', $row_actions, $discount ); |