Renamed Plugin and changed slug to stklcode-liveticker

Due to naming conflicts with the original wp-liveticker plugin this one
is now renamed to a unique identifier.
This commit is contained in:
2018-11-02 09:01:29 +01:00
parent 9d64f9f415
commit 65eafd2524
16 changed files with 433 additions and 434 deletions

View File

@ -1,26 +1,28 @@
<?php
/**
* WP Liveticker 2: Settings page.
* Liveticker: Settings page.
*
* This file contains the view model for the Plugin settings oage.
*
* @package WPLiveticker2
* @package Liveticker
*/
defined( 'ABSPATH' ) || exit;
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
?>
<div class="wrap">
<div id="icon-options-general" class="icon32"><br></div>
<h2>Liveticker <?php esc_html_e( 'Settings', 'wplt2' ); ?></h2>
<h2>Liveticker <?php esc_html_e( 'Settings', 'stklcode-liveticker' ); ?></h2>
<?php
if ( isset( $_GET['settings-updated'] ) ) { // phpcs:ignore
echo '<div class="updated"><p>' . esc_html__( 'Settings updated successfully.', 'wplt2' ) . '</p></div>';
echo '<div class="updated"><p>' . esc_html__( 'Settings updated successfully.', 'stklcode-liveticker' ) . '</p></div>';
}
?>
<form action="options.php" method="post">
<?php
settings_fields( 'wplt2_settings' );
do_settings_sections( 'wplt2-settings-page' );
settings_fields( 'scliveticker_settings' );
do_settings_sections( 'scliveticker-settings-page' );
submit_button();
?>
</form>