load_help_desk(); ?>
Saving Please wait...', 'duplicate-page');
$needToUnset = array('submit_duplicate_page'); //no need to save in Database
foreach ($needToUnset as $noneed):
unset($_POST[$noneed]);
endforeach;
foreach ($_POST as $key => $val):
$duplicatepageoptions[$key] = $val;
endforeach;
$saveSettings = update_option('duplicate_page_options', $duplicatepageoptions);
if ($saveSettings) {
duplicate_page::dp_redirect('options-general.php?page=duplicate_page_settings&msg=1');
} else {
duplicate_page::dp_redirect('options-general.php?page=duplicate_page_settings&msg=2');
}
endif;
if (!empty($msg) && $msg == 1):
_e('
Settings saved.
Dismiss this notice. ', 'duplicate-page');
elseif (!empty($msg) && $msg == 2):
_e('
Settings not saved.
Dismiss this notice. ', 'duplicate-page');
endif;
?>
PK K\mӕ8B 8B duplicatepage.phpnu W+A 'draft',
'duplicate_post_redirect' => 'to_list',
'duplicate_post_suffix' => '',
'duplicate_post_editor' => 'classic',
);
$opt = get_option('duplicate_page_options');
if (!$opt['duplicate_post_status']) {
update_option('duplicate_page_options', $defaultsettings);
}
}
/*
Action Links
*/
public function duplicate_page_plugin_action_links($links, $file)
{
if ($file == plugin_basename(__FILE__)) {
$duplicate_page_links = '
#
# Saving Please wait...", 'duplicate-page');
# $needToUnset = array('submit_duplicate_page');//no need to save in Database
msgid "
Saving Please wait... "
msgstr ""
# if(!empty($msg) && $msg == 1):
# _e( '
#
Settings saved.
Dismiss this notice. ', 'duplicate-page');
msgid ""
"
\r\n"
"
Settings saved.
Dismiss this notice. "
msgstr ""
# elseif(!empty($msg) && $msg == 2):
# _e( '
#
Settings not saved.
Dismiss this notice. ', 'duplicate-page');
msgid ""
"
\r\n"
"
Settings not saved.
Dismiss this notice. "
msgstr ""
#
#
#
msgid "Duplicate Post Status"
msgstr ""
#
# Default: Draft.', 'duplicate-page')?>
#
msgid "Please select any post status you want to assign for duplicate post. Default: Draft."
msgstr ""
#
# Duplicate This Link', 'duplicate-page')?>
#
msgid "Redirect to after click on Duplicate This Link "
msgstr ""
#
# >
# >
msgid "To All Posts List"
msgstr ""
# >
# >
#
msgid "To Duplicate Edit Screen"
msgstr ""
#
# Default: To current list.', 'duplicate-page')?>
#
msgid "Please select any post redirection, redirect you to selected after click on duplicate this link. Default: To current list."
msgstr ""
#
#
#
msgid "Duplicate Post Suffix"
msgstr ""
#
#
#
msgid "Add a suffix for duplicate or clone post as Copy, Clone etc. It will show after title."
msgstr ""
#