mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-11 18:56:10 +09:00
9e53314c3a
- new code structure, optimized for next development; - created spl_autoloader for remove includes; - UM classes with namespaces; - deprecated global $ultimatemember; variable (use UM() instead); - new UM/WP roles logic; - new settings class and logic (deprecated Redux framework, deprecated some old options, added some new options); - new dependencies class for extensions; - WP native styles for backend fields; - new upgrades and license activations for extensions; - new logic form backend forms and fields; - created uninstall.php file for delete permanently all UM settings; - optimized registration/upgrade profile process; Deprecated Hooks: um_new_user_registration_plain um_user_registration_extra_hook um_add_user_frontend um_post_registration_global_hook um_admin_extend_directory_options_general (was action...will be filter)
43 lines
2.0 KiB
PHP
43 lines
2.0 KiB
PHP
<?php
|
|
|
|
// Random tweet - must be kept to 102 chars to "fit"
|
|
$tweets = array(
|
|
'The easiest way to create powerful online communities and beautiful user profiles with #WordPress'
|
|
);
|
|
shuffle( $tweets );
|
|
|
|
?>
|
|
|
|
<div class="wrap about-wrap um-about-wrap">
|
|
|
|
<h1>Welcome to Ultimate Member</h1>
|
|
|
|
<div class="about-text"><?php _e('Thank you for installing! Ultimate Member is a powerful community and membership plugin that allows you to create beautiful community and membership sites with WordPress.','ultimate-member'); ?></div>
|
|
|
|
<div class="wp-badge um-badge">Version <?php echo ultimatemember_version; ?></div>
|
|
|
|
<p class="um-admin-notice ultimatemember-actions">
|
|
<a href="<?php echo admin_url('admin.php?page=um_options'); ?>" class="button button-primary"><?php _e('Settings','ultimate-member'); ?></a>
|
|
<a href="http://docs.ultimatemember.com/" class="button button-secondary" target="_blank"><?php _e('Docs','ultimate-member'); ?></a>
|
|
<a href="https://wordpress.org/support/plugin/ultimate-member" class="button button-secondary" target="_blank"><?php _e('Support','ultimate-member'); ?></a>
|
|
<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://ultimatemember.com/" data-text="<?php echo esc_attr( $tweets[0] ); ?>" data-via="umplugin" data-size="large">Tweet</a>
|
|
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
|
|
</p>
|
|
|
|
<h2 class="nav-tab-wrapper">
|
|
|
|
<?php foreach( $this->about_tabs as $k => $tab ) {
|
|
|
|
if ( isset( $_REQUEST['page'] ) && 'ultimatemember-'.$k == $_REQUEST['page'] ) {
|
|
$active = 'nav-tab-active';
|
|
} else {
|
|
$active = '';
|
|
}
|
|
|
|
?>
|
|
|
|
<a href="<?php echo admin_url('admin.php?page=ultimatemember-' . $k); ?>" class="nav-tab <?php echo $active; ?>"><?php echo $tab; ?></a>
|
|
|
|
<?php } ?>
|
|
|
|
</h2>
|