Skip to content

Commit 0cb713d

Browse files
authored
Merge pull request #244 from codepress/release/3.4.1
Release/3.4.1
2 parents 111a42c + c9ba8c2 commit 0cb713d

19 files changed

+197
-132
lines changed

assets/css/admin-page-columns.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

classes/Admin.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,4 +188,13 @@ public function admin_scripts() {
188188
do_action( 'ac/admin_scripts' );
189189
}
190190

191+
/**
192+
* @return string
193+
*/
194+
public function get_settings_url() {
195+
_deprecated_function( __METHOD__, '3.4.1', 'Admin::get_url()' );
196+
197+
return $this->get_url( 'settings' );
198+
}
199+
191200
}

classes/Helper/Image.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ private function markup( $src, $width, $height, $media_id = null, $add_extension
233233

234234
ob_start(); ?>
235235
<span class="ac-image<?php echo $class; ?>" data-media-id="<?php echo esc_attr( $media_id ); ?>"<?php echo $this->get_file_tooltip_attr( $media_id ); ?>>
236-
<img style="max-width:<?php echo esc_attr( $width ); ?>px;max-height:<?php echo esc_attr( $height ); ?>px;" src="<?php echo esc_attr( $src ); ?>">
236+
<img style="max-width:<?php echo esc_attr( $width ); ?>px;max-height:<?php echo esc_attr( $height ); ?>px;" src="<?php echo esc_attr( $src ); ?>" alt="">
237237

238238
<?php if ( $add_extension ) : ?>
239239
<span class="ac-extension"><?php echo esc_attr( $this->get_file_extension( $media_id ) ); ?></span>

classes/Integration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public function get_description() {
116116
* @return string
117117
*/
118118
public function get_link() {
119-
return ac_get_site_utm_url( $this->page, 'addon', $this->get_logo() );
119+
return ac_get_site_utm_url( $this->page, 'addon', $this->get_slug() );
120120
}
121121

122122
/**

classes/Integration/ACF.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ public function __construct() {
1313
__( 'Advanced Custom Fields', 'codepress-admin-columns' ),
1414
'assets/images/addons/acf.png',
1515
__( 'Display and edit ACF fields in the posts overview in seconds!', 'codepress-admin-columns' ),
16-
'https://www.advancedcustomfields.com/'
16+
'https://www.advancedcustomfields.com',
17+
'advanced-custom-fields'
1718
);
1819
}
1920

classes/Integration/WooCommerce.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __construct() {
1616
'assets/images/addons/woocommerce.png',
1717
__( 'Enhance the products, orders and coupons overviews with new columns and inline editing.', 'codepress-admin-columns' ),
1818
null,
19-
'woocommerce'
19+
'woocommerce-columns'
2020
);
2121
}
2222

classes/Plugin/Updater.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@ protected function show_completed_notice() {
111111
}
112112

113113
protected function show_update_notice() {
114-
$url = add_query_arg( array( 'ac_do_update' => 'true' ), AC()->admin()->get_settings_url() );
114+
$url = add_query_arg( array( 'ac_do_update' => 'true' ), ac_get_admin_url( 'settings' ) );
115+
115116
$message = sprintf( '<strong>%s</strong> &ndash; %s <a href="%s" class="button ac-update-now">%s</a>',
116117
esc_html__( 'Admin Columns', 'codepress-admin-columns' ),
117118
esc_html__( 'We need to update your database to the latest version.', 'codepress-admin-columns' ),

codepress-admin-columns.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/*
33
Plugin Name: Admin Columns
4-
Version: 3.4
4+
Version: 3.4.1
55
Description: Customize columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
66
Author: AdminColumns.com
77
Author URI: https://www.admincolumns.com
@@ -36,7 +36,7 @@
3636
}
3737

3838
define( 'AC_FILE', __FILE__ );
39-
define( 'AC_VERSION', '3.4' );
39+
define( 'AC_VERSION', '3.4.1' );
4040

4141
require_once __DIR__ . '/classes/Dependencies.php';
4242

7 Bytes
Binary file not shown.

languages/codepress-admin-columns-ar_AR.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# This file is distributed under the same license as the Plugins - Admin Columns - Stable (latest release) package.
33
msgid ""
44
msgstr ""
5-
"PO-Revision-Date: 2016-04-29 09:17:56+0000\n"
5+
"PO-Revision-Date: 2019-02-15 13:59:17+0000\n"
66
"MIME-Version: 1.0\n"
77
"Content-Type: text/plain; charset=UTF-8\n"
88
"Content-Transfer-Encoding: 8bit\n"
@@ -1378,7 +1378,7 @@ msgstr "الحالة"
13781378

13791379
#: classes/Column/Post/Slug.php:14 classes/Settings/Column/Term.php:29
13801380
msgid "Slug"
1381-
msgstr "الاسم اللطيف"
1381+
msgstr "الاسم اللطيف (Slug)"
13821382

13831383
#: classes/Column/Post/Shortcodes.php:15
13841384
msgid "Shortcodes"

0 commit comments

Comments
 (0)