Changeset 1285180
- Timestamp:
- 11/12/2015 10:06:06 PM (10 years ago)
- Location:
- clearent-payments/trunk/wp-clearent
- Files:
-
- 2 edited
-
clearent_util.php (modified) (1 diff)
-
main.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
clearent-payments/trunk/wp-clearent/clearent_util.php
r1284325 r1285180 129 129 $this->logMessage($prefix . $key . ' = ' . (str_repeat('X', strlen($value) - 4) . substr($value, -4))); 130 130 } else if ($key == 'api-key') { 131 $this->logMessage($prefix . $key . ' = ' . ('Log in to WordPress admin console and edit WP Clearentplugin to see installed API keys'));131 $this->logMessage($prefix . $key . ' = ' . ('Log in to WordPress admin console and edit Clearent Payments plugin to see installed API keys')); 132 132 } else { 133 133 $this->logMessage($prefix . $key . ' = ' . $value); -
clearent-payments/trunk/wp-clearent/main.php
r1284958 r1285180 65 65 public function admin_menu() { 66 66 // add_options_page( $page_title, $menu_title, $capability, $menu_slug, $function); 67 $wp_clearent_page = add_options_page(' WP Clearent', 'WP Clearent', 'manage_options', 'clearent_option_group', array($this, 'settingsPage'));67 $wp_clearent_page = add_options_page('Clearent Payments', 'Clearent Payments', 'manage_options', 'clearent_option_group', array($this, 'settingsPage')); 68 68 add_action('admin_print_scripts-' . $wp_clearent_page, array($this, 'admin_scripts')); // Load our admin page scripts (our page only) 69 69 add_action('admin_print_styles-' . $wp_clearent_page, array($this, 'wp_clearent_admin_print_styles')); // Load our admin page stylesheet (our page only) … … 122 122 ?> 123 123 <div class="wrap"> 124 <h2><?php echo(' WP Clearent'); ?></h2>124 <h2><?php echo('Clearent Payments'); ?></h2> 125 125 126 126 <?php … … 214 214 ?> 215 215 <div class="postbox"> 216 <h3>Active Pages Using WP ClearentShortcode</h3>217 <p>Below is a list of all pages that use the WP Clearent paymentshortcode (links open in new window).</p>216 <h3>Active Pages Using Clearent Payments Plugin Shortcode</h3> 217 <p>Below is a list of all pages that use the Clearent Payments plugin shortcode (links open in new window).</p> 218 218 <?php 219 219 // Display pages using the shortcode … … 228 228 echo '</ul>'; 229 229 } else { 230 echo('There are no pages that use the WP Clearentshortcode.');230 echo('There are no pages that use the Clearent Payments plugin shortcode.'); 231 231 } 232 232 wp_reset_postdata(); … … 241 241 242 242 <h3>Environment</h3> 243 <p>By default, the WP Clearentplugin will perform all transactions against the production environment.243 <p>By default, the Clearent Payments plugin will perform all transactions against the production environment. 244 244 The plugin may be switched to sandbox environment for testing purposes. 245 245 </p> … … 1218 1218 1219 1219 // This function will populate the options if the plugin is activated for the first time. 1220 // It will also protect the options if the plugin is deactivated (common in troubl shooting WP related issues)1220 // It will also protect the options if the plugin is deactivated (common in troubleshooting WP related issues) 1221 1221 // We may want to add an option to remove DB entries... 1222 1222 public function activate() {
Note: See TracChangeset
for help on using the changeset viewer.