Version Description
- 2020-07-21 =
- Hide Go Pro link for premium users
- Update intro and image for the Online Generator in the welcome page
Download this release
Release Info
Developer | rilwis |
Plugin | Meta Box |
Version | 5.3.3 |
Comparing to | |
See all releases |
Code changes from version 5.3.2 to 5.3.3
- inc/about/about.php +5 -2
- inc/about/css/about.css +2 -32
- inc/about/images/online-generator.png +0 -0
- inc/about/sections/getting-started.php +1 -1
- inc/about/sections/newsletter.php +0 -16
- inc/about/sections/products.php +19 -0
- inc/core.php +0 -1
- inc/loader.php +1 -1
- meta-box.php +1 -1
- readme.txt +5 -1
inc/about/about.php
CHANGED
@@ -30,7 +30,7 @@ class RWMB_About {
|
|
30 |
*/
|
31 |
public function init() {
|
32 |
// Add links to about page in the plugin action links.
|
33 |
-
add_filter( 'plugin_action_links_meta-box/meta-box.php', array( $this, 'plugin_links' ) );
|
34 |
|
35 |
// Add a shared top-level admin menu and Dashboard page. Use priority 5 to show Dashboard at the top.
|
36 |
add_action( 'admin_menu', array( $this, 'add_menu' ), 5 );
|
@@ -52,6 +52,9 @@ class RWMB_About {
|
|
52 |
*/
|
53 |
public function plugin_links( $links ) {
|
54 |
$links[] = '<a href="' . esc_url( $this->get_menu_link() ) . '">' . esc_html__( 'About', 'meta-box' ) . '</a>';
|
|
|
|
|
|
|
55 |
return $links;
|
56 |
}
|
57 |
|
@@ -125,7 +128,7 @@ class RWMB_About {
|
|
125 |
</div>
|
126 |
<div id="postbox-container-1" class="postbox-container">
|
127 |
<?php
|
128 |
-
include __DIR__ . '/sections/
|
129 |
if ( ! $this->update_checker->has_extensions() ) {
|
130 |
include __DIR__ . '/sections/upgrade.php';
|
131 |
}
|
30 |
*/
|
31 |
public function init() {
|
32 |
// Add links to about page in the plugin action links.
|
33 |
+
add_filter( 'plugin_action_links_meta-box/meta-box.php', array( $this, 'plugin_links' ), 20 );
|
34 |
|
35 |
// Add a shared top-level admin menu and Dashboard page. Use priority 5 to show Dashboard at the top.
|
36 |
add_action( 'admin_menu', array( $this, 'add_menu' ), 5 );
|
52 |
*/
|
53 |
public function plugin_links( $links ) {
|
54 |
$links[] = '<a href="' . esc_url( $this->get_menu_link() ) . '">' . esc_html__( 'About', 'meta-box' ) . '</a>';
|
55 |
+
if ( ! $this->update_checker->has_extensions() ) {
|
56 |
+
$links[] = '<a href="https://metabox.io/pricing/" style="color: #39b54a; font-weight: bold">' . esc_html__( 'Go Pro', 'meta-box' ) . '</a>';
|
57 |
+
}
|
58 |
return $links;
|
59 |
}
|
60 |
|
128 |
</div>
|
129 |
<div id="postbox-container-1" class="postbox-container">
|
130 |
<?php
|
131 |
+
include __DIR__ . '/sections/products.php';
|
132 |
if ( ! $this->update_checker->has_extensions() ) {
|
133 |
include __DIR__ . '/sections/upgrade.php';
|
134 |
}
|
inc/about/css/about.css
CHANGED
@@ -115,7 +115,7 @@
|
|
115 |
}
|
116 |
}
|
117 |
/* For large screen: 3 columns */
|
118 |
-
@media (min-width:
|
119 |
.extension {
|
120 |
width: 32%;
|
121 |
}
|
@@ -125,7 +125,7 @@
|
|
125 |
#post-body.columns-2 #postbox-container-1 {
|
126 |
position: fixed;
|
127 |
right: 320px;
|
128 |
-
top:
|
129 |
}
|
130 |
|
131 |
@media (max-width: 1279px) {
|
@@ -137,36 +137,6 @@
|
|
137 |
}
|
138 |
}
|
139 |
|
140 |
-
/* Newsletter */
|
141 |
-
.newsletter {
|
142 |
-
margin: 40px 0;
|
143 |
-
border: 3px dashed #82878c;
|
144 |
-
padding: 15px;
|
145 |
-
background: #fff;
|
146 |
-
}
|
147 |
-
.newsletter .dashicons {
|
148 |
-
color: #00b9eb;
|
149 |
-
width: 30px;
|
150 |
-
height: 30px;
|
151 |
-
font-size: 30px;
|
152 |
-
position: relative;
|
153 |
-
top: -5px;
|
154 |
-
left: -2px;
|
155 |
-
}
|
156 |
-
.newsletter h3 {
|
157 |
-
margin: 0 0 5px;
|
158 |
-
}
|
159 |
-
.newsletter p {
|
160 |
-
margin-top: 0;
|
161 |
-
}
|
162 |
-
.newsletter.newsletter input,
|
163 |
-
.newsletter.newsletter button {
|
164 |
-
margin-top: 5px;
|
165 |
-
}
|
166 |
-
.newsletter.newsletter input {
|
167 |
-
width: 145px;
|
168 |
-
}
|
169 |
-
|
170 |
/* Upgrade */
|
171 |
.upgrade {
|
172 |
border: 3px dashed #82878c;
|
115 |
}
|
116 |
}
|
117 |
/* For large screen: 3 columns */
|
118 |
+
@media (min-width: 1600px) {
|
119 |
.extension {
|
120 |
width: 32%;
|
121 |
}
|
125 |
#post-body.columns-2 #postbox-container-1 {
|
126 |
position: fixed;
|
127 |
right: 320px;
|
128 |
+
top: 80px;
|
129 |
}
|
130 |
|
131 |
@media (max-width: 1279px) {
|
137 |
}
|
138 |
}
|
139 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
140 |
/* Upgrade */
|
141 |
.upgrade {
|
142 |
border: 3px dashed #82878c;
|
inc/about/images/online-generator.png
CHANGED
Binary file
|
inc/about/sections/getting-started.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
<div class="two">
|
11 |
<div class="col">
|
12 |
<h3><?php esc_html_e( 'Getting Started With Online Generator', 'meta-box' ); ?></h3>
|
13 |
-
<p><?php esc_html_e( '
|
14 |
|
15 |
<a target="_blank" class="screenshot" href="https://metabox.io/online-generator/?utm_source=WordPress&utm_medium=link&utm_campaign=plugin"><img src="<?php echo esc_url( RWMB_URL . 'inc/about/images/online-generator.png' ); ?>" alt="<?php esc_attr_e( 'online generator', 'meta-box' ); ?>"></a>
|
16 |
|
10 |
<div class="two">
|
11 |
<div class="col">
|
12 |
<h3><?php esc_html_e( 'Getting Started With Online Generator', 'meta-box' ); ?></h3>
|
13 |
+
<p><?php esc_html_e( 'Online Generator is a free tool to help you create and set up custom fields using a simple, friendly user interface. With it, you can add fields, set options and generate needed code that\'s ready to copy and paste.', 'meta-box' ); ?></p>
|
14 |
|
15 |
<a target="_blank" class="screenshot" href="https://metabox.io/online-generator/?utm_source=WordPress&utm_medium=link&utm_campaign=plugin"><img src="<?php echo esc_url( RWMB_URL . 'inc/about/images/online-generator.png' ); ?>" alt="<?php esc_attr_e( 'online generator', 'meta-box' ); ?>"></a>
|
16 |
|
inc/about/sections/newsletter.php
DELETED
@@ -1,16 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Newsletter form
|
4 |
-
*
|
5 |
-
* @package Meta Box
|
6 |
-
*/
|
7 |
-
|
8 |
-
?>
|
9 |
-
|
10 |
-
<form method="post" action="https://app.zetamail.vn/form.php?form=77" target="_blank" class="newsletter">
|
11 |
-
<h3><span class="dashicons dashicons-email-alt"></span> <?php esc_html_e( 'Meta Box Newsletter', 'meta-box' ); ?></h3>
|
12 |
-
<input name="format" value="h" type="hidden">
|
13 |
-
<p><?php esc_html_e( 'Want to learn how to use Meta Box to its full potential? Sign up to get valuable tips and resources. We will never spam you.', 'meta-box' ); ?></p>
|
14 |
-
<input name="email" value="" placeholder="joe@gmail.com" required type="email">
|
15 |
-
<button class="button button-primary"><?php esc_html_e( 'Subscribe', 'meta-box' ); ?></button>
|
16 |
-
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
inc/about/sections/products.php
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Newsletter form
|
4 |
+
*
|
5 |
+
* @package Meta Box
|
6 |
+
*/
|
7 |
+
|
8 |
+
?>
|
9 |
+
|
10 |
+
<div class="postbox">
|
11 |
+
<h3 class="hndle">
|
12 |
+
<span><?php esc_html_e( 'Our WordPress Products', 'falcon' ) ?></span>
|
13 |
+
</h3>
|
14 |
+
<div class="inside">
|
15 |
+
<p><?php esc_html_e( 'Like this plugin? Check out our other WordPress products:', 'falcon' ) ?></p>
|
16 |
+
<p><a href="https://wpslimseo.com?utm_source=WordPress&utm_medium=link&utm_campaign=meta-box" target="_blank" rel="noopenner noreferrer">Slim SEO</a> - <?php esc_html_e( 'Automated & fast SEO plugin for WordPress', 'falcon' ) ?></p>
|
17 |
+
<p><a href="https://gretathemes.com/wordpress-themes/estar/?utm_source=WordPress&utm_medium=link&utm_campaign=meta-box" target="_blank" rel="noopenner noreferrer">eStar</a> - <?php esc_html_e( 'A super fast, lightweight and highly customizable WordPress theme', 'falcon' ) ?></p>
|
18 |
+
</div>
|
19 |
+
</div>
|
inc/core.php
CHANGED
@@ -36,7 +36,6 @@ class RWMB_Core {
|
|
36 |
*/
|
37 |
public function plugin_links( $links ) {
|
38 |
$links[] = '<a href="https://docs.metabox.io">' . esc_html__( 'Docs', 'meta-box' ) . '</a>';
|
39 |
-
$links[] = '<a href="https://metabox.io/pricing/" style="color: #39b54a; font-weight: bold">' . esc_html__( 'Go Pro', 'meta-box' ) . '</a>';
|
40 |
return $links;
|
41 |
}
|
42 |
|
36 |
*/
|
37 |
public function plugin_links( $links ) {
|
38 |
$links[] = '<a href="https://docs.metabox.io">' . esc_html__( 'Docs', 'meta-box' ) . '</a>';
|
|
|
39 |
return $links;
|
40 |
}
|
41 |
|
inc/loader.php
CHANGED
@@ -18,7 +18,7 @@ class RWMB_Loader {
|
|
18 |
*/
|
19 |
protected function constants() {
|
20 |
// Script version, used to add version for scripts and styles.
|
21 |
-
define( 'RWMB_VER', '5.3.
|
22 |
|
23 |
list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
|
24 |
|
18 |
*/
|
19 |
protected function constants() {
|
20 |
// Script version, used to add version for scripts and styles.
|
21 |
+
define( 'RWMB_VER', '5.3.3' );
|
22 |
|
23 |
list( $path, $url ) = self::get_path( dirname( dirname( __FILE__ ) ) );
|
24 |
|
meta-box.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Meta Box
|
4 |
* Plugin URI: https://metabox.io
|
5 |
* Description: Create custom meta boxes and custom fields in WordPress.
|
6 |
-
* Version: 5.3.
|
7 |
* Author: MetaBox.io
|
8 |
* Author URI: https://metabox.io
|
9 |
* License: GPL2+
|
3 |
* Plugin Name: Meta Box
|
4 |
* Plugin URI: https://metabox.io
|
5 |
* Description: Create custom meta boxes and custom fields in WordPress.
|
6 |
+
* Version: 5.3.3
|
7 |
* Author: MetaBox.io
|
8 |
* Author URI: https://metabox.io
|
9 |
* License: GPL2+
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: meta-box, custom fields, custom field, meta, meta-boxes, admin, advanced,
|
|
5 |
Requires at least: 4.3
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.4.2
|
8 |
-
Stable tag: 5.3.
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
|
@@ -167,6 +167,10 @@ To getting started with the plugin, please read the [Quick Start Guide](https://
|
|
167 |
|
168 |
== Changelog ==
|
169 |
|
|
|
|
|
|
|
|
|
170 |
= 5.3.2 - 2020-07-03 =
|
171 |
- Fix validation not working for media fields
|
172 |
- Add "add_to" option for media fields to allow adding new images to the beginning/end of the list
|
5 |
Requires at least: 4.3
|
6 |
Requires PHP: 5.3
|
7 |
Tested up to: 5.4.2
|
8 |
+
Stable tag: 5.3.3
|
9 |
License: GPLv2 or later
|
10 |
|
11 |
Meta Box plugin is a powerful, professional developer toolkit to create custom meta boxes and custom fields for WordPress.
|
167 |
|
168 |
== Changelog ==
|
169 |
|
170 |
+
= 5.3.3 - 2020-07-21 =
|
171 |
+
- Hide Go Pro link for premium users
|
172 |
+
- Update intro and image for the Online Generator in the welcome page
|
173 |
+
|
174 |
= 5.3.2 - 2020-07-03 =
|
175 |
- Fix validation not working for media fields
|
176 |
- Add "add_to" option for media fields to allow adding new images to the beginning/end of the list
|