|
@@ -96,7 +96,7 @@ discard block |
|
|
block discarded – undo |
|
96
|
96
|
* @return void |
|
97
|
97
|
*/ |
|
98
|
98
|
public static function connected_form_warning( $form_id = 0 ) { |
|
99
|
|
- global $pagenow; |
|
|
99
|
+ global $pagenow; |
|
100
|
100
|
|
|
101
|
101
|
if ( ! is_int( $form_id ) || $pagenow === 'post-new.php' ) { |
|
102
|
102
|
return; |
|
@@ -242,7 +242,7 @@ discard block |
|
|
block discarded – undo |
|
242
|
242
|
7 => sprintf(__( 'View saved. %sView on website.%s', 'gravityview' ), '<a href="'.get_permalink( $post_id ).'">', '</a>') . $new_form_text, |
|
243
|
243
|
8 => __( 'View submitted.', 'gravityview' ), |
|
244
|
244
|
9 => sprintf( |
|
245
|
|
- /* translators: Date and time the View is scheduled to be published */ |
|
|
245
|
+ /* translators: Date and time the View is scheduled to be published */ |
|
246
|
246
|
__( 'View scheduled for: %1$s.', 'gravityview' ), |
|
247
|
247
|
// translators: Publish box date format, see http://php.net/date |
|
248
|
248
|
date_i18n( __( 'M j, Y @ G:i', 'gravityview' ), strtotime( ( isset( $post->post_date ) ? $post->post_date : NULL ) ) ) |
|
@@ -299,7 +299,6 @@ discard block |
|
|
block discarded – undo |
|
299
|
299
|
* |
|
300
|
300
|
* @deprecated since 1.12 |
|
301
|
301
|
* @see GravityView_Compatibility::get_plugin_status() |
|
302
|
|
- |
|
303
|
302
|
* @return boolean|string True: plugin is active; False: plugin file doesn't exist at path; 'inactive' it's inactive |
|
304
|
303
|
*/ |
|
305
|
304
|
static function get_plugin_status( $location = '' ) { |
Please login to merge, or discard this patch.