Skip to content

Commit 209f731

Browse files
authored
Merge pull request #303 from codepress/release/4.2.3
Release/4.2.3
2 parents b059d25 + f8f43e6 commit 209f731

File tree

53 files changed

+6052
-5238
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6052
-5238
lines changed

assets/css/table.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/Column/Post/Permalink.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct() {
1818
public function get_value( $id ) {
1919
$link = $this->get_raw_value( $id );
2020

21-
return ac_helper()->html->link( $link, $link, [ 'target' => '_blank' ] );
21+
return sprintf( '<a href="%s" target="_blank">%s</a>', $link, urldecode( $link ) );
2222
}
2323

2424
public function get_raw_value( $id ) {

classes/Column/Post/TitleRaw.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function __construct() {
1616
}
1717

1818
public function get_value( $id ) {
19-
return wp_kses_post( parent::get_value( $id ) );
19+
return sprintf( '<span class="row-title">%s</span>', wp_kses_post( parent::get_value( $id ) ) );
2020
}
2121

2222
function get_raw_value( $post_id ) {

classes/Helper/Html.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function link( $url, $label = null, $attributes = [] ) {
5151
}
5252

5353
if ( null === $label ) {
54-
$label = $url;
54+
$label = urldecode( $url );
5555
}
5656

5757
if ( ! $label ) {
@@ -225,7 +225,7 @@ public function get_internal_external_links( $string, $internal_domains = [] ) {
225225
$external_links = [];
226226

227227
$dom = new DOMDocument();
228-
$dom->loadHTML( $string );
228+
@$dom->loadHTML( $string );
229229

230230
$links = $dom->getElementsByTagName( 'a' );
231231

classes/ListScreen/Media.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ protected function register_column_types() {
7171
parent::register_column_types();
7272

7373
$this->register_column_types_from_dir( 'AC\Column\Media' );
74+
$this->register_column_type( new AC\Column\Post\TitleRaw );
7475
}
7576

7677
}

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: 4.2.2
4+
Version: 4.2.3
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', '4.2.2' );
39+
define( 'AC_VERSION', '4.2.3' );
4040

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

-73 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)