PluginProbe
Social Share Buttons / 1.3
Social Share Buttons v1.3
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
share-button / admin / update_mb.php

update_mb.php in Social Share Buttons 1.3, at admin/update_mb.php

32 lines 866 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace MBSocial;
3 defined('ABSPATH') or die('No direct access permitted');
4
5 $header = array(
6 'title' => __('MaxButtons Social Share Addon','mbsocial')
7 );
8
9 $admin = mbSocial()->admin();
10 $admin->header($header);
11
12 $action = 'install-plugin';
13 $slug = 'maxbuttons';
14 $url = wp_nonce_url(
15 add_query_arg(
16 array(
17 'action' => $action,
18 'plugin' => $slug
19 ),
20 admin_url( 'update.php' )
21 ),
22 $action.'_'.$slug
23 );
24
25 ?>
26 <div class='mb-message warning'>
27 <h3><?php _e('Update MaxButtons', 'mb-social'); ?></h3>
28 <p>
29 <?php printf(__('MaxButtons Social Share requires at least %s version %s of MaxButtons or MaxButtons PRO</a> . You are running version %s. A newer version is required to function properly. Sorry for the inconvience.', 'mbsocial'), "<a href='$url'>", MBSOCIAL_REQUIRED_MB, MAXBUTTONS_VERSION_NUM, '</a>'); ?>
30 </p>
31 </div>
32