Plugin Directory

Changeset 3063392


Ignore:
Timestamp:
04/03/2024 08:14:27 AM (21 months ago)
Author:
advancedads
Message:

Update to version 1.52.0 from GitHub

Location:
advanced-ads
Files:
14 edited
1 copied

Legend:

Unmodified
Added
Removed
  • advanced-ads/tags/1.52.0/admin/assets/css/admin.css

    r3041809 r3063392  
    376376#advads-ad-group-list ul, #advads-ad-group-list ol { margin: 0; list-style-position: inside; }
    377377#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}
    378385#advads-ad-group-list .column-type { width: 50px; }
    379386#advads-ad-group-list .column-type img { width: 50px; height: 50px; }
     
    546553    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;
    547554}
    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 {
    549556    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;
    550557}
     
    553560    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;
    554561}
    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 {
    556563    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;
    557564}
     
    560567    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;
    561568}
    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 {
    563570    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;
    564571}
  • advanced-ads/tags/1.52.0/admin/includes/class-ad-type.php

    r2986093 r3063392  
    12011201        }
    12021202
    1203         $status_type = ! $status_type ? 'published' : $status_type;
     1203        if ( ! $status_type ) {
     1204            $status_type      = 'published';
     1205            $status_strings[] = __( 'Published', 'advanced-ads' );
     1206        }
    12041207
    12051208        include ADVADS_ABSPATH . 'admin/views/ad/status-icon.php';
  • advanced-ads/tags/1.52.0/advanced-ads.php

    r3055119 r3063392  
    1313 * Plugin URI:        https://wpadvancedads.com
    1414 * Description:       Manage and optimize your ads in WordPress
    15  * Version:           1.51.3
     15 * Version:           1.52.0
    1616 * Author:            Advanced Ads GmbH
    1717 * Author URI:        https://wpadvancedads.com
     
    3434
    3535define( 'ADVADS_FILE', __FILE__ );
    36 define( 'ADVADS_VERSION', '1.51.3' );
     36define( 'ADVADS_VERSION', '1.52.0' );
    3737
    3838// Load the autoloader.
  • advanced-ads/tags/1.52.0/includes/admin/class-groups-list-table.php

    r3055119 r3063392  
    377377        if ( $ads->post_count ) {
    378378            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(
    380382                    [
    381                         'post'   => $ad->ID,
     383                        'post'   => $ad_id,
    382384                        'action' => 'edit',
    383385                    ],
     
    385387                );
    386388                // 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 = [];
    393399                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>';
    395402                }
    396403
    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
    398407                $ad_form_rows[ $ad->ID ] = $row;
    399408            }
     
    468477     *
    469478     * @param Advanced_Ads_Group $group group object.
     479     * @param string             $view  View parameter to manipulate the output.
    470480     *
    471481     * @return array
    472482     */
    473483    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.
    478485
    479486        $weights = $group->get_ad_weights();
     
    489496        $ad_ids = wp_list_pluck( $ads->posts, 'ID' );
    490497
    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        );
    497508
    498509        arsort( $weights );
  • advanced-ads/tags/1.52.0/languages/advanced-ads.pot

    r3055119 r3063392  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Advanced Ads 1.51.2\n"
     5"Project-Id-Version: Advanced Ads 1.51.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads/\n"
    77"Last-Translator: Thomas Maier <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-03-20T09:37:32+00:00\n"
     12"POT-Creation-Date: 2024-04-03T08:13:51+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.6.0\n"
     
    316316msgstr ""
    317317
     318#: admin/includes/class-ad-type.php:1205
     319msgid "Published"
     320msgstr ""
     321
    318322#: admin/includes/class-admin-upgrades.php:41
    319323msgid "Load ad units directly from your Google Ad Manager account."
     
    450454
    451455#: admin/includes/class-meta-box.php:137
    452 #: includes/admin/class-groups-list-table.php:442
     456#: includes/admin/class-groups-list-table.php:451
    453457#: views/admin/screens/placements.php:351
    454458msgid "Usage"
     
    581585#: includes/admin/class-assets.php:71
    582586#: views/admin/tables/groups/list-row-loop-none.php:17
    583 #: views/admin/tables/groups/list-row-option-ads.php:60
     587#: views/admin/tables/groups/list-row-option-ads.php:61
    584588msgid "Create your first ad"
    585589msgstr ""
     
    28382842
    28392843#: includes/admin/class-groups-list-table.php:345
    2840 #: includes/admin/class-groups-list-table.php:411
     2844#: includes/admin/class-groups-list-table.php:420
    28412845#: includes/class-entities.php:59
    28422846#: modules/import-export/classes/import.php:168
     
    28582862
    28592863#. translators: %s is the title for ad.
    2860 #: includes/admin/class-groups-list-table.php:387
     2864#: includes/admin/class-groups-list-table.php:389
    28612865msgid "Opens ad %s in a new tab"
    28622866msgstr ""
    28632867
    2864 #: includes/admin/class-groups-list-table.php:412
     2868#: includes/admin/class-groups-list-table.php:421
    28652869msgid "Save"
    28662870msgstr ""
    28672871
    2868 #: includes/admin/class-groups-list-table.php:430
     2872#: includes/admin/class-groups-list-table.php:439
    28692873#: views/admin/screens/placements.php:337
    28702874msgid "shortcode"
    28712875msgstr ""
    28722876
    2873 #: includes/admin/class-groups-list-table.php:432
     2877#: includes/admin/class-groups-list-table.php:441
    28742878#: views/admin/screens/placements.php:341
    28752879msgid "template (PHP)"
     
    28772881
    28782882#. translators: amount of ads displayed
    2879 #: includes/admin/class-groups-list-table.php:526
     2883#: includes/admin/class-groups-list-table.php:537
    28802884msgid "Up to %d ad displayed."
    28812885msgid_plural "Up to %d ads displayed"
     
    28872891#: includes/class-entities.php:57
    28882892#: includes/class-entities.php:61
    2889 #: views/admin/tables/groups/list-row-option-ads.php:38
     2893#: views/admin/tables/groups/list-row-option-ads.php:39
    28902894msgid "New Ad"
    28912895msgstr ""
     
    45774581
    45784582#: 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
     4583msgid "Status"
     4584msgstr ""
     4585
     4586#: views/admin/tables/groups/list-row-option-ads.php:21
     4587msgid "Weight"
     4588msgstr ""
     4589
     4590#: views/admin/tables/groups/list-row-option-ads.php:58
    45834591msgid "add"
    45844592msgstr ""
  • advanced-ads/tags/1.52.0/readme.txt

    r3055119 r3063392  
    33Tags: ads, adsense, amp, ads.txt, ad rotations, ad blocker, amazon, banner, click fraud protection, google ad manager, header code, lazy loading,
    44Requires at least: 5.0
    5 Tested up to: 6.4
     5Tested up to: 6.5
    66Requires PHP: 7.2
    7 Stable tag: 1.51.3
     7Stable tag: 1.52.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    339339== Changelog ==
    340340
    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  
    1818        <tr>
    1919            <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>
    2122        </tr>
    2223    </thead>
  • advanced-ads/trunk/admin/assets/css/admin.css

    r3041809 r3063392  
    376376#advads-ad-group-list ul, #advads-ad-group-list ol { margin: 0; list-style-position: inside; }
    377377#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}
    378385#advads-ad-group-list .column-type { width: 50px; }
    379386#advads-ad-group-list .column-type img { width: 50px; height: 50px; }
     
    546553    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;
    547554}
    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 {
    549556    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;
    550557}
     
    553560    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;
    554561}
    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 {
    556563    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;
    557564}
     
    560567    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;
    561568}
    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 {
    563570    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;
    564571}
  • advanced-ads/trunk/admin/includes/class-ad-type.php

    r2986093 r3063392  
    12011201        }
    12021202
    1203         $status_type = ! $status_type ? 'published' : $status_type;
     1203        if ( ! $status_type ) {
     1204            $status_type      = 'published';
     1205            $status_strings[] = __( 'Published', 'advanced-ads' );
     1206        }
    12041207
    12051208        include ADVADS_ABSPATH . 'admin/views/ad/status-icon.php';
  • advanced-ads/trunk/advanced-ads.php

    r3055119 r3063392  
    1313 * Plugin URI:        https://wpadvancedads.com
    1414 * Description:       Manage and optimize your ads in WordPress
    15  * Version:           1.51.3
     15 * Version:           1.52.0
    1616 * Author:            Advanced Ads GmbH
    1717 * Author URI:        https://wpadvancedads.com
     
    3434
    3535define( 'ADVADS_FILE', __FILE__ );
    36 define( 'ADVADS_VERSION', '1.51.3' );
     36define( 'ADVADS_VERSION', '1.52.0' );
    3737
    3838// Load the autoloader.
  • advanced-ads/trunk/includes/admin/class-groups-list-table.php

    r3055119 r3063392  
    377377        if ( $ads->post_count ) {
    378378            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(
    380382                    [
    381                         'post'   => $ad->ID,
     383                        'post'   => $ad_id,
    382384                        'action' => 'edit',
    383385                    ],
     
    385387                );
    386388                // 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 = [];
    393399                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>';
    395402                }
    396403
    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
    398407                $ad_form_rows[ $ad->ID ] = $row;
    399408            }
     
    468477     *
    469478     * @param Advanced_Ads_Group $group group object.
     479     * @param string             $view  View parameter to manipulate the output.
    470480     *
    471481     * @return array
    472482     */
    473483    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.
    478485
    479486        $weights = $group->get_ad_weights();
     
    489496        $ad_ids = wp_list_pluck( $ads->posts, 'ID' );
    490497
    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        );
    497508
    498509        arsort( $weights );
  • advanced-ads/trunk/languages/advanced-ads.pot

    r3055119 r3063392  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Advanced Ads 1.51.2\n"
     5"Project-Id-Version: Advanced Ads 1.51.3\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/advanced-ads/\n"
    77"Last-Translator: Thomas Maier <[email protected]>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2024-03-20T09:37:32+00:00\n"
     12"POT-Creation-Date: 2024-04-03T08:13:51+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.6.0\n"
     
    316316msgstr ""
    317317
     318#: admin/includes/class-ad-type.php:1205
     319msgid "Published"
     320msgstr ""
     321
    318322#: admin/includes/class-admin-upgrades.php:41
    319323msgid "Load ad units directly from your Google Ad Manager account."
     
    450454
    451455#: admin/includes/class-meta-box.php:137
    452 #: includes/admin/class-groups-list-table.php:442
     456#: includes/admin/class-groups-list-table.php:451
    453457#: views/admin/screens/placements.php:351
    454458msgid "Usage"
     
    581585#: includes/admin/class-assets.php:71
    582586#: views/admin/tables/groups/list-row-loop-none.php:17
    583 #: views/admin/tables/groups/list-row-option-ads.php:60
     587#: views/admin/tables/groups/list-row-option-ads.php:61
    584588msgid "Create your first ad"
    585589msgstr ""
     
    28382842
    28392843#: includes/admin/class-groups-list-table.php:345
    2840 #: includes/admin/class-groups-list-table.php:411
     2844#: includes/admin/class-groups-list-table.php:420
    28412845#: includes/class-entities.php:59
    28422846#: modules/import-export/classes/import.php:168
     
    28582862
    28592863#. translators: %s is the title for ad.
    2860 #: includes/admin/class-groups-list-table.php:387
     2864#: includes/admin/class-groups-list-table.php:389
    28612865msgid "Opens ad %s in a new tab"
    28622866msgstr ""
    28632867
    2864 #: includes/admin/class-groups-list-table.php:412
     2868#: includes/admin/class-groups-list-table.php:421
    28652869msgid "Save"
    28662870msgstr ""
    28672871
    2868 #: includes/admin/class-groups-list-table.php:430
     2872#: includes/admin/class-groups-list-table.php:439
    28692873#: views/admin/screens/placements.php:337
    28702874msgid "shortcode"
    28712875msgstr ""
    28722876
    2873 #: includes/admin/class-groups-list-table.php:432
     2877#: includes/admin/class-groups-list-table.php:441
    28742878#: views/admin/screens/placements.php:341
    28752879msgid "template (PHP)"
     
    28772881
    28782882#. translators: amount of ads displayed
    2879 #: includes/admin/class-groups-list-table.php:526
     2883#: includes/admin/class-groups-list-table.php:537
    28802884msgid "Up to %d ad displayed."
    28812885msgid_plural "Up to %d ads displayed"
     
    28872891#: includes/class-entities.php:57
    28882892#: includes/class-entities.php:61
    2889 #: views/admin/tables/groups/list-row-option-ads.php:38
     2893#: views/admin/tables/groups/list-row-option-ads.php:39
    28902894msgid "New Ad"
    28912895msgstr ""
     
    45774581
    45784582#: 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
     4583msgid "Status"
     4584msgstr ""
     4585
     4586#: views/admin/tables/groups/list-row-option-ads.php:21
     4587msgid "Weight"
     4588msgstr ""
     4589
     4590#: views/admin/tables/groups/list-row-option-ads.php:58
    45834591msgid "add"
    45844592msgstr ""
  • advanced-ads/trunk/readme.txt

    r3055119 r3063392  
    33Tags: ads, adsense, amp, ads.txt, ad rotations, ad blocker, amazon, banner, click fraud protection, google ad manager, header code, lazy loading,
    44Requires at least: 5.0
    5 Tested up to: 6.4
     5Tested up to: 6.5
    66Requires PHP: 7.2
    7 Stable tag: 1.51.3
     7Stable tag: 1.52.0
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    339339== Changelog ==
    340340
    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  
    1818        <tr>
    1919            <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>
    2122        </tr>
    2223    </thead>
Note: See TracChangeset for help on using the changeset viewer.