Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions admin/partials/nginx-helper-general-options.php
Original file line number Diff line number Diff line change
Expand Up @@ -626,15 +626,8 @@
];
}

printf(
'<p class="enable-logging-message">(<b>%1$s:</b> %2$s %3$s %4$s <b>NGINX_HELPER_LOG</b> constant %5$s <b>%6$s</b> %7$s <b>wp-config.php</b>)</p>',
esc_html__( 'NOTE', 'nginx-helper' ),
esc_html__( 'To', 'nginx-helper' ),
esc_html( $setting_message_detail['status'] ),
esc_html__( 'the logging feature, you must define', 'nginx-helper' ),
esc_html__( 'as', 'nginx-helper' ),
esc_html( $setting_message_detail['value'] ),
esc_html__( 'in your', 'nginx-helper' )
printf(esc_html__(
'%1$s(%2$sNOTE:%3$s To %4$s the logging feature, you must define %2$sNGINX_HELPER_LOG%3$s constant as %2$s%5$s%3$s in your %2$swp-config.php%3$s)%6$s', 'nginx-helper'),'<p class="enable-logging-message">','<b>','</b>',$setting_message_detail['status'],$setting_message_detail['value'],'</p>'
);
}
?>
Expand Down
8 changes: 3 additions & 5 deletions admin/partials/nginx-helper-sidebar-display.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,9 @@
<div class="inside">
<p>
<?php
printf(
'%s <a href=\'%s\'>%s</a>.',
esc_html__( 'Please use our', 'nginx-helper' ),
esc_url( 'http://rtcamp.com/support/forum/wordpress-nginx/' ),
esc_html__( 'free support forum', 'nginx-helper' )
printf(esc_html__(
'Please use our %1$sfree support forum%2$s.', 'nginx-helper' )
,'<a href="http://rtcamp.com/support/forum/wordpress-nginx/" target="_blank">','</a>'
);
?>
</p>
Expand Down