Version Description
- [Fixed] Page Order column is now available on all supported posttypes
- [Fixed] Time reading columns shows "-"" instead of zero when there is no content
Download this release
Release Info
Developer | codepress |
Plugin | Admin Columns |
Version | 2.4.6 |
Comparing to | |
See all releases |
Code changes from version 2.4.5 to 2.4.6
- classes/column.php +27 -1
- classes/column/custom-field.php +9 -6
- classes/column/post/date-published.php +0 -5
- classes/column/user/first-name.php +2 -2
- classes/settings.php +8 -6
- classes/storage_model.php +73 -60
- classes/storage_model/comment.php +1 -9
- classes/storage_model/media.php +1 -10
- classes/storage_model/post.php +23 -10
- classes/storage_model/user.php +1 -10
- classes/utility.php +13 -0
- codepress-admin-columns.php +2 -2
- languages/cpac.mo +0 -0
- languages/cpac.po +140 -142
- readme.txt +7 -3
classes/column.php
CHANGED
@@ -489,7 +489,7 @@ class CPAC_Column {
|
|
489 |
/**
|
490 |
* @since 1.3
|
491 |
*/
|
492 |
-
|
493 |
return trim( strip_tags( $string ) );
|
494 |
}
|
495 |
|
@@ -1180,6 +1180,32 @@ class CPAC_Column {
|
|
1180 |
<?php
|
1181 |
}
|
1182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1183 |
/**
|
1184 |
* @since 2.0
|
1185 |
* @param array Column Objects
|
489 |
/**
|
490 |
* @since 1.3
|
491 |
*/
|
492 |
+
public function strip_trim( $string ) {
|
493 |
return trim( strip_tags( $string ) );
|
494 |
}
|
495 |
|
1180 |
<?php
|
1181 |
}
|
1182 |
|
1183 |
+
/**
|
1184 |
+
* @since NEWVERSION
|
1185 |
+
*
|
1186 |
+
* @param string $name Name of the column option
|
1187 |
+
* @return string $label Label
|
1188 |
+
* @return array $options Select options
|
1189 |
+
* @return strong $description (optional) Description below the label
|
1190 |
+
*/
|
1191 |
+
public function display_field_radio( $name, $label, $options = array(), $description = '' ) {
|
1192 |
+
$current = $this->get_option( $name );
|
1193 |
+
?>
|
1194 |
+
<tr class="column-<?php echo $name; ?>">
|
1195 |
+
<?php $this->label_view( $label, $description, $name ); ?>
|
1196 |
+
<td class="input">
|
1197 |
+
<?php foreach ( $options as $key => $label ) : ?>
|
1198 |
+
<label>
|
1199 |
+
<input type="radio" name="<?php $this->attr_name( $name ); ?>" id="<?php $this->attr_id( $name . '-' . $key ); ?>" value="<?php echo $key; ?>"<?php checked( $key, $current ); ?>>
|
1200 |
+
<?php echo $label; ?>
|
1201 |
+
</label>
|
1202 |
+
<?php endforeach; ?>
|
1203 |
+
</select>
|
1204 |
+
</td>
|
1205 |
+
</tr>
|
1206 |
+
<?php
|
1207 |
+
}
|
1208 |
+
|
1209 |
/**
|
1210 |
* @since 2.0
|
1211 |
* @param array Column Objects
|
classes/column/custom-field.php
CHANGED
@@ -375,20 +375,23 @@ class CPAC_Column_Custom_Field extends CPAC_Column {
|
|
375 |
return $value;
|
376 |
}
|
377 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
378 |
/**
|
379 |
* @see CPAC_Column::display_settings()
|
380 |
* @since 1.0
|
381 |
*/
|
382 |
-
public function display_settings() {
|
383 |
-
|
384 |
-
$show_hidden_meta = true;
|
385 |
-
?>
|
386 |
-
|
387 |
<tr class="column_field">
|
388 |
<?php $this->label_view( __( "Custom Field", 'cpac' ), __( "Select your custom field.", 'cpac' ), 'field' ); ?>
|
389 |
<td class="input">
|
390 |
|
391 |
-
<?php if ( $meta_keys = $this->
|
392 |
<select name="<?php $this->attr_name( 'field' ); ?>" id="<?php $this->attr_id( 'field' ); ?>">
|
393 |
<?php foreach ( $meta_keys as $field ) : ?>
|
394 |
<option value="<?php echo $field ?>"<?php selected( $field, $this->options->field ) ?>><?php echo substr( $field, 0, 10 ) == "cpachidden" ? str_replace( 'cpachidden', '', $field ) : $field; ?></option>
|
375 |
return $value;
|
376 |
}
|
377 |
|
378 |
+
/**
|
379 |
+
* @since NEWVERSION
|
380 |
+
*/
|
381 |
+
public function get_meta_keys() {
|
382 |
+
return $this->storage_model->get_meta_keys();
|
383 |
+
}
|
384 |
+
|
385 |
/**
|
386 |
* @see CPAC_Column::display_settings()
|
387 |
* @since 1.0
|
388 |
*/
|
389 |
+
public function display_settings() { ?>
|
|
|
|
|
|
|
|
|
390 |
<tr class="column_field">
|
391 |
<?php $this->label_view( __( "Custom Field", 'cpac' ), __( "Select your custom field.", 'cpac' ), 'field' ); ?>
|
392 |
<td class="input">
|
393 |
|
394 |
+
<?php if ( $meta_keys = $this->get_meta_keys() ) : ?>
|
395 |
<select name="<?php $this->attr_name( 'field' ); ?>" id="<?php $this->attr_id( 'field' ); ?>">
|
396 |
<?php foreach ( $meta_keys as $field ) : ?>
|
397 |
<option value="<?php echo $field ?>"<?php selected( $field, $this->options->field ) ?>><?php echo substr( $field, 0, 10 ) == "cpachidden" ? str_replace( 'cpachidden', '', $field ) : $field; ?></option>
|
classes/column/post/date-published.php
CHANGED
@@ -40,9 +40,7 @@ class CPAC_Column_Post_Date_Published extends CPAC_Column {
|
|
40 |
* @since 2.4
|
41 |
*/
|
42 |
public function get_raw_value( $post_id ) {
|
43 |
-
|
44 |
$post = get_post( $post_id );
|
45 |
-
|
46 |
return $post->post_date;
|
47 |
}
|
48 |
|
@@ -51,10 +49,7 @@ class CPAC_Column_Post_Date_Published extends CPAC_Column {
|
|
51 |
* @since 2.4
|
52 |
*/
|
53 |
public function display_settings() {
|
54 |
-
|
55 |
parent::display_settings();
|
56 |
-
|
57 |
$this->display_field_date_format();
|
58 |
}
|
59 |
-
|
60 |
}
|
40 |
* @since 2.4
|
41 |
*/
|
42 |
public function get_raw_value( $post_id ) {
|
|
|
43 |
$post = get_post( $post_id );
|
|
|
44 |
return $post->post_date;
|
45 |
}
|
46 |
|
49 |
* @since 2.4
|
50 |
*/
|
51 |
public function display_settings() {
|
|
|
52 |
parent::display_settings();
|
|
|
53 |
$this->display_field_date_format();
|
54 |
}
|
|
|
55 |
}
|
classes/column/user/first-name.php
CHANGED
@@ -23,7 +23,7 @@ class CPAC_Column_User_First_Name extends CPAC_Column {
|
|
23 |
* @see CPAC_Column::get_value()
|
24 |
* @since 2.0
|
25 |
*/
|
26 |
-
function get_value( $user_id ) {
|
27 |
|
28 |
return $this->get_raw_value( $user_id );
|
29 |
}
|
@@ -32,7 +32,7 @@ class CPAC_Column_User_First_Name extends CPAC_Column {
|
|
32 |
* @see CPAC_Column::get_raw_value()
|
33 |
* @since 2.0.3
|
34 |
*/
|
35 |
-
function get_raw_value( $user_id ) {
|
36 |
|
37 |
$userdata = get_userdata( $user_id );
|
38 |
|
23 |
* @see CPAC_Column::get_value()
|
24 |
* @since 2.0
|
25 |
*/
|
26 |
+
public function get_value( $user_id ) {
|
27 |
|
28 |
return $this->get_raw_value( $user_id );
|
29 |
}
|
32 |
* @see CPAC_Column::get_raw_value()
|
33 |
* @since 2.0.3
|
34 |
*/
|
35 |
+
public function get_raw_value( $user_id ) {
|
36 |
|
37 |
$userdata = get_userdata( $user_id );
|
38 |
|
classes/settings.php
CHANGED
@@ -239,16 +239,18 @@ class CPAC_Settings {
|
|
239 |
switch ( $action ) :
|
240 |
|
241 |
case 'update_by_type' :
|
242 |
-
if ( wp_verify_nonce( $nonce, 'update-type' ) ) {
|
243 |
-
$storage_model = $this->cpac->get_storage_model( $key )
|
244 |
-
|
|
|
245 |
}
|
246 |
break;
|
247 |
|
248 |
case 'restore_by_type' :
|
249 |
-
if ( wp_verify_nonce( $nonce, 'restore-type' ) ) {
|
250 |
-
$storage_model = $this->cpac->get_storage_model( $key )
|
251 |
-
|
|
|
252 |
}
|
253 |
break;
|
254 |
|
239 |
switch ( $action ) :
|
240 |
|
241 |
case 'update_by_type' :
|
242 |
+
if ( wp_verify_nonce( $nonce, 'update-type' ) && $key ) {
|
243 |
+
if ( $storage_model = $this->cpac->get_storage_model( $key ) ) {
|
244 |
+
$storage_model->store();
|
245 |
+
}
|
246 |
}
|
247 |
break;
|
248 |
|
249 |
case 'restore_by_type' :
|
250 |
+
if ( wp_verify_nonce( $nonce, 'restore-type' ) && $key ) {
|
251 |
+
if ( $storage_model = $this->cpac->get_storage_model( $key ) ) {
|
252 |
+
$storage_model->restore();
|
253 |
+
}
|
254 |
}
|
255 |
break;
|
256 |
|
classes/storage_model.php
CHANGED
@@ -152,33 +152,46 @@ abstract class CPAC_Storage_Model {
|
|
152 |
}
|
153 |
|
154 |
/**
|
155 |
-
* @since
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
global $wpdb;
|
160 |
|
161 |
-
|
|
|
162 |
|
163 |
-
|
|
|
|
|
|
|
164 |
|
165 |
-
|
166 |
-
$
|
|
|
|
|
167 |
}
|
|
|
|
|
168 |
|
169 |
-
|
170 |
-
|
|
|
|
|
|
|
171 |
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
|
|
|
|
|
|
176 |
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
}
|
183 |
|
184 |
/**
|
@@ -199,7 +212,7 @@ abstract class CPAC_Storage_Model {
|
|
199 |
* @see Filter cac/storage_model/meta_keys
|
200 |
*/
|
201 |
return apply_filters( "cac/storage_model/meta_keys/storage_key={$this->key}", $keys, $this );
|
202 |
-
|
203 |
|
204 |
/**
|
205 |
* @since 2.0
|
@@ -330,8 +343,8 @@ abstract class CPAC_Storage_Model {
|
|
330 |
|
331 |
// only allow php files, exclude .SVN .DS_STORE and such
|
332 |
if ( substr( $leaf->getFilename(), -4 ) !== '.php' ) {
|
333 |
-
|
334 |
-
|
335 |
|
336 |
// build classname from filename
|
337 |
$class_name = 'CPAC_Column_' . ucfirst( $this->type ) . '_' . implode( '_', array_map( 'ucfirst', explode( '-', basename( $leaf->getFilename(), '.php' ) ) ) );
|
@@ -845,7 +858,7 @@ abstract class CPAC_Storage_Model {
|
|
845 |
* Mark your admin columns ajax request with plugin_id : 'cpac'.
|
846 |
*
|
847 |
* @since 2.0.5
|
848 |
-
|
849 |
*/
|
850 |
public function is_doing_ajax() {
|
851 |
|
@@ -855,8 +868,8 @@ abstract class CPAC_Storage_Model {
|
|
855 |
/**
|
856 |
* @since 2.0.3
|
857 |
* @global string $pagenow
|
858 |
-
|
859 |
-
|
860 |
*/
|
861 |
public function is_columns_screen() {
|
862 |
|
@@ -892,40 +905,40 @@ abstract class CPAC_Storage_Model {
|
|
892 |
return true;
|
893 |
}
|
894 |
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
923 |
-
|
924 |
-
|
925 |
-
|
926 |
-
|
927 |
-
|
928 |
-
|
929 |
* @since 2.4.2
|
930 |
*/
|
931 |
public function is_cache_enabled() {
|
152 |
}
|
153 |
|
154 |
/**
|
155 |
+
* @since NEWVERSION
|
156 |
+
*/
|
157 |
+
public function format_meta_keys( $keys ) {
|
158 |
+
$add_hidden_meta = true; // always true @todo
|
|
|
159 |
|
160 |
+
$formatted_keys = array();
|
161 |
+
foreach ( $keys as $key ) {
|
162 |
|
163 |
+
// give hidden keys a prefix for identifaction
|
164 |
+
if ( $add_hidden_meta && "_" == substr( $key[0], 0, 1 ) ) {
|
165 |
+
$formatted_keys[] = 'cpachidden' . $key[0];
|
166 |
+
}
|
167 |
|
168 |
+
// non hidden keys are saved as is
|
169 |
+
elseif ( "_" != substr( $key[0], 0, 1 ) ) {
|
170 |
+
$formatted_keys[] = $key[0];
|
171 |
+
}
|
172 |
}
|
173 |
+
return $formatted_keys;
|
174 |
+
}
|
175 |
|
176 |
+
/**
|
177 |
+
* @since 2.0
|
178 |
+
* @return array
|
179 |
+
*/
|
180 |
+
public function get_meta_keys() {
|
181 |
|
182 |
+
if ( $cache = wp_cache_get( $this->key, 'cac_columns' ) ) {
|
183 |
+
$keys = $cache;
|
184 |
+
}
|
185 |
+
else {
|
186 |
+
$keys = $this->get_meta();
|
187 |
+
wp_cache_add( $this->key, $keys, 'cac_columns', 10 ); // 10 sec.
|
188 |
+
}
|
189 |
|
190 |
+
if ( is_wp_error( $keys ) || empty( $keys ) ) {
|
191 |
+
$keys = false;
|
192 |
+
}
|
193 |
+
else {
|
194 |
+
$keys = $this->format_meta_keys( $keys );
|
195 |
}
|
196 |
|
197 |
/**
|
212 |
* @see Filter cac/storage_model/meta_keys
|
213 |
*/
|
214 |
return apply_filters( "cac/storage_model/meta_keys/storage_key={$this->key}", $keys, $this );
|
215 |
+
}
|
216 |
|
217 |
/**
|
218 |
* @since 2.0
|
343 |
|
344 |
// only allow php files, exclude .SVN .DS_STORE and such
|
345 |
if ( substr( $leaf->getFilename(), -4 ) !== '.php' ) {
|
346 |
+
continue;
|
347 |
+
}
|
348 |
|
349 |
// build classname from filename
|
350 |
$class_name = 'CPAC_Column_' . ucfirst( $this->type ) . '_' . implode( '_', array_map( 'ucfirst', explode( '-', basename( $leaf->getFilename(), '.php' ) ) ) );
|
858 |
* Mark your admin columns ajax request with plugin_id : 'cpac'.
|
859 |
*
|
860 |
* @since 2.0.5
|
861 |
+
* @return boolean
|
862 |
*/
|
863 |
public function is_doing_ajax() {
|
864 |
|
868 |
/**
|
869 |
* @since 2.0.3
|
870 |
* @global string $pagenow
|
871 |
+
* @global object $current_screen
|
872 |
+
* @return boolean
|
873 |
*/
|
874 |
public function is_columns_screen() {
|
875 |
|
905 |
return true;
|
906 |
}
|
907 |
|
908 |
+
/**
|
909 |
+
* Checks if the current page is the settings page
|
910 |
+
*
|
911 |
+
* @since 2.0.2
|
912 |
+
* @global string $pagenow
|
913 |
+
* @global string $plugin_page
|
914 |
+
* @return boolean
|
915 |
+
*/
|
916 |
+
public function is_settings_page() {
|
917 |
+
global $pagenow, $plugin_page;
|
918 |
+
|
919 |
+
return 'options-general.php' == $pagenow && ! empty( $plugin_page ) && 'codepress-admin-columns' == $plugin_page;
|
920 |
+
}
|
921 |
+
|
922 |
+
/**
|
923 |
+
* @since 2.3.2
|
924 |
+
*/
|
925 |
+
public function delete_general_option() {
|
926 |
+
delete_option( 'cpac_general_options' );
|
927 |
+
}
|
928 |
+
|
929 |
+
/**
|
930 |
+
* @since 2.1.1
|
931 |
+
*/
|
932 |
+
public function get_general_option( $option ) {
|
933 |
+
$options = get_option( 'cpac_general_options' );
|
934 |
+
|
935 |
+
if ( ! isset( $options[ $option ] ) )
|
936 |
+
return false;
|
937 |
+
|
938 |
+
return $options[ $option ];
|
939 |
+
}
|
940 |
+
|
941 |
+
/**
|
942 |
* @since 2.4.2
|
943 |
*/
|
944 |
public function is_cache_enabled() {
|
classes/storage_model/comment.php
CHANGED
@@ -86,15 +86,7 @@ class CPAC_Storage_Model_Comment extends CPAC_Storage_Model {
|
|
86 |
*/
|
87 |
public function get_meta() {
|
88 |
global $wpdb;
|
89 |
-
|
90 |
-
if ( $cache = wp_cache_get( $this->key, 'cac_columns' ) ) {
|
91 |
-
$result = $cache;
|
92 |
-
}
|
93 |
-
else {
|
94 |
-
$result = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->commentmeta} ORDER BY 1", ARRAY_N );
|
95 |
-
wp_cache_add( $this->key, $result, 'cac_columns', 10 ); // 10 sec.
|
96 |
-
}
|
97 |
-
return $result;
|
98 |
}
|
99 |
|
100 |
/**
|
86 |
*/
|
87 |
public function get_meta() {
|
88 |
global $wpdb;
|
89 |
+
return $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->commentmeta} ORDER BY 1", ARRAY_N );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
90 |
}
|
91 |
|
92 |
/**
|
classes/storage_model/media.php
CHANGED
@@ -74,16 +74,7 @@ class CPAC_Storage_Model_Media extends CPAC_Storage_Model {
|
|
74 |
*/
|
75 |
public function get_meta() {
|
76 |
global $wpdb;
|
77 |
-
|
78 |
-
if ( $cache = wp_cache_get( $this->key, 'cac_columns' ) ) {
|
79 |
-
$result = $cache;
|
80 |
-
}
|
81 |
-
else {
|
82 |
-
$result = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = 'attachment' ORDER BY 1", ARRAY_N );
|
83 |
-
wp_cache_add( $this->key, $result, 'cac_columns', 10 ); // 10 sec.
|
84 |
-
}
|
85 |
-
|
86 |
-
return $result;
|
87 |
}
|
88 |
|
89 |
/**
|
74 |
*/
|
75 |
public function get_meta() {
|
76 |
global $wpdb;
|
77 |
+
return $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = 'attachment' ORDER BY 1", ARRAY_N );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
}
|
79 |
|
80 |
/**
|
classes/storage_model/post.php
CHANGED
@@ -53,6 +53,28 @@ class CPAC_Storage_Model_Post extends CPAC_Storage_Model {
|
|
53 |
return $this->post_type;
|
54 |
}
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
/**
|
57 |
* Set posttype
|
58 |
*
|
@@ -188,16 +210,7 @@ class CPAC_Storage_Model_Post extends CPAC_Storage_Model {
|
|
188 |
*/
|
189 |
public function get_meta() {
|
190 |
global $wpdb;
|
191 |
-
|
192 |
-
if ( $cache = wp_cache_get( $this->key, 'cac_columns' ) ) {
|
193 |
-
$result = $cache;
|
194 |
-
}
|
195 |
-
else {
|
196 |
-
$result = $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = %s ORDER BY 1", $this->key ), ARRAY_N );
|
197 |
-
wp_cache_add( $this->key, $result, 'cac_columns', 10 ); // 10 sec.
|
198 |
-
}
|
199 |
-
|
200 |
-
return $result;
|
201 |
}
|
202 |
|
203 |
/**
|
53 |
return $this->post_type;
|
54 |
}
|
55 |
|
56 |
+
/**
|
57 |
+
* Get post ID's
|
58 |
+
*
|
59 |
+
* @since NEWVERSION
|
60 |
+
*
|
61 |
+
* @param array $args
|
62 |
+
* @return array Posts
|
63 |
+
*/
|
64 |
+
public function get_posts( $args = array() ) {
|
65 |
+
$defaults = array(
|
66 |
+
'numberposts' => -1,
|
67 |
+
'post_status' => array( 'any', 'trash' ),
|
68 |
+
'post_type' => $this->post_type,
|
69 |
+
'fields' => 'ids',
|
70 |
+
'no_found_rows' => 1, // lowers our carbon footprint
|
71 |
+
);
|
72 |
+
|
73 |
+
$post_ids = (array) get_posts( array_merge( $defaults, $args ) );
|
74 |
+
|
75 |
+
return $post_ids;
|
76 |
+
}
|
77 |
+
|
78 |
/**
|
79 |
* Set posttype
|
80 |
*
|
210 |
*/
|
211 |
public function get_meta() {
|
212 |
global $wpdb;
|
213 |
+
return $wpdb->get_results( $wpdb->prepare( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} pm JOIN {$wpdb->posts} p ON pm.post_id = p.ID WHERE p.post_type = %s ORDER BY 1", $this->key ), ARRAY_N );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
214 |
}
|
215 |
|
216 |
/**
|
classes/storage_model/user.php
CHANGED
@@ -117,15 +117,6 @@ class CPAC_Storage_Model_User extends CPAC_Storage_Model {
|
|
117 |
*/
|
118 |
public function get_meta() {
|
119 |
global $wpdb;
|
120 |
-
|
121 |
-
if ( $cache = wp_cache_get( $this->key, 'cac_columns' ) ) {
|
122 |
-
$result = $cache;
|
123 |
-
}
|
124 |
-
else {
|
125 |
-
$result = $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->usermeta} ORDER BY 1", ARRAY_N );
|
126 |
-
wp_cache_add( $this->key, $result, 'cac_columns', 10 ); // 10 sec.
|
127 |
-
}
|
128 |
-
|
129 |
-
return $result;
|
130 |
}
|
131 |
}
|
117 |
*/
|
118 |
public function get_meta() {
|
119 |
global $wpdb;
|
120 |
+
return $wpdb->get_results( "SELECT DISTINCT meta_key FROM {$wpdb->usermeta} ORDER BY 1", ARRAY_N );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
}
|
122 |
}
|
classes/utility.php
CHANGED
@@ -67,4 +67,17 @@ function cac_is_doing_ajax() {
|
|
67 |
function cpac_is_wc_version_gte( $version = '1.0' ) {
|
68 |
$wc_version = defined( 'WC_VERSION' ) && WC_VERSION ? WC_VERSION : null;
|
69 |
return $wc_version && version_compare( $wc_version, $version, '>=' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
}
|
67 |
function cpac_is_wc_version_gte( $version = '1.0' ) {
|
68 |
$wc_version = defined( 'WC_VERSION' ) && WC_VERSION ? WC_VERSION : null;
|
69 |
return $wc_version && version_compare( $wc_version, $version, '>=' );
|
70 |
+
}
|
71 |
+
|
72 |
+
function cpac_get_ids_from_array( $array ) {
|
73 |
+
$array = trim( str_replace( ' ','', $array ) );
|
74 |
+
$ids = array();
|
75 |
+
if ( strpos( $array, ',' ) !== false ) {
|
76 |
+
$ids = explode( ',', $array );
|
77 |
+
$ids = array_map( 'intval', $ids );
|
78 |
+
}
|
79 |
+
elseif ( is_numeric( $array ) ) {
|
80 |
+
$ids[] = $array;
|
81 |
+
}
|
82 |
+
return $ids;
|
83 |
}
|
codepress-admin-columns.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Admin Columns
|
4 |
-
Version: 2.4.
|
5 |
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.
|
6 |
Author: AdminColumns.com
|
7 |
Author URI: http://www.admincolumns.com
|
@@ -32,7 +32,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
32 |
}
|
33 |
|
34 |
// Plugin information
|
35 |
-
define( 'CPAC_VERSION', '2.4.
|
36 |
define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
|
37 |
define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
|
38 |
define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Admin Columns
|
4 |
+
Version: 2.4.6
|
5 |
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.
|
6 |
Author: AdminColumns.com
|
7 |
Author URI: http://www.admincolumns.com
|
32 |
}
|
33 |
|
34 |
// Plugin information
|
35 |
+
define( 'CPAC_VERSION', '2.4.6' ); // Current plugin version
|
36 |
define( 'CPAC_UPGRADE_VERSION', '2.0.0' ); // Latest version which requires an upgrade
|
37 |
define( 'CPAC_URL', plugin_dir_url( __FILE__ ) );
|
38 |
define( 'CPAC_DIR', plugin_dir_path( __FILE__ ) );
|
languages/cpac.mo
CHANGED
Binary file
|
languages/cpac.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Admin Columns\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2015-
|
6 |
-
"PO-Revision-Date: 2015-
|
7 |
"Last-Translator: Codepress <info@codepress.nl>\n"
|
8 |
"Language-Team: Admin Columns <info@admincolumns.com>\n"
|
9 |
"Language: en_GB\n"
|
@@ -15,7 +15,7 @@ msgstr ""
|
|
15 |
"esc_html_x:1,2c\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
-
"X-Generator: Poedit 1.8.
|
19 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPath-1: ..\n"
|
@@ -101,11 +101,11 @@ msgstr ""
|
|
101 |
msgid "Preview size"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#: ../classes/column.php:1101 ../classes/storage_model.php:
|
105 |
msgid "Custom"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#: ../classes/column.php:1104 ../classes/column.php:
|
109 |
msgid "width"
|
110 |
msgstr ""
|
111 |
|
@@ -169,48 +169,48 @@ msgstr ""
|
|
169 |
msgid "This is the format of the author name."
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../classes/column.php:
|
173 |
msgid "Edit"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: ../classes/column.php:
|
177 |
msgid "Clone"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: ../classes/column.php:
|
181 |
msgid "Remove"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: ../classes/column.php:
|
185 |
-
#: ../classes/column/custom-field.php:
|
186 |
msgid "Type"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: ../classes/column.php:
|
190 |
msgid "Choose a column type."
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: ../classes/column.php:
|
194 |
msgid "Name"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: ../classes/column.php:
|
198 |
msgid "Label"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: ../classes/column.php:
|
202 |
msgid "This is the name which will appear as the column header."
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: ../classes/column.php:
|
206 |
msgid "Width"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: ../classes/column.php:
|
210 |
msgid "default"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: ../classes/column.php:
|
214 |
msgid "auto"
|
215 |
msgstr ""
|
216 |
|
@@ -312,7 +312,7 @@ msgid "Submitted on <a href=\"%1$s\">%2$s at %3$s</a>"
|
|
312 |
msgstr ""
|
313 |
|
314 |
#: ../classes/column/comment/date.php:19 ../classes/column/custom-field.php:99
|
315 |
-
#: ../classes/settings.php:
|
316 |
msgid "Date"
|
317 |
msgstr ""
|
318 |
|
@@ -334,14 +334,13 @@ msgstr ""
|
|
334 |
msgid "Word count"
|
335 |
msgstr ""
|
336 |
|
337 |
-
#: ../classes/column/custom-field.php:23
|
338 |
-
#: ../classes/
|
339 |
-
#: ../classes/storage_model.php:619
|
340 |
msgid "Custom Field"
|
341 |
msgstr ""
|
342 |
|
343 |
-
#: ../classes/column/custom-field.php:95 ../classes/settings.php:
|
344 |
-
#: ../classes/storage_model.php:
|
345 |
msgid "Default"
|
346 |
msgstr ""
|
347 |
|
@@ -349,34 +348,33 @@ msgstr ""
|
|
349 |
msgid "Checkmark (true/false)"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: ../classes/column/custom-field.php:97 ../classes/settings.php:
|
353 |
msgid "Color"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: ../classes/column/custom-field.php:98 ../classes/settings.php:
|
357 |
msgid "Counter"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: ../classes/column/custom-field.php:100
|
361 |
-
#: ../classes/
|
362 |
msgid "Excerpt"
|
363 |
msgstr ""
|
364 |
|
365 |
#: ../classes/column/custom-field.php:101 ../classes/column/link/image.php:19
|
366 |
-
#: ../classes/settings.php:
|
367 |
msgid "Image"
|
368 |
msgstr ""
|
369 |
|
370 |
-
#: ../classes/column/custom-field.php:102
|
371 |
-
#: ../classes/storage_model/media.php:13
|
372 |
msgid "Media Library"
|
373 |
msgstr ""
|
374 |
|
375 |
-
#: ../classes/column/custom-field.php:103 ../classes/settings.php:
|
376 |
msgid "Multiple Values"
|
377 |
msgstr ""
|
378 |
|
379 |
-
#: ../classes/column/custom-field.php:104 ../classes/settings.php:
|
380 |
msgid "Numeric"
|
381 |
msgstr ""
|
382 |
|
@@ -392,24 +390,24 @@ msgstr ""
|
|
392 |
msgid "Term Name (Term ID's)"
|
393 |
msgstr ""
|
394 |
|
395 |
-
#: ../classes/column/custom-field.php:
|
396 |
msgid "Select your custom field."
|
397 |
msgstr ""
|
398 |
|
399 |
-
#: ../classes/column/custom-field.php:
|
400 |
msgid "No custom fields available."
|
401 |
msgstr ""
|
402 |
|
403 |
-
#: ../classes/column/custom-field.php:
|
404 |
#, php-format
|
405 |
msgid "Please create a %s item first."
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: ../classes/column/custom-field.php:
|
409 |
msgid "Field Type"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: ../classes/column/custom-field.php:
|
413 |
msgid "This will determine how the value will be displayed."
|
414 |
msgstr ""
|
415 |
|
@@ -598,23 +596,23 @@ msgstr ""
|
|
598 |
msgid "Estimated Reading Time"
|
599 |
msgstr ""
|
600 |
|
601 |
-
#: ../classes/column/post/estimated-reading-time.php:
|
602 |
msgid "second"
|
603 |
msgid_plural "seconds"
|
604 |
msgstr[0] ""
|
605 |
msgstr[1] ""
|
606 |
|
607 |
-
#: ../classes/column/post/estimated-reading-time.php:
|
608 |
msgid "minute"
|
609 |
msgid_plural "minutes"
|
610 |
msgstr[0] ""
|
611 |
msgstr[1] ""
|
612 |
|
613 |
-
#: ../classes/column/post/estimated-reading-time.php:
|
614 |
msgid "Words per minute"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#: ../classes/column/post/estimated-reading-time.php:
|
618 |
msgid "Estimated reading time in words per minute"
|
619 |
msgstr ""
|
620 |
|
@@ -743,7 +741,7 @@ msgid "Url"
|
|
743 |
msgstr ""
|
744 |
|
745 |
#: ../classes/review_notice.php:55 ../classes/settings.php:170
|
746 |
-
#: ../classes/settings.php:
|
747 |
msgid "Admin Columns"
|
748 |
msgstr ""
|
749 |
|
@@ -824,92 +822,92 @@ msgstr ""
|
|
824 |
msgid "%s column is already present and can not be duplicated."
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: ../classes/settings.php:
|
828 |
msgid "Default settings succesfully restored."
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: ../classes/settings.php:
|
832 |
msgid "Overview"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: ../classes/settings.php:
|
836 |
msgid ""
|
837 |
"This plugin is for adding and removing additional columns to the "
|
838 |
"administration screens for post(types), pages, media library, comments, "
|
839 |
"links and users. Change the column's label and reorder them."
|
840 |
msgstr ""
|
841 |
|
842 |
-
#: ../classes/settings.php:
|
843 |
msgid "Basics"
|
844 |
msgstr ""
|
845 |
|
846 |
-
#: ../classes/settings.php:
|
847 |
msgid "Change order"
|
848 |
msgstr ""
|
849 |
|
850 |
-
#: ../classes/settings.php:
|
851 |
msgid ""
|
852 |
"By dragging the columns you can change the order which they will appear in."
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: ../classes/settings.php:
|
856 |
msgid "Change label"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: ../classes/settings.php:
|
860 |
msgid ""
|
861 |
"By clicking on the triangle you will see the column options. Here you can "
|
862 |
"change each label of the columns heading."
|
863 |
msgstr ""
|
864 |
|
865 |
-
#: ../classes/settings.php:
|
866 |
msgid "Change column width"
|
867 |
msgstr ""
|
868 |
|
869 |
-
#: ../classes/settings.php:
|
870 |
msgid ""
|
871 |
"By clicking on the triangle you will see the column options. By using the "
|
872 |
"draggable slider you can set the width of the columns in percentages."
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: ../classes/settings.php:
|
876 |
msgid "'Custom Field' column"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: ../classes/settings.php:
|
880 |
msgid ""
|
881 |
"The custom field colum uses the custom fields from posts and users. There "
|
882 |
"are 10 types which you can set."
|
883 |
msgstr ""
|
884 |
|
885 |
-
#: ../classes/settings.php:
|
886 |
msgid ""
|
887 |
"Value: Can be either a string or array. Arrays will be flattened and values "
|
888 |
"are seperated by a ',' comma."
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: ../classes/settings.php:
|
892 |
msgid ""
|
893 |
"Value: should contain an image URL or Attachment IDs ( seperated by a ',' "
|
894 |
"comma )."
|
895 |
msgstr ""
|
896 |
|
897 |
-
#: ../classes/settings.php:
|
898 |
msgid "Value: This will show the first 20 words of the Post content."
|
899 |
msgstr ""
|
900 |
|
901 |
-
#: ../classes/settings.php:
|
902 |
msgid ""
|
903 |
"Value: should be an array. This will flatten any ( multi dimensional ) array."
|
904 |
msgstr ""
|
905 |
|
906 |
-
#: ../classes/settings.php:
|
907 |
msgid ""
|
908 |
"Value: Integers only.<br/>If you have the 'sorting addon' this will be used "
|
909 |
"for sorting, so you can sort your posts on numeric (custom field) values."
|
910 |
msgstr ""
|
911 |
|
912 |
-
#: ../classes/settings.php:
|
913 |
#, php-format
|
914 |
msgid ""
|
915 |
"Value: Can be unix time stamp or a date format as described in the <a "
|
@@ -917,364 +915,364 @@ msgid ""
|
|
917 |
"href='%s'>general settings</a> page."
|
918 |
msgstr ""
|
919 |
|
920 |
-
#: ../classes/settings.php:
|
921 |
msgid "Post Titles"
|
922 |
msgstr ""
|
923 |
|
924 |
-
#: ../classes/settings.php:
|
925 |
msgid "Value: can be one or more Post ID's (seperated by ',')."
|
926 |
msgstr ""
|
927 |
|
928 |
-
#: ../classes/settings.php:
|
929 |
msgid "Usernames"
|
930 |
msgstr ""
|
931 |
|
932 |
-
#: ../classes/settings.php:
|
933 |
msgid "Value: can be one or more User ID's (seperated by ',')."
|
934 |
msgstr ""
|
935 |
|
936 |
-
#: ../classes/settings.php:
|
937 |
msgid "Checkmark"
|
938 |
msgstr ""
|
939 |
|
940 |
-
#: ../classes/settings.php:
|
941 |
msgid "Value: should be a 1 (one) or 0 (zero)."
|
942 |
msgstr ""
|
943 |
|
944 |
-
#: ../classes/settings.php:
|
945 |
msgid "Value: hex value color, such as #808080."
|
946 |
msgstr ""
|
947 |
|
948 |
-
#: ../classes/settings.php:
|
949 |
msgid ""
|
950 |
"Value: Can be either a string or array. This will display a count of the "
|
951 |
"number of times the meta key is used by the item."
|
952 |
msgstr ""
|
953 |
|
954 |
-
#: ../classes/settings.php:
|
955 |
msgid "Welcome to Admin Columns"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#: ../classes/settings.php:
|
959 |
msgid "Thank you for updating to the latest version!"
|
960 |
msgstr ""
|
961 |
|
962 |
-
#: ../classes/settings.php:
|
963 |
msgid ""
|
964 |
"Admin Columns is more polished and enjoyable than ever before. We hope you "
|
965 |
"like it."
|
966 |
msgstr ""
|
967 |
|
968 |
-
#: ../classes/settings.php:
|
969 |
msgid "What’s New"
|
970 |
msgstr ""
|
971 |
|
972 |
-
#: ../classes/settings.php:
|
973 |
msgid "Changelog"
|
974 |
msgstr ""
|
975 |
|
976 |
-
#: ../classes/settings.php:
|
977 |
msgid "Important"
|
978 |
msgstr ""
|
979 |
|
980 |
-
#: ../classes/settings.php:
|
981 |
msgid "Database Changes"
|
982 |
msgstr ""
|
983 |
|
984 |
-
#: ../classes/settings.php:
|
985 |
msgid ""
|
986 |
"The database has been changed between versions 1 and 2. But we made sure you "
|
987 |
"can still roll back to version 1x without any issues."
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: ../classes/settings.php:
|
991 |
msgid "Make sure you backup your database and then click"
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: ../classes/settings.php:
|
995 |
msgid "Upgrade Database"
|
996 |
msgstr ""
|
997 |
|
998 |
-
#: ../classes/settings.php:
|
999 |
msgid "Potential Issues"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
-
#: ../classes/settings.php:
|
1003 |
msgid ""
|
1004 |
"Do to the sizable refactoring the code, surounding Addons and action/"
|
1005 |
"filters, your website may not operate correctly. It is important that you "
|
1006 |
"read the full"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: ../classes/settings.php:
|
1010 |
msgid "Migrating from v1 to v2"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
-
#: ../classes/settings.php:
|
1014 |
msgid "guide to view the full list of changes."
|
1015 |
msgstr ""
|
1016 |
|
1017 |
-
#: ../classes/settings.php:
|
1018 |
#, php-format
|
1019 |
msgid ""
|
1020 |
"When you have found a bug please <a href=\"%s\">report them to us</a> so we "
|
1021 |
"can fix it in the next release."
|
1022 |
msgstr ""
|
1023 |
|
1024 |
-
#: ../classes/settings.php:
|
1025 |
msgid "Important!"
|
1026 |
msgstr ""
|
1027 |
|
1028 |
-
#: ../classes/settings.php:
|
1029 |
msgid ""
|
1030 |
"If you updated the Admin Columns plugin without prior knowledge of such "
|
1031 |
"changes, Please roll back to the latest"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: ../classes/settings.php:
|
1035 |
msgid "version 1"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: ../classes/settings.php:
|
1039 |
msgid "of this plugin."
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: ../classes/settings.php:
|
1043 |
msgid "Changelog for"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: ../classes/settings.php:
|
1047 |
msgid "Learn more"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: ../classes/settings.php:
|
1051 |
msgid "Start using Admin Columns"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: ../classes/settings.php:
|
1055 |
msgid "General Settings"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: ../classes/settings.php:
|
1059 |
msgid "Customize your Admin Columns settings."
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: ../classes/settings.php:
|
1063 |
msgid ""
|
1064 |
"Show \"Edit Columns\" button on admin screens. Default is <code>on</code>."
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#: ../classes/settings.php:
|
1068 |
msgid "Save"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#: ../classes/settings.php:
|
1072 |
msgid "Restore Settings"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#: ../classes/settings.php:
|
1076 |
msgid "This will delete all column settings and restore the default settings."
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#: ../classes/settings.php:
|
1080 |
msgid "Restore default settings"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#: ../classes/settings.php:
|
1084 |
msgid ""
|
1085 |
"Warning! ALL saved admin columns data will be deleted. This cannot be "
|
1086 |
"undone. \\'OK\\' to delete, \\'Cancel\\' to stop"
|
1087 |
msgstr ""
|
1088 |
|
1089 |
-
#: ../classes/settings.php:
|
1090 |
msgid "Posttypes"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
-
#: ../classes/settings.php:
|
1094 |
msgid "Others"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
-
#: ../classes/settings.php:
|
1098 |
msgid "Taxonomies"
|
1099 |
msgstr ""
|
1100 |
|
1101 |
-
#: ../classes/settings.php:
|
1102 |
msgid "Settings"
|
1103 |
msgstr ""
|
1104 |
|
1105 |
-
#: ../classes/settings.php:
|
1106 |
msgid "Add-ons"
|
1107 |
msgstr ""
|
1108 |
|
1109 |
-
#: ../classes/settings.php:
|
1110 |
#, php-format
|
1111 |
msgid ""
|
1112 |
"The columns for %s are set up via PHP and can therefore not be edited in the "
|
1113 |
"admin panel."
|
1114 |
msgstr ""
|
1115 |
|
1116 |
-
#: ../classes/settings.php:
|
1117 |
msgid "Store settings"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
-
#: ../classes/settings.php:
|
1121 |
msgid "Update"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
-
#: ../classes/settings.php:
|
1125 |
#, php-format
|
1126 |
msgid ""
|
1127 |
"Warning! The %s columns data will be deleted. This cannot be undone. \\'OK"
|
1128 |
"\\' to delete, \\'Cancel\\' to stop"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
-
#: ../classes/settings.php:
|
1132 |
msgid "Restore"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
-
#: ../classes/settings.php:
|
1136 |
msgid "columns"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
-
#: ../classes/settings.php:
|
1140 |
msgid "Get Admin Columns Pro"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
-
#: ../classes/settings.php:
|
1144 |
msgid "Add Sorting"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#: ../classes/settings.php:
|
1148 |
msgid "Add Filtering"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
-
#: ../classes/settings.php:
|
1152 |
msgid "Add Import/Export"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
-
#: ../classes/settings.php:
|
1156 |
msgid "Add Direct Editing"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
-
#: ../classes/settings.php:
|
1160 |
#, php-format
|
1161 |
msgid "Check out <a href=\"%s\">Admin Columns Pro</a> for more details!"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
-
#: ../classes/settings.php:
|
1165 |
msgid "Are you happy with Admin Columns?"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
-
#: ../classes/settings.php:
|
1169 |
msgid "What's wrong? Need help? Let us know!"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
-
#: ../classes/settings.php:
|
1173 |
msgid ""
|
1174 |
"Check out our extensive documentation, or you can open a support topic on "
|
1175 |
"WordPress.org!"
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#: ../classes/settings.php:
|
1179 |
msgid "Docs"
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: ../classes/settings.php:
|
1183 |
msgid "Forums"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: ../classes/settings.php:
|
1187 |
msgid "Woohoo! We're glad to hear that!"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: ../classes/settings.php:
|
1191 |
msgid ""
|
1192 |
"We would really love it if you could show your appreciation by giving us a "
|
1193 |
"rating on WordPress.org or tweet about Admin Columns!"
|
1194 |
msgstr ""
|
1195 |
|
1196 |
-
#: ../classes/settings.php:
|
1197 |
msgid "Rate"
|
1198 |
msgstr ""
|
1199 |
|
1200 |
-
#: ../classes/settings.php:
|
1201 |
msgid "Tweet"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
-
#: ../classes/settings.php:
|
1205 |
msgid "Buy Pro"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: ../classes/settings.php:
|
1209 |
msgid "Support"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: ../classes/settings.php:
|
1213 |
msgid "Check the <strong>Help</strong> section in the top-right screen."
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: ../classes/settings.php:
|
1217 |
#, php-format
|
1218 |
msgid ""
|
1219 |
"For full documentation, bug reports, feature suggestions and other tips <a "
|
1220 |
"href='%s'>visit the Admin Columns website</a>"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
-
#: ../classes/settings.php:
|
1224 |
msgid "Drag and drop to reorder"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
-
#: ../classes/settings.php:
|
1228 |
msgid "Add Column"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
-
#: ../classes/settings.php:
|
1232 |
msgid "Active"
|
1233 |
msgstr ""
|
1234 |
|
1235 |
-
#: ../classes/settings.php:
|
1236 |
msgid "Deactivate"
|
1237 |
msgstr ""
|
1238 |
|
1239 |
-
#: ../classes/settings.php:
|
1240 |
msgid "Installed"
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: ../classes/settings.php:
|
1244 |
msgid "Activate"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: ../classes/settings.php:
|
1248 |
msgid "Download & Install"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: ../classes/settings.php:
|
1252 |
msgid "Get this add-on"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: ../classes/storage_model.php:
|
1256 |
msgid "settings succesfully restored."
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: ../classes/storage_model.php:
|
1260 |
msgid "No columns settings available."
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: ../classes/storage_model.php:
|
1264 |
#, php-format
|
1265 |
msgid "You are trying to store the same settings for %s."
|
1266 |
msgstr ""
|
1267 |
|
1268 |
-
#: ../classes/storage_model.php:
|
1269 |
#, php-format
|
1270 |
msgid "Settings for %s updated successfully."
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#: ../classes/storage_model.php:
|
1274 |
msgid "Columns by Plugins"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#: ../classes/storage_model.php:
|
1278 |
msgid "View"
|
1279 |
msgstr ""
|
1280 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Admin Columns\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2015-08-13 14:12+0200\n"
|
6 |
+
"PO-Revision-Date: 2015-08-13 14:12+0200\n"
|
7 |
"Last-Translator: Codepress <info@codepress.nl>\n"
|
8 |
"Language-Team: Admin Columns <info@admincolumns.com>\n"
|
9 |
"Language: en_GB\n"
|
15 |
"esc_html_x:1,2c\n"
|
16 |
"X-Poedit-Basepath: .\n"
|
17 |
"X-Poedit-SourceCharset: UTF-8\n"
|
18 |
+
"X-Generator: Poedit 1.8.4\n"
|
19 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20 |
"X-Poedit-SearchPath-0: .\n"
|
21 |
"X-Poedit-SearchPath-1: ..\n"
|
101 |
msgid "Preview size"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: ../classes/column.php:1101 ../classes/storage_model.php:633
|
105 |
msgid "Custom"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: ../classes/column.php:1104 ../classes/column.php:1277
|
109 |
msgid "width"
|
110 |
msgstr ""
|
111 |
|
169 |
msgid "This is the format of the author name."
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: ../classes/column.php:1299
|
173 |
msgid "Edit"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: ../classes/column.php:1301 ../classes/column.php:1393
|
177 |
msgid "Clone"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: ../classes/column.php:1303 ../classes/column.php:1395
|
181 |
msgid "Remove"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: ../classes/column.php:1321 ../classes/column/comment/type.php:13
|
185 |
+
#: ../classes/column/custom-field.php:408
|
186 |
msgid "Type"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: ../classes/column.php:1321
|
190 |
msgid "Choose a column type."
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: ../classes/column.php:1321
|
194 |
msgid "Name"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: ../classes/column.php:1331
|
198 |
msgid "Label"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: ../classes/column.php:1331
|
202 |
msgid "This is the name which will appear as the column header."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: ../classes/column.php:1338 ../classes/column/media/width.php:19
|
206 |
msgid "Width"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: ../classes/column.php:1340
|
210 |
msgid "default"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: ../classes/column.php:1341
|
214 |
msgid "auto"
|
215 |
msgstr ""
|
216 |
|
312 |
msgstr ""
|
313 |
|
314 |
#: ../classes/column/comment/date.php:19 ../classes/column/custom-field.php:99
|
315 |
+
#: ../classes/settings.php:320
|
316 |
msgid "Date"
|
317 |
msgstr ""
|
318 |
|
334 |
msgid "Word count"
|
335 |
msgstr ""
|
336 |
|
337 |
+
#: ../classes/column/custom-field.php:23 ../classes/column/custom-field.php:391
|
338 |
+
#: ../classes/settings.php:310 ../classes/storage_model.php:632
|
|
|
339 |
msgid "Custom Field"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: ../classes/column/custom-field.php:95 ../classes/settings.php:315
|
343 |
+
#: ../classes/storage_model.php:631
|
344 |
msgid "Default"
|
345 |
msgstr ""
|
346 |
|
348 |
msgid "Checkmark (true/false)"
|
349 |
msgstr ""
|
350 |
|
351 |
+
#: ../classes/column/custom-field.php:97 ../classes/settings.php:324
|
352 |
msgid "Color"
|
353 |
msgstr ""
|
354 |
|
355 |
+
#: ../classes/column/custom-field.php:98 ../classes/settings.php:325
|
356 |
msgid "Counter"
|
357 |
msgstr ""
|
358 |
|
359 |
+
#: ../classes/column/custom-field.php:100 ../classes/column/post/excerpt.php:19
|
360 |
+
#: ../classes/settings.php:317
|
361 |
msgid "Excerpt"
|
362 |
msgstr ""
|
363 |
|
364 |
#: ../classes/column/custom-field.php:101 ../classes/column/link/image.php:19
|
365 |
+
#: ../classes/settings.php:316
|
366 |
msgid "Image"
|
367 |
msgstr ""
|
368 |
|
369 |
+
#: ../classes/column/custom-field.php:102 ../classes/storage_model/media.php:13
|
|
|
370 |
msgid "Media Library"
|
371 |
msgstr ""
|
372 |
|
373 |
+
#: ../classes/column/custom-field.php:103 ../classes/settings.php:318
|
374 |
msgid "Multiple Values"
|
375 |
msgstr ""
|
376 |
|
377 |
+
#: ../classes/column/custom-field.php:104 ../classes/settings.php:319
|
378 |
msgid "Numeric"
|
379 |
msgstr ""
|
380 |
|
390 |
msgid "Term Name (Term ID's)"
|
391 |
msgstr ""
|
392 |
|
393 |
+
#: ../classes/column/custom-field.php:391
|
394 |
msgid "Select your custom field."
|
395 |
msgstr ""
|
396 |
|
397 |
+
#: ../classes/column/custom-field.php:401
|
398 |
msgid "No custom fields available."
|
399 |
msgstr ""
|
400 |
|
401 |
+
#: ../classes/column/custom-field.php:401
|
402 |
#, php-format
|
403 |
msgid "Please create a %s item first."
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: ../classes/column/custom-field.php:408
|
407 |
msgid "Field Type"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: ../classes/column/custom-field.php:408
|
411 |
msgid "This will determine how the value will be displayed."
|
412 |
msgstr ""
|
413 |
|
596 |
msgid "Estimated Reading Time"
|
597 |
msgstr ""
|
598 |
|
599 |
+
#: ../classes/column/post/estimated-reading-time.php:66
|
600 |
msgid "second"
|
601 |
msgid_plural "seconds"
|
602 |
msgstr[0] ""
|
603 |
msgstr[1] ""
|
604 |
|
605 |
+
#: ../classes/column/post/estimated-reading-time.php:69
|
606 |
msgid "minute"
|
607 |
msgid_plural "minutes"
|
608 |
msgstr[0] ""
|
609 |
msgstr[1] ""
|
610 |
|
611 |
+
#: ../classes/column/post/estimated-reading-time.php:107
|
612 |
msgid "Words per minute"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: ../classes/column/post/estimated-reading-time.php:108
|
616 |
msgid "Estimated reading time in words per minute"
|
617 |
msgstr ""
|
618 |
|
741 |
msgstr ""
|
742 |
|
743 |
#: ../classes/review_notice.php:55 ../classes/settings.php:170
|
744 |
+
#: ../classes/settings.php:591 ../classes/upgrade.php:135
|
745 |
msgid "Admin Columns"
|
746 |
msgstr ""
|
747 |
|
822 |
msgid "%s column is already present and can not be duplicated."
|
823 |
msgstr ""
|
824 |
|
825 |
+
#: ../classes/settings.php:276
|
826 |
msgid "Default settings succesfully restored."
|
827 |
msgstr ""
|
828 |
|
829 |
+
#: ../classes/settings.php:293
|
830 |
msgid "Overview"
|
831 |
msgstr ""
|
832 |
|
833 |
+
#: ../classes/settings.php:296
|
834 |
msgid ""
|
835 |
"This plugin is for adding and removing additional columns to the "
|
836 |
"administration screens for post(types), pages, media library, comments, "
|
837 |
"links and users. Change the column's label and reorder them."
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: ../classes/settings.php:299
|
841 |
msgid "Basics"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: ../classes/settings.php:301
|
845 |
msgid "Change order"
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: ../classes/settings.php:302
|
849 |
msgid ""
|
850 |
"By dragging the columns you can change the order which they will appear in."
|
851 |
msgstr ""
|
852 |
|
853 |
+
#: ../classes/settings.php:303
|
854 |
msgid "Change label"
|
855 |
msgstr ""
|
856 |
|
857 |
+
#: ../classes/settings.php:304
|
858 |
msgid ""
|
859 |
"By clicking on the triangle you will see the column options. Here you can "
|
860 |
"change each label of the columns heading."
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: ../classes/settings.php:305
|
864 |
msgid "Change column width"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: ../classes/settings.php:306
|
868 |
msgid ""
|
869 |
"By clicking on the triangle you will see the column options. By using the "
|
870 |
"draggable slider you can set the width of the columns in percentages."
|
871 |
msgstr ""
|
872 |
|
873 |
+
#: ../classes/settings.php:312
|
874 |
msgid "'Custom Field' column"
|
875 |
msgstr ""
|
876 |
|
877 |
+
#: ../classes/settings.php:313
|
878 |
msgid ""
|
879 |
"The custom field colum uses the custom fields from posts and users. There "
|
880 |
"are 10 types which you can set."
|
881 |
msgstr ""
|
882 |
|
883 |
+
#: ../classes/settings.php:315
|
884 |
msgid ""
|
885 |
"Value: Can be either a string or array. Arrays will be flattened and values "
|
886 |
"are seperated by a ',' comma."
|
887 |
msgstr ""
|
888 |
|
889 |
+
#: ../classes/settings.php:316
|
890 |
msgid ""
|
891 |
"Value: should contain an image URL or Attachment IDs ( seperated by a ',' "
|
892 |
"comma )."
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: ../classes/settings.php:317
|
896 |
msgid "Value: This will show the first 20 words of the Post content."
|
897 |
msgstr ""
|
898 |
|
899 |
+
#: ../classes/settings.php:318
|
900 |
msgid ""
|
901 |
"Value: should be an array. This will flatten any ( multi dimensional ) array."
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: ../classes/settings.php:319
|
905 |
msgid ""
|
906 |
"Value: Integers only.<br/>If you have the 'sorting addon' this will be used "
|
907 |
"for sorting, so you can sort your posts on numeric (custom field) values."
|
908 |
msgstr ""
|
909 |
|
910 |
+
#: ../classes/settings.php:320
|
911 |
#, php-format
|
912 |
msgid ""
|
913 |
"Value: Can be unix time stamp or a date format as described in the <a "
|
915 |
"href='%s'>general settings</a> page."
|
916 |
msgstr ""
|
917 |
|
918 |
+
#: ../classes/settings.php:321
|
919 |
msgid "Post Titles"
|
920 |
msgstr ""
|
921 |
|
922 |
+
#: ../classes/settings.php:321
|
923 |
msgid "Value: can be one or more Post ID's (seperated by ',')."
|
924 |
msgstr ""
|
925 |
|
926 |
+
#: ../classes/settings.php:322
|
927 |
msgid "Usernames"
|
928 |
msgstr ""
|
929 |
|
930 |
+
#: ../classes/settings.php:322
|
931 |
msgid "Value: can be one or more User ID's (seperated by ',')."
|
932 |
msgstr ""
|
933 |
|
934 |
+
#: ../classes/settings.php:323
|
935 |
msgid "Checkmark"
|
936 |
msgstr ""
|
937 |
|
938 |
+
#: ../classes/settings.php:323
|
939 |
msgid "Value: should be a 1 (one) or 0 (zero)."
|
940 |
msgstr ""
|
941 |
|
942 |
+
#: ../classes/settings.php:324
|
943 |
msgid "Value: hex value color, such as #808080."
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: ../classes/settings.php:325
|
947 |
msgid ""
|
948 |
"Value: Can be either a string or array. This will display a count of the "
|
949 |
"number of times the meta key is used by the item."
|
950 |
msgstr ""
|
951 |
|
952 |
+
#: ../classes/settings.php:414
|
953 |
msgid "Welcome to Admin Columns"
|
954 |
msgstr ""
|
955 |
|
956 |
+
#: ../classes/settings.php:417
|
957 |
msgid "Thank you for updating to the latest version!"
|
958 |
msgstr ""
|
959 |
|
960 |
+
#: ../classes/settings.php:418
|
961 |
msgid ""
|
962 |
"Admin Columns is more polished and enjoyable than ever before. We hope you "
|
963 |
"like it."
|
964 |
msgstr ""
|
965 |
|
966 |
+
#: ../classes/settings.php:423
|
967 |
msgid "What’s New"
|
968 |
msgstr ""
|
969 |
|
970 |
+
#: ../classes/settings.php:424
|
971 |
msgid "Changelog"
|
972 |
msgstr ""
|
973 |
|
974 |
+
#: ../classes/settings.php:429
|
975 |
msgid "Important"
|
976 |
msgstr ""
|
977 |
|
978 |
+
#: ../classes/settings.php:431
|
979 |
msgid "Database Changes"
|
980 |
msgstr ""
|
981 |
|
982 |
+
#: ../classes/settings.php:432
|
983 |
msgid ""
|
984 |
"The database has been changed between versions 1 and 2. But we made sure you "
|
985 |
"can still roll back to version 1x without any issues."
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: ../classes/settings.php:435
|
989 |
msgid "Make sure you backup your database and then click"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: ../classes/settings.php:435 ../classes/upgrade.php:143
|
993 |
msgid "Upgrade Database"
|
994 |
msgstr ""
|
995 |
|
996 |
+
#: ../classes/settings.php:438
|
997 |
msgid "Potential Issues"
|
998 |
msgstr ""
|
999 |
|
1000 |
+
#: ../classes/settings.php:439
|
1001 |
msgid ""
|
1002 |
"Do to the sizable refactoring the code, surounding Addons and action/"
|
1003 |
"filters, your website may not operate correctly. It is important that you "
|
1004 |
"read the full"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: ../classes/settings.php:439
|
1008 |
msgid "Migrating from v1 to v2"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: ../classes/settings.php:439
|
1012 |
msgid "guide to view the full list of changes."
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: ../classes/settings.php:439
|
1016 |
#, php-format
|
1017 |
msgid ""
|
1018 |
"When you have found a bug please <a href=\"%s\">report them to us</a> so we "
|
1019 |
"can fix it in the next release."
|
1020 |
msgstr ""
|
1021 |
|
1022 |
+
#: ../classes/settings.php:442
|
1023 |
msgid "Important!"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
+
#: ../classes/settings.php:442
|
1027 |
msgid ""
|
1028 |
"If you updated the Admin Columns plugin without prior knowledge of such "
|
1029 |
"changes, Please roll back to the latest"
|
1030 |
msgstr ""
|
1031 |
|
1032 |
+
#: ../classes/settings.php:442
|
1033 |
msgid "version 1"
|
1034 |
msgstr ""
|
1035 |
|
1036 |
+
#: ../classes/settings.php:442
|
1037 |
msgid "of this plugin."
|
1038 |
msgstr ""
|
1039 |
|
1040 |
+
#: ../classes/settings.php:448
|
1041 |
msgid "Changelog for"
|
1042 |
msgstr ""
|
1043 |
|
1044 |
+
#: ../classes/settings.php:463 ../classes/upgrade.php:63
|
1045 |
msgid "Learn more"
|
1046 |
msgstr ""
|
1047 |
|
1048 |
+
#: ../classes/settings.php:473
|
1049 |
msgid "Start using Admin Columns"
|
1050 |
msgstr ""
|
1051 |
|
1052 |
+
#: ../classes/settings.php:492
|
1053 |
msgid "General Settings"
|
1054 |
msgstr ""
|
1055 |
|
1056 |
+
#: ../classes/settings.php:493
|
1057 |
msgid "Customize your Admin Columns settings."
|
1058 |
msgstr ""
|
1059 |
|
1060 |
+
#: ../classes/settings.php:504
|
1061 |
msgid ""
|
1062 |
"Show \"Edit Columns\" button on admin screens. Default is <code>on</code>."
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: ../classes/settings.php:511 ../classes/settings.php:675
|
1066 |
msgid "Save"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
+
#: ../classes/settings.php:551
|
1070 |
msgid "Restore Settings"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
+
#: ../classes/settings.php:552
|
1074 |
msgid "This will delete all column settings and restore the default settings."
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: ../classes/settings.php:558
|
1078 |
msgid "Restore default settings"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: ../classes/settings.php:558
|
1082 |
msgid ""
|
1083 |
"Warning! ALL saved admin columns data will be deleted. This cannot be "
|
1084 |
"undone. \\'OK\\' to delete, \\'Cancel\\' to stop"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: ../classes/settings.php:574
|
1088 |
msgid "Posttypes"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
+
#: ../classes/settings.php:575
|
1092 |
msgid "Others"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
+
#: ../classes/settings.php:576
|
1096 |
msgid "Taxonomies"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: ../classes/settings.php:592 ../codepress-admin-columns.php:377
|
1100 |
msgid "Settings"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: ../classes/settings.php:593
|
1104 |
msgid "Add-ons"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
+
#: ../classes/settings.php:661
|
1108 |
#, php-format
|
1109 |
msgid ""
|
1110 |
"The columns for %s are set up via PHP and can therefore not be edited in the "
|
1111 |
"admin panel."
|
1112 |
msgstr ""
|
1113 |
|
1114 |
+
#: ../classes/settings.php:671
|
1115 |
msgid "Store settings"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
+
#: ../classes/settings.php:675
|
1119 |
msgid "Update"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
+
#: ../classes/settings.php:679
|
1123 |
#, php-format
|
1124 |
msgid ""
|
1125 |
"Warning! The %s columns data will be deleted. This cannot be undone. \\'OK"
|
1126 |
"\\' to delete, \\'Cancel\\' to stop"
|
1127 |
msgstr ""
|
1128 |
|
1129 |
+
#: ../classes/settings.php:680
|
1130 |
msgid "Restore"
|
1131 |
msgstr ""
|
1132 |
|
1133 |
+
#: ../classes/settings.php:680
|
1134 |
msgid "columns"
|
1135 |
msgstr ""
|
1136 |
|
1137 |
+
#: ../classes/settings.php:699
|
1138 |
msgid "Get Admin Columns Pro"
|
1139 |
msgstr ""
|
1140 |
|
1141 |
+
#: ../classes/settings.php:703
|
1142 |
msgid "Add Sorting"
|
1143 |
msgstr ""
|
1144 |
|
1145 |
+
#: ../classes/settings.php:704
|
1146 |
msgid "Add Filtering"
|
1147 |
msgstr ""
|
1148 |
|
1149 |
+
#: ../classes/settings.php:705
|
1150 |
msgid "Add Import/Export"
|
1151 |
msgstr ""
|
1152 |
|
1153 |
+
#: ../classes/settings.php:706
|
1154 |
msgid "Add Direct Editing"
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: ../classes/settings.php:709
|
1158 |
#, php-format
|
1159 |
msgid "Check out <a href=\"%s\">Admin Columns Pro</a> for more details!"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
+
#: ../classes/settings.php:740
|
1163 |
msgid "Are you happy with Admin Columns?"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
+
#: ../classes/settings.php:748
|
1167 |
msgid "What's wrong? Need help? Let us know!"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
+
#: ../classes/settings.php:749
|
1171 |
msgid ""
|
1172 |
"Check out our extensive documentation, or you can open a support topic on "
|
1173 |
"WordPress.org!"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: ../classes/settings.php:757
|
1177 |
msgid "Docs"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
+
#: ../classes/settings.php:762
|
1181 |
msgid "Forums"
|
1182 |
msgstr ""
|
1183 |
|
1184 |
+
#: ../classes/settings.php:771
|
1185 |
msgid "Woohoo! We're glad to hear that!"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
+
#: ../classes/settings.php:772
|
1189 |
msgid ""
|
1190 |
"We would really love it if you could show your appreciation by giving us a "
|
1191 |
"rating on WordPress.org or tweet about Admin Columns!"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
+
#: ../classes/settings.php:776
|
1195 |
msgid "Rate"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
+
#: ../classes/settings.php:787
|
1199 |
msgid "Tweet"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
+
#: ../classes/settings.php:797
|
1203 |
msgid "Buy Pro"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
+
#: ../classes/settings.php:809
|
1207 |
msgid "Support"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
+
#: ../classes/settings.php:812
|
1211 |
msgid "Check the <strong>Help</strong> section in the top-right screen."
|
1212 |
msgstr ""
|
1213 |
|
1214 |
+
#: ../classes/settings.php:815
|
1215 |
#, php-format
|
1216 |
msgid ""
|
1217 |
"For full documentation, bug reports, feature suggestions and other tips <a "
|
1218 |
"href='%s'>visit the Admin Columns website</a>"
|
1219 |
msgstr ""
|
1220 |
|
1221 |
+
#: ../classes/settings.php:844
|
1222 |
msgid "Drag and drop to reorder"
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: ../classes/settings.php:847
|
1226 |
msgid "Add Column"
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: ../classes/settings.php:928
|
1230 |
msgid "Active"
|
1231 |
msgstr ""
|
1232 |
|
1233 |
+
#: ../classes/settings.php:929
|
1234 |
msgid "Deactivate"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: ../classes/settings.php:936
|
1238 |
msgid "Installed"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: ../classes/settings.php:937
|
1242 |
msgid "Activate"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
+
#: ../classes/settings.php:951
|
1246 |
msgid "Download & Install"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
+
#: ../classes/settings.php:956
|
1250 |
msgid "Get this add-on"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
+
#: ../classes/storage_model.php:255
|
1254 |
msgid "settings succesfully restored."
|
1255 |
msgstr ""
|
1256 |
|
1257 |
+
#: ../classes/storage_model.php:271
|
1258 |
msgid "No columns settings available."
|
1259 |
msgstr ""
|
1260 |
|
1261 |
+
#: ../classes/storage_model.php:292
|
1262 |
#, php-format
|
1263 |
msgid "You are trying to store the same settings for %s."
|
1264 |
msgstr ""
|
1265 |
|
1266 |
+
#: ../classes/storage_model.php:296
|
1267 |
#, php-format
|
1268 |
msgid "Settings for %s updated successfully."
|
1269 |
msgstr ""
|
1270 |
|
1271 |
+
#: ../classes/storage_model.php:634
|
1272 |
msgid "Columns by Plugins"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
+
#: ../classes/storage_model.php:844
|
1276 |
msgid "View"
|
1277 |
msgstr ""
|
1278 |
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Admin Columns ===
|
2 |
-
Contributors: codepress, tschutter, davidmosterd, engelen
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDZRSYLQ4Z76J
|
4 |
Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
|
5 |
Requires at least: 3.5
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 2.4.
|
8 |
|
9 |
Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
|
10 |
|
@@ -212,6 +212,10 @@ You can find a list of the available actions and filters (and examples on how to
|
|
212 |
|
213 |
== Changelog ==
|
214 |
|
|
|
|
|
|
|
|
|
215 |
= 2.4.5 =
|
216 |
* [Fixed] Estimate Time Reading column will not display a value when there is no content
|
217 |
* [Fixed] When updating there was a possbile change on a "Cannot modify header information"
|
1 |
=== Admin Columns ===
|
2 |
+
Contributors: codepress, tschutter, davidmosterd, engelen, dungengronovius
|
3 |
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZDZRSYLQ4Z76J
|
4 |
Tags: plugins, wordpress, admin, column, columns, custom columns, custom fields, image, dashboard, sortable, filters, posts, media, users, pages, posttypes, manage columns, wp-admin
|
5 |
Requires at least: 3.5
|
6 |
+
Tested up to: 4.3
|
7 |
+
Stable tag: 2.4.6
|
8 |
|
9 |
Customise columns on the administration screens for post(types), pages, media, comments, links and users with an easy to use drag-and-drop interface.
|
10 |
|
212 |
|
213 |
== Changelog ==
|
214 |
|
215 |
+
= 2.4.6 =
|
216 |
+
* [Fixed] Page Order column is now available on all supported posttypes
|
217 |
+
* [Fixed] Time reading columns shows "-"" instead of zero when there is no content
|
218 |
+
|
219 |
= 2.4.5 =
|
220 |
* [Fixed] Estimate Time Reading column will not display a value when there is no content
|
221 |
* [Fixed] When updating there was a possbile change on a "Cannot modify header information"
|