Changeset 3063392
- Timestamp:
- 04/03/2024 08:14:27 AM (21 months ago)
- Location:
- advanced-ads
- Files:
-
- 14 edited
- 1 copied
-
tags/1.52.0 (copied) (copied from advanced-ads/trunk)
-
tags/1.52.0/admin/assets/css/admin.css (modified) (4 diffs)
-
tags/1.52.0/admin/includes/class-ad-type.php (modified) (1 diff)
-
tags/1.52.0/advanced-ads.php (modified) (2 diffs)
-
tags/1.52.0/includes/admin/class-groups-list-table.php (modified) (4 diffs)
-
tags/1.52.0/languages/advanced-ads.pot (modified) (10 diffs)
-
tags/1.52.0/readme.txt (modified) (2 diffs)
-
tags/1.52.0/views/admin/tables/groups/list-row-option-ads.php (modified) (1 diff)
-
trunk/admin/assets/css/admin.css (modified) (4 diffs)
-
trunk/admin/includes/class-ad-type.php (modified) (1 diff)
-
trunk/advanced-ads.php (modified) (2 diffs)
-
trunk/includes/admin/class-groups-list-table.php (modified) (4 diffs)
-
trunk/languages/advanced-ads.pot (modified) (10 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/views/admin/tables/groups/list-row-option-ads.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
advanced-ads/tags/1.52.0/admin/assets/css/admin.css
r3041809 r3063392 376 376 #advads-ad-group-list ul, #advads-ad-group-list ol { margin: 0; list-style-position: inside; } 377 377 #advads-ad-group-list .advads-group-ads tr:nth-child(odd) { background: #f9f9f9; } 378 .advads-table .advads-group-ads tbody tr td:first-child { 379 width: auto; 380 } 381 .advads-group-ads .advads-ad-status-icon { 382 display: inline-block; 383 vertical-align: middle; 384 } 378 385 #advads-ad-group-list .column-type { width: 50px; } 379 386 #advads-ad-group-list .column-type img { width: 50px; height: 50px; } … … 546 553 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%23d7d7d9"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-36.84-52.91c-12.993 0-23.528 10.533-23.528 23.527s10.535 23.527 23.528 23.527a23.53 23.53 0 0 0 23.526-23.527 23.53 23.53 0 0 0-23.526-23.527zm8.882 26.453h-8.883a2.93 2.93 0 0 1-2.928-2.928V46.875a2.93 2.93 0 0 1 2.928-2.928 2.93 2.93 0 0 1 2.928 2.928v8.885h5.955a2.93 2.93 0 0 1 2.928 2.928 2.93 2.93 0 0 1-2.928 2.927z"/%3E%3C/svg%3E') no-repeat center/20px; 547 554 } 548 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-future {555 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-future, .advads-group-ads span.advads-ad-status-icon-future:hover { 549 556 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%230074a2"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-36.84-52.91c-12.993 0-23.528 10.533-23.528 23.527s10.535 23.527 23.528 23.527a23.53 23.53 0 0 0 23.526-23.527 23.53 23.53 0 0 0-23.526-23.527zm8.882 26.453h-8.883a2.93 2.93 0 0 1-2.928-2.928V46.875a2.93 2.93 0 0 1 2.928-2.928 2.93 2.93 0 0 1 2.928 2.928v8.885h5.955a2.93 2.93 0 0 1 2.928 2.928 2.93 2.93 0 0 1-2.928 2.927z"/%3E%3C/svg%3E') no-repeat center/20px; 550 557 } … … 553 560 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.454 -0.269 103 103" overflow="visible" fill="%23d7d7d9"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zM51.872 76.369c0 3.229 2.627 5.856 5.855 5.856s5.856-2.627 5.856-5.856V41.005c0-3.229-2.627-5.856-5.856-5.856s-5.855 2.627-5.855 5.856v35.364zM40.046 64.543c-3.229 0-5.856-2.627-5.856-5.855s2.627-5.857 5.856-5.857 5.856 2.628 5.856 5.857-2.627 5.855-5.856 5.855zm-17.684 0c-3.229 0-5.855-2.627-5.855-5.855s2.627-5.857 5.855-5.857 5.856 2.628 5.856 5.857-2.626 5.855-5.856 5.855z"/%3E%3C/svg%3E') no-repeat center/20px; 554 561 } 555 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expiring {562 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expiring, .advads-group-ads span.advads-ad-status-icon-expiring:hover { 556 563 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.454 -0.269 103 103" overflow="visible" fill="%230074a2"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zM51.872 76.369c0 3.229 2.627 5.856 5.855 5.856s5.856-2.627 5.856-5.856V41.005c0-3.229-2.627-5.856-5.856-5.856s-5.855 2.627-5.855 5.856v35.364zM40.046 64.543c-3.229 0-5.856-2.627-5.856-5.855s2.627-5.857 5.856-5.857 5.856 2.628 5.856 5.857-2.627 5.855-5.856 5.855zm-17.684 0c-3.229 0-5.855-2.627-5.855-5.855s2.627-5.857 5.855-5.857 5.856 2.628 5.856 5.857-2.626 5.855-5.856 5.855z"/%3E%3C/svg%3E') no-repeat center/20px; 557 564 } … … 560 567 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%23d7d7d9"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-19.164-5.853c-1.563 0-3.033-.609-4.139-1.715L40.046 66.966 26.509 80.503c-1.105 1.105-2.575 1.715-4.139 1.715a5.81 5.81 0 0 1-4.138-1.714c-2.281-2.281-2.281-5.995 0-8.277L31.77 58.691 18.233 45.155c-2.282-2.282-2.282-5.996-.001-8.278a5.81 5.81 0 0 1 4.137-1.713c1.564 0 3.033.608 4.14 1.715l13.537 13.536 13.537-13.537c1.104-1.104 2.574-1.713 4.138-1.713s3.034.608 4.14 1.714a5.81 5.81 0 0 1 1.714 4.138 5.82 5.82 0 0 1-1.715 4.139L48.322 58.691 61.86 72.228c2.281 2.281 2.28 5.995-.001 8.277-1.105 1.106-2.574 1.714-4.136 1.714h0z"/%3E%3C/svg%3E') no-repeat center/20px; 561 568 } 562 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expired {569 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expired, .advads-group-ads span.advads-ad-status-icon-expired:hover { 563 570 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%230074a2"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-19.164-5.853c-1.563 0-3.033-.609-4.139-1.715L40.046 66.966 26.509 80.503c-1.105 1.105-2.575 1.715-4.139 1.715a5.81 5.81 0 0 1-4.138-1.714c-2.281-2.281-2.281-5.995 0-8.277L31.77 58.691 18.233 45.155c-2.282-2.282-2.282-5.996-.001-8.278a5.81 5.81 0 0 1 4.137-1.713c1.564 0 3.033.608 4.14 1.715l13.537 13.536 13.537-13.537c1.104-1.104 2.574-1.713 4.138-1.713s3.034.608 4.14 1.714a5.81 5.81 0 0 1 1.714 4.138 5.82 5.82 0 0 1-1.715 4.139L48.322 58.691 61.86 72.228c2.281 2.281 2.28 5.995-.001 8.277-1.105 1.106-2.574 1.714-4.136 1.714h0z"/%3E%3C/svg%3E') no-repeat center/20px; 564 571 } -
advanced-ads/tags/1.52.0/admin/includes/class-ad-type.php
r2986093 r3063392 1201 1201 } 1202 1202 1203 $status_type = ! $status_type ? 'published' : $status_type; 1203 if ( ! $status_type ) { 1204 $status_type = 'published'; 1205 $status_strings[] = __( 'Published', 'advanced-ads' ); 1206 } 1204 1207 1205 1208 include ADVADS_ABSPATH . 'admin/views/ad/status-icon.php'; -
advanced-ads/tags/1.52.0/advanced-ads.php
r3055119 r3063392 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.5 1.315 * Version: 1.52.0 16 16 * Author: Advanced Ads GmbH 17 17 * Author URI: https://wpadvancedads.com … … 34 34 35 35 define( 'ADVADS_FILE', __FILE__ ); 36 define( 'ADVADS_VERSION', '1.5 1.3' );36 define( 'ADVADS_VERSION', '1.52.0' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/tags/1.52.0/includes/admin/class-groups-list-table.php
r3055119 r3063392 377 377 if ( $ads->post_count ) { 378 378 foreach ( $ads->posts as $ad ) { 379 $ad_url = add_query_arg( 379 $ad_id = absint( $ad->ID ); 380 $group_id = absint( $group->id ); 381 $ad_url = add_query_arg( 380 382 [ 381 'post' => $ad ->ID,383 'post' => $ad_id, 382 384 'action' => 'edit', 383 385 ], … … 385 387 ); 386 388 // translators: %s is the title for ad. 387 $link_title = sprintf( esc_html__( 'Opens ad %s in a new tab', 'advanced-ads' ), $ad->post_title ); 388 389 $row = ''; 390 $row .= '<tr data-ad-id="' . absint( $ad->ID ) . '" data-group-id="' . absint( $group->id ) . '"><td> <a target="_blank" href="' . esc_url( $ad_url ) . '" title="' . $link_title . '">' . esc_html( $ad->post_title ) . '</a></td><td>'; 391 $row .= '<select name="advads-groups[' . absint( $group->id ) . '][ads][' . absint( $ad->ID ) . ']">'; 392 $ad_weight = ( isset( $weights[ $ad->ID ] ) ) ? $weights[ $ad->ID ] : Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 389 $link_title = sprintf( esc_attr__( 'Opens ad %s in a new tab', 'advanced-ads' ), $ad->post_title ); 390 $ad_weight = ( isset( $weights[ $ad_id ] ) ) ? $weights[ $ad_id ] : Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 391 392 $row = '<tr data-ad-id="' . $ad_id . '" data-group-id="' . $group_id . '">'; 393 $row .= '<td class="ad-list-entry-name">'; 394 $row .= '<a target="_blank" href="' . esc_url( $ad_url ) . '" title="' . $link_title . '">' . esc_html( $ad->post_title ) . '</a></td>'; 395 $row .= '<td>' . \Advanced_Ads_Admin_Ad_Type::get_ad_schedule_output( $ad_id ) . '</td>'; 396 $row .= '<td><select name="advads-groups[' . $ad_id . '][ads][' . $ad_id . ']">'; 397 398 $options = []; 393 399 for ( $i = 0; $i <= $max_weight; $i++ ) { 394 $row .= '<option ' . selected( $ad_weight, $i, false ) . '>' . $i . '</option>'; 400 $selected = selected( $ad_weight, $i, false ); 401 $options[] = '<option ' . $selected . '>' . $i . '</option>'; 395 402 } 396 403 397 $row .= '</select</td><td><button type="button" class="advads-remove-ad-from-group button">x</button></td></tr>'; 404 $row .= implode( '', $options ); 405 $row .= '</select</td><td><button type="button" class="advads-remove-ad-from-group button">x</button></td></tr>'; 406 398 407 $ad_form_rows[ $ad->ID ] = $row; 399 408 } … … 468 477 * 469 478 * @param Advanced_Ads_Group $group group object. 479 * @param string $view View parameter to manipulate the output. 470 480 * 471 481 * @return array 472 482 */ 473 483 private function get_group_ads_info( $group, $view = 'list' ) { 474 /* TODO: reenable the following caching mechanism when switching to AA 2.0 */ 475 // if ( isset( $this->group_ads_info[ $group->id ] ) ) { 476 // return $this->group_ads_info[ $group->id ]; 477 // } 484 // TODO: reenable the following caching mechanism when switching to AA 2.0. 478 485 479 486 $weights = $group->get_ad_weights(); … … 489 496 $ad_ids = wp_list_pluck( $ads->posts, 'ID' ); 490 497 491 $weights = array_reduce( $ads->posts, function( $carry, $item ) use ( $weights, $view ) { 492 $weight = $weights[ $item->ID ] ?? Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 493 $carry[ $item->ID ] = ( $view === 'modal' || $item->post_status === 'publish' ) ? $weight : 0; 494 495 return $carry; 496 }, [] ); 498 $weights = array_reduce( 499 $ads->posts, 500 function ( $carry, $item ) use ( $weights, $view ) { 501 $weight = $weights[ $item->ID ] ?? Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 502 $carry[ $item->ID ] = ( 'modal' === $view || 'publish' === $item->post_status ) ? $weight : 0; 503 504 return $carry; 505 }, 506 [] 507 ); 497 508 498 509 arsort( $weights ); -
advanced-ads/tags/1.52.0/languages/advanced-ads.pot
r3055119 r3063392 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.51. 2\n"5 "Project-Id-Version: Advanced Ads 1.51.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads/\n" 7 7 "Last-Translator: Thomas Maier <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 3-20T09:37:32+00:00\n"12 "POT-Creation-Date: 2024-04-03T08:13:51+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" … … 316 316 msgstr "" 317 317 318 #: admin/includes/class-ad-type.php:1205 319 msgid "Published" 320 msgstr "" 321 318 322 #: admin/includes/class-admin-upgrades.php:41 319 323 msgid "Load ad units directly from your Google Ad Manager account." … … 450 454 451 455 #: admin/includes/class-meta-box.php:137 452 #: includes/admin/class-groups-list-table.php:4 42456 #: includes/admin/class-groups-list-table.php:451 453 457 #: views/admin/screens/placements.php:351 454 458 msgid "Usage" … … 581 585 #: includes/admin/class-assets.php:71 582 586 #: views/admin/tables/groups/list-row-loop-none.php:17 583 #: views/admin/tables/groups/list-row-option-ads.php:6 0587 #: views/admin/tables/groups/list-row-option-ads.php:61 584 588 msgid "Create your first ad" 585 589 msgstr "" … … 2838 2842 2839 2843 #: includes/admin/class-groups-list-table.php:345 2840 #: includes/admin/class-groups-list-table.php:4 112844 #: includes/admin/class-groups-list-table.php:420 2841 2845 #: includes/class-entities.php:59 2842 2846 #: modules/import-export/classes/import.php:168 … … 2858 2862 2859 2863 #. translators: %s is the title for ad. 2860 #: includes/admin/class-groups-list-table.php:38 72864 #: includes/admin/class-groups-list-table.php:389 2861 2865 msgid "Opens ad %s in a new tab" 2862 2866 msgstr "" 2863 2867 2864 #: includes/admin/class-groups-list-table.php:4 122868 #: includes/admin/class-groups-list-table.php:421 2865 2869 msgid "Save" 2866 2870 msgstr "" 2867 2871 2868 #: includes/admin/class-groups-list-table.php:43 02872 #: includes/admin/class-groups-list-table.php:439 2869 2873 #: views/admin/screens/placements.php:337 2870 2874 msgid "shortcode" 2871 2875 msgstr "" 2872 2876 2873 #: includes/admin/class-groups-list-table.php:4 322877 #: includes/admin/class-groups-list-table.php:441 2874 2878 #: views/admin/screens/placements.php:341 2875 2879 msgid "template (PHP)" … … 2877 2881 2878 2882 #. translators: amount of ads displayed 2879 #: includes/admin/class-groups-list-table.php:5 262883 #: includes/admin/class-groups-list-table.php:537 2880 2884 msgid "Up to %d ad displayed." 2881 2885 msgid_plural "Up to %d ads displayed" … … 2887 2891 #: includes/class-entities.php:57 2888 2892 #: includes/class-entities.php:61 2889 #: views/admin/tables/groups/list-row-option-ads.php:3 82893 #: views/admin/tables/groups/list-row-option-ads.php:39 2890 2894 msgid "New Ad" 2891 2895 msgstr "" … … 4577 4581 4578 4582 #: views/admin/tables/groups/list-row-option-ads.php:20 4579 msgid "weight" 4580 msgstr "" 4581 4582 #: views/admin/tables/groups/list-row-option-ads.php:57 4583 msgid "Status" 4584 msgstr "" 4585 4586 #: views/admin/tables/groups/list-row-option-ads.php:21 4587 msgid "Weight" 4588 msgstr "" 4589 4590 #: views/admin/tables/groups/list-row-option-ads.php:58 4583 4591 msgid "add" 4584 4592 msgstr "" -
advanced-ads/tags/1.52.0/readme.txt
r3055119 r3063392 3 3 Tags: ads, adsense, amp, ads.txt, ad rotations, ad blocker, amazon, banner, click fraud protection, google ad manager, header code, lazy loading, 4 4 Requires at least: 5.0 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Requires PHP: 7.2 7 Stable tag: 1.5 1.37 Stable tag: 1.52.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 339 339 == Changelog == 340 340 341 = 1.51.3 (March 20, 2024) = 342 343 - Fix: prevent weight reset to 0 for resaved scheduled ads 344 - Fix: correct issue with AdSense metabox on ad edit page 345 346 = 1.51.2 (March 13, 2024) = 347 348 - Improvement: enhance compatibility with PHP 8.3 349 - Fix: resolve smaller style issues on the dashboard page 350 - Fix: resolve an issue preventing the deletion of groups 351 - Fix: correct an issue where saving in Gutenberg occasionally caused an error 352 353 = 1.51.1 (February 29, 2024) = 354 355 - Fix: resolve an issue that prevents delete links from working 356 357 = 1.51.0 (February 27, 2024) = 358 359 - Feature: add an integration for PubGuru® 360 - Improvement: add AdSense widget on WordPress dashboard 361 - Fix: rename Advanced Ads widget on WordPress dashboard 362 - Fix: refresh group page after deleting or creating a group 341 = 1.52.0 (April 3, 2024) = 342 343 - Improvement: bump 'Tested up to' version to 6.5 344 - Improvement: add status icon for ads in group modal -
advanced-ads/tags/1.52.0/views/admin/tables/groups/list-row-option-ads.php
r2983598 r3063392 18 18 <tr> 19 19 <th><?php esc_html_e( 'Ad', 'advanced-ads' ); ?></th> 20 <th colspan="2"><?php esc_html_e( 'weight', 'advanced-ads' ); ?></th> 20 <th><?php esc_html_e( 'Status', 'advanced-ads' ); ?></th> 21 <th colspan="2"><?php esc_html_e( 'Weight', 'advanced-ads' ); ?></th> 21 22 </tr> 22 23 </thead> -
advanced-ads/trunk/admin/assets/css/admin.css
r3041809 r3063392 376 376 #advads-ad-group-list ul, #advads-ad-group-list ol { margin: 0; list-style-position: inside; } 377 377 #advads-ad-group-list .advads-group-ads tr:nth-child(odd) { background: #f9f9f9; } 378 .advads-table .advads-group-ads tbody tr td:first-child { 379 width: auto; 380 } 381 .advads-group-ads .advads-ad-status-icon { 382 display: inline-block; 383 vertical-align: middle; 384 } 378 385 #advads-ad-group-list .column-type { width: 50px; } 379 386 #advads-ad-group-list .column-type img { width: 50px; height: 50px; } … … 546 553 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%23d7d7d9"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-36.84-52.91c-12.993 0-23.528 10.533-23.528 23.527s10.535 23.527 23.528 23.527a23.53 23.53 0 0 0 23.526-23.527 23.53 23.53 0 0 0-23.526-23.527zm8.882 26.453h-8.883a2.93 2.93 0 0 1-2.928-2.928V46.875a2.93 2.93 0 0 1 2.928-2.928 2.93 2.93 0 0 1 2.928 2.928v8.885h5.955a2.93 2.93 0 0 1 2.928 2.928 2.93 2.93 0 0 1-2.928 2.927z"/%3E%3C/svg%3E') no-repeat center/20px; 547 554 } 548 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-future {555 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-future, .advads-group-ads span.advads-ad-status-icon-future:hover { 549 556 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%230074a2"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-36.84-52.91c-12.993 0-23.528 10.533-23.528 23.527s10.535 23.527 23.528 23.527a23.53 23.53 0 0 0 23.526-23.527 23.53 23.53 0 0 0-23.526-23.527zm8.882 26.453h-8.883a2.93 2.93 0 0 1-2.928-2.928V46.875a2.93 2.93 0 0 1 2.928-2.928 2.93 2.93 0 0 1 2.928 2.928v8.885h5.955a2.93 2.93 0 0 1 2.928 2.928 2.93 2.93 0 0 1-2.928 2.927z"/%3E%3C/svg%3E') no-repeat center/20px; 550 557 } … … 553 560 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.454 -0.269 103 103" overflow="visible" fill="%23d7d7d9"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zM51.872 76.369c0 3.229 2.627 5.856 5.855 5.856s5.856-2.627 5.856-5.856V41.005c0-3.229-2.627-5.856-5.856-5.856s-5.855 2.627-5.855 5.856v35.364zM40.046 64.543c-3.229 0-5.856-2.627-5.856-5.855s2.627-5.857 5.856-5.857 5.856 2.628 5.856 5.857-2.627 5.855-5.856 5.855zm-17.684 0c-3.229 0-5.855-2.627-5.855-5.855s2.627-5.857 5.855-5.857 5.856 2.628 5.856 5.857-2.626 5.855-5.856 5.855z"/%3E%3C/svg%3E') no-repeat center/20px; 554 561 } 555 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expiring {562 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expiring, .advads-group-ads span.advads-ad-status-icon-expiring:hover { 556 563 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.454 -0.269 103 103" overflow="visible" fill="%230074a2"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zM51.872 76.369c0 3.229 2.627 5.856 5.855 5.856s5.856-2.627 5.856-5.856V41.005c0-3.229-2.627-5.856-5.856-5.856s-5.855 2.627-5.855 5.856v35.364zM40.046 64.543c-3.229 0-5.856-2.627-5.856-5.855s2.627-5.857 5.856-5.857 5.856 2.628 5.856 5.857-2.627 5.855-5.856 5.855zm-17.684 0c-3.229 0-5.855-2.627-5.855-5.855s2.627-5.857 5.855-5.857 5.856 2.628 5.856 5.857-2.626 5.855-5.856 5.855z"/%3E%3C/svg%3E') no-repeat center/20px; 557 564 } … … 560 567 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%23d7d7d9"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-19.164-5.853c-1.563 0-3.033-.609-4.139-1.715L40.046 66.966 26.509 80.503c-1.105 1.105-2.575 1.715-4.139 1.715a5.81 5.81 0 0 1-4.138-1.714c-2.281-2.281-2.281-5.995 0-8.277L31.77 58.691 18.233 45.155c-2.282-2.282-2.282-5.996-.001-8.278a5.81 5.81 0 0 1 4.137-1.713c1.564 0 3.033.608 4.14 1.715l13.537 13.536 13.537-13.537c1.104-1.104 2.574-1.713 4.138-1.713s3.034.608 4.14 1.714a5.81 5.81 0 0 1 1.714 4.138 5.82 5.82 0 0 1-1.715 4.139L48.322 58.691 61.86 72.228c2.281 2.281 2.28 5.995-.001 8.277-1.105 1.106-2.574 1.714-4.136 1.714h0z"/%3E%3C/svg%3E') no-repeat center/20px; 561 568 } 562 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expired {569 .advads-ad-group-list-ads > div:hover .advads-ad-status-icon-expired, .advads-group-ads span.advads-ad-status-icon-expired:hover { 563 570 background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="103" height="103" viewBox="-11.455 -0.269 103 103" overflow="visible" fill="%230074a2"%3E%3Cpath d="M65.176 11.187V7.458A7.46 7.46 0 0 0 57.718 0a7.46 7.46 0 0 0-7.457 7.458v3.729h-20.43V7.458A7.46 7.46 0 0 0 22.374 0a7.46 7.46 0 0 0-7.458 7.458v3.729H0v65.177c0 8.224 6.69 14.914 14.915 14.914l65.176-.002V26.102c0-8.225-6.691-14.915-14.915-14.915zM53.465 7.458a4.26 4.26 0 0 1 4.253-4.255 4.26 4.26 0 0 1 4.254 4.255v7.457a4.26 4.26 0 0 1-4.254 4.254 4.26 4.26 0 0 1-4.253-4.254V7.458zm-35.345 0a4.26 4.26 0 0 1 4.254-4.255 4.26 4.26 0 0 1 4.253 4.255v7.457a4.26 4.26 0 0 1-4.253 4.254 4.26 4.26 0 0 1-4.254-4.254V7.458zm58.767 80.614l-61.972.002c-6.457 0-11.711-5.253-11.711-11.71V29.306h73.683v58.766zm-19.164-5.853c-1.563 0-3.033-.609-4.139-1.715L40.046 66.966 26.509 80.503c-1.105 1.105-2.575 1.715-4.139 1.715a5.81 5.81 0 0 1-4.138-1.714c-2.281-2.281-2.281-5.995 0-8.277L31.77 58.691 18.233 45.155c-2.282-2.282-2.282-5.996-.001-8.278a5.81 5.81 0 0 1 4.137-1.713c1.564 0 3.033.608 4.14 1.715l13.537 13.536 13.537-13.537c1.104-1.104 2.574-1.713 4.138-1.713s3.034.608 4.14 1.714a5.81 5.81 0 0 1 1.714 4.138 5.82 5.82 0 0 1-1.715 4.139L48.322 58.691 61.86 72.228c2.281 2.281 2.28 5.995-.001 8.277-1.105 1.106-2.574 1.714-4.136 1.714h0z"/%3E%3C/svg%3E') no-repeat center/20px; 564 571 } -
advanced-ads/trunk/admin/includes/class-ad-type.php
r2986093 r3063392 1201 1201 } 1202 1202 1203 $status_type = ! $status_type ? 'published' : $status_type; 1203 if ( ! $status_type ) { 1204 $status_type = 'published'; 1205 $status_strings[] = __( 'Published', 'advanced-ads' ); 1206 } 1204 1207 1205 1208 include ADVADS_ABSPATH . 'admin/views/ad/status-icon.php'; -
advanced-ads/trunk/advanced-ads.php
r3055119 r3063392 13 13 * Plugin URI: https://wpadvancedads.com 14 14 * Description: Manage and optimize your ads in WordPress 15 * Version: 1.5 1.315 * Version: 1.52.0 16 16 * Author: Advanced Ads GmbH 17 17 * Author URI: https://wpadvancedads.com … … 34 34 35 35 define( 'ADVADS_FILE', __FILE__ ); 36 define( 'ADVADS_VERSION', '1.5 1.3' );36 define( 'ADVADS_VERSION', '1.52.0' ); 37 37 38 38 // Load the autoloader. -
advanced-ads/trunk/includes/admin/class-groups-list-table.php
r3055119 r3063392 377 377 if ( $ads->post_count ) { 378 378 foreach ( $ads->posts as $ad ) { 379 $ad_url = add_query_arg( 379 $ad_id = absint( $ad->ID ); 380 $group_id = absint( $group->id ); 381 $ad_url = add_query_arg( 380 382 [ 381 'post' => $ad ->ID,383 'post' => $ad_id, 382 384 'action' => 'edit', 383 385 ], … … 385 387 ); 386 388 // translators: %s is the title for ad. 387 $link_title = sprintf( esc_html__( 'Opens ad %s in a new tab', 'advanced-ads' ), $ad->post_title ); 388 389 $row = ''; 390 $row .= '<tr data-ad-id="' . absint( $ad->ID ) . '" data-group-id="' . absint( $group->id ) . '"><td> <a target="_blank" href="' . esc_url( $ad_url ) . '" title="' . $link_title . '">' . esc_html( $ad->post_title ) . '</a></td><td>'; 391 $row .= '<select name="advads-groups[' . absint( $group->id ) . '][ads][' . absint( $ad->ID ) . ']">'; 392 $ad_weight = ( isset( $weights[ $ad->ID ] ) ) ? $weights[ $ad->ID ] : Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 389 $link_title = sprintf( esc_attr__( 'Opens ad %s in a new tab', 'advanced-ads' ), $ad->post_title ); 390 $ad_weight = ( isset( $weights[ $ad_id ] ) ) ? $weights[ $ad_id ] : Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 391 392 $row = '<tr data-ad-id="' . $ad_id . '" data-group-id="' . $group_id . '">'; 393 $row .= '<td class="ad-list-entry-name">'; 394 $row .= '<a target="_blank" href="' . esc_url( $ad_url ) . '" title="' . $link_title . '">' . esc_html( $ad->post_title ) . '</a></td>'; 395 $row .= '<td>' . \Advanced_Ads_Admin_Ad_Type::get_ad_schedule_output( $ad_id ) . '</td>'; 396 $row .= '<td><select name="advads-groups[' . $ad_id . '][ads][' . $ad_id . ']">'; 397 398 $options = []; 393 399 for ( $i = 0; $i <= $max_weight; $i++ ) { 394 $row .= '<option ' . selected( $ad_weight, $i, false ) . '>' . $i . '</option>'; 400 $selected = selected( $ad_weight, $i, false ); 401 $options[] = '<option ' . $selected . '>' . $i . '</option>'; 395 402 } 396 403 397 $row .= '</select</td><td><button type="button" class="advads-remove-ad-from-group button">x</button></td></tr>'; 404 $row .= implode( '', $options ); 405 $row .= '</select</td><td><button type="button" class="advads-remove-ad-from-group button">x</button></td></tr>'; 406 398 407 $ad_form_rows[ $ad->ID ] = $row; 399 408 } … … 468 477 * 469 478 * @param Advanced_Ads_Group $group group object. 479 * @param string $view View parameter to manipulate the output. 470 480 * 471 481 * @return array 472 482 */ 473 483 private function get_group_ads_info( $group, $view = 'list' ) { 474 /* TODO: reenable the following caching mechanism when switching to AA 2.0 */ 475 // if ( isset( $this->group_ads_info[ $group->id ] ) ) { 476 // return $this->group_ads_info[ $group->id ]; 477 // } 484 // TODO: reenable the following caching mechanism when switching to AA 2.0. 478 485 479 486 $weights = $group->get_ad_weights(); … … 489 496 $ad_ids = wp_list_pluck( $ads->posts, 'ID' ); 490 497 491 $weights = array_reduce( $ads->posts, function( $carry, $item ) use ( $weights, $view ) { 492 $weight = $weights[ $item->ID ] ?? Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 493 $carry[ $item->ID ] = ( $view === 'modal' || $item->post_status === 'publish' ) ? $weight : 0; 494 495 return $carry; 496 }, [] ); 498 $weights = array_reduce( 499 $ads->posts, 500 function ( $carry, $item ) use ( $weights, $view ) { 501 $weight = $weights[ $item->ID ] ?? Advanced_Ads_Group::MAX_AD_GROUP_DEFAULT_WEIGHT; 502 $carry[ $item->ID ] = ( 'modal' === $view || 'publish' === $item->post_status ) ? $weight : 0; 503 504 return $carry; 505 }, 506 [] 507 ); 497 508 498 509 arsort( $weights ); -
advanced-ads/trunk/languages/advanced-ads.pot
r3055119 r3063392 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Advanced Ads 1.51. 2\n"5 "Project-Id-Version: Advanced Ads 1.51.3\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads/\n" 7 7 "Last-Translator: Thomas Maier <[email protected]>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2024-0 3-20T09:37:32+00:00\n"12 "POT-Creation-Date: 2024-04-03T08:13:51+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" … … 316 316 msgstr "" 317 317 318 #: admin/includes/class-ad-type.php:1205 319 msgid "Published" 320 msgstr "" 321 318 322 #: admin/includes/class-admin-upgrades.php:41 319 323 msgid "Load ad units directly from your Google Ad Manager account." … … 450 454 451 455 #: admin/includes/class-meta-box.php:137 452 #: includes/admin/class-groups-list-table.php:4 42456 #: includes/admin/class-groups-list-table.php:451 453 457 #: views/admin/screens/placements.php:351 454 458 msgid "Usage" … … 581 585 #: includes/admin/class-assets.php:71 582 586 #: views/admin/tables/groups/list-row-loop-none.php:17 583 #: views/admin/tables/groups/list-row-option-ads.php:6 0587 #: views/admin/tables/groups/list-row-option-ads.php:61 584 588 msgid "Create your first ad" 585 589 msgstr "" … … 2838 2842 2839 2843 #: includes/admin/class-groups-list-table.php:345 2840 #: includes/admin/class-groups-list-table.php:4 112844 #: includes/admin/class-groups-list-table.php:420 2841 2845 #: includes/class-entities.php:59 2842 2846 #: modules/import-export/classes/import.php:168 … … 2858 2862 2859 2863 #. translators: %s is the title for ad. 2860 #: includes/admin/class-groups-list-table.php:38 72864 #: includes/admin/class-groups-list-table.php:389 2861 2865 msgid "Opens ad %s in a new tab" 2862 2866 msgstr "" 2863 2867 2864 #: includes/admin/class-groups-list-table.php:4 122868 #: includes/admin/class-groups-list-table.php:421 2865 2869 msgid "Save" 2866 2870 msgstr "" 2867 2871 2868 #: includes/admin/class-groups-list-table.php:43 02872 #: includes/admin/class-groups-list-table.php:439 2869 2873 #: views/admin/screens/placements.php:337 2870 2874 msgid "shortcode" 2871 2875 msgstr "" 2872 2876 2873 #: includes/admin/class-groups-list-table.php:4 322877 #: includes/admin/class-groups-list-table.php:441 2874 2878 #: views/admin/screens/placements.php:341 2875 2879 msgid "template (PHP)" … … 2877 2881 2878 2882 #. translators: amount of ads displayed 2879 #: includes/admin/class-groups-list-table.php:5 262883 #: includes/admin/class-groups-list-table.php:537 2880 2884 msgid "Up to %d ad displayed." 2881 2885 msgid_plural "Up to %d ads displayed" … … 2887 2891 #: includes/class-entities.php:57 2888 2892 #: includes/class-entities.php:61 2889 #: views/admin/tables/groups/list-row-option-ads.php:3 82893 #: views/admin/tables/groups/list-row-option-ads.php:39 2890 2894 msgid "New Ad" 2891 2895 msgstr "" … … 4577 4581 4578 4582 #: views/admin/tables/groups/list-row-option-ads.php:20 4579 msgid "weight" 4580 msgstr "" 4581 4582 #: views/admin/tables/groups/list-row-option-ads.php:57 4583 msgid "Status" 4584 msgstr "" 4585 4586 #: views/admin/tables/groups/list-row-option-ads.php:21 4587 msgid "Weight" 4588 msgstr "" 4589 4590 #: views/admin/tables/groups/list-row-option-ads.php:58 4583 4591 msgid "add" 4584 4592 msgstr "" -
advanced-ads/trunk/readme.txt
r3055119 r3063392 3 3 Tags: ads, adsense, amp, ads.txt, ad rotations, ad blocker, amazon, banner, click fraud protection, google ad manager, header code, lazy loading, 4 4 Requires at least: 5.0 5 Tested up to: 6. 45 Tested up to: 6.5 6 6 Requires PHP: 7.2 7 Stable tag: 1.5 1.37 Stable tag: 1.52.0 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 339 339 == Changelog == 340 340 341 = 1.51.3 (March 20, 2024) = 342 343 - Fix: prevent weight reset to 0 for resaved scheduled ads 344 - Fix: correct issue with AdSense metabox on ad edit page 345 346 = 1.51.2 (March 13, 2024) = 347 348 - Improvement: enhance compatibility with PHP 8.3 349 - Fix: resolve smaller style issues on the dashboard page 350 - Fix: resolve an issue preventing the deletion of groups 351 - Fix: correct an issue where saving in Gutenberg occasionally caused an error 352 353 = 1.51.1 (February 29, 2024) = 354 355 - Fix: resolve an issue that prevents delete links from working 356 357 = 1.51.0 (February 27, 2024) = 358 359 - Feature: add an integration for PubGuru® 360 - Improvement: add AdSense widget on WordPress dashboard 361 - Fix: rename Advanced Ads widget on WordPress dashboard 362 - Fix: refresh group page after deleting or creating a group 341 = 1.52.0 (April 3, 2024) = 342 343 - Improvement: bump 'Tested up to' version to 6.5 344 - Improvement: add status icon for ads in group modal -
advanced-ads/trunk/views/admin/tables/groups/list-row-option-ads.php
r2983598 r3063392 18 18 <tr> 19 19 <th><?php esc_html_e( 'Ad', 'advanced-ads' ); ?></th> 20 <th colspan="2"><?php esc_html_e( 'weight', 'advanced-ads' ); ?></th> 20 <th><?php esc_html_e( 'Status', 'advanced-ads' ); ?></th> 21 <th colspan="2"><?php esc_html_e( 'Weight', 'advanced-ads' ); ?></th> 21 22 </tr> 22 23 </thead>
Note: See TracChangeset
for help on using the changeset viewer.