advanced-ads
Last commit date
admin
4 years ago
classes
4 years ago
includes
5 years ago
languages
4 years ago
lib
4 years ago
modules
4 years ago
public
4 years ago
LICENSE.txt
12 years ago
advanced-ads.php
4 years ago
changelog.txt
4 years ago
index.php
12 years ago
readme.txt
4 years ago
wpml-config.xml
7 years ago
changelog.txt
326 lines
| 1 | == Changelog == |
| 2 | |
| 3 | = 1.30.0 = |
| 4 | |
| 5 | - Improvement: add `advanced-ads-group-taxonomy-params` filter to change ad group taxonomy parameters |
| 6 | - Improvement: add "Manual Placements" to the Advanced Ads block and sidebar widget |
| 7 | - Improvement: update Black Friday promotion |
| 8 | - Fix: enable `Ad Admin` and `Ad Manager` to assign ads to groups from ad edit page and quick edit view |
| 9 | - Fix: disable unavailable ad types on the ad edit page |
| 10 | - Fix: improve AdSense auto ads code warning on ad edit page |
| 11 | - Fix: handle AdSense report API response for accounts without earnings |
| 12 | - Fix: remove `amp-auto-ads` element on non-AMP URLs |
| 13 | - Fix: honor disabling ads settings for AMP pages |
| 14 | - Fix: escape placement selectors for jQuery to allow adding conditions to multibyte placement names |
| 15 | - Fix: ensure correct text domain for translations |
| 16 | - Fix: make the ad list sortable in descending order |
| 17 | - Fix: remove hard-coded `orderby` and `order` for posts list |
| 18 | - Fix: prevent updating ad weights of non-published ads |
| 19 | - Fix: correct Display Conditions meta box video player |
| 20 | - Fix: remove escaped HTML tags in new placement form |
| 21 | - Fix: resolve a conflict with WPML where conditions were not displayed correctly on the placement page |
| 22 | - Fix: move placement of the ad blocker disguise settings |
| 23 | |
| 24 | = 1.29.1 = |
| 25 | |
| 26 | - Fix: ensure `Advanced_Ads_Adsense_Report_Helper` JavaScript global is defined |
| 27 | - Fix: hide AdSense setting submit button if there is no publisher ID |
| 28 | - Fix: show error message when no AdSense account data found |
| 29 | |
| 30 | = 1.29.0 = |
| 31 | |
| 32 | - Improvement: update AdSense API to V2 |
| 33 | - Improvement: unify layout of backend notices |
| 34 | - Improvement: move some descriptions into tooltips |
| 35 | - Improvement: move ad blocker fix options to the related setting |
| 36 | - Fix: correct uppercase CSS rule for labels in backend |
| 37 | - Fix: remove usage link for every type except manual placement |
| 38 | - Fix: correct sorting of placements by type on placement list page |
| 39 | - Fix: bad language in Analytics Adblock Counter option |
| 40 | |
| 41 | = 1.28.0 = |
| 42 | |
| 43 | - Improvement: add an `inline` attribute to the `the_ad` shortcode that allows the user to change the wrapper from `div` to `span` |
| 44 | - Improvement: update plugin updater class |
| 45 | - Improvement: rename "Item" option into "Ad / Group" to clarify its purpose |
| 46 | - Improvement: show a link to create a new ad on the placement page |
| 47 | - Improvement: show content placements first when creating a new one |
| 48 | - Improvement: remove welcome panel on ad edit screen |
| 49 | - Improvement: rename last button in the wizard to "Save" to highlight that this is the last step |
| 50 | - Fix: wrap `advanced_ads_ready_queue` in an IIEF to prevent naming collisions |
| 51 | |
| 52 | = 1.27.0 = |
| 53 | |
| 54 | - Improvement: prevent issues with functionality from other plugins that delay JavaScript execution (WP Rocket, Complianz, et al.). |
| 55 | - Improvement: unify the layout of the Next buttons in the ad Wizard |
| 56 | - Improvement: add the updated AdSense code. Added a filter to continue using the old AdSense code. [Learn more](https://wpadvancedads.com/adsense-crossorigin-attribute-performance) |
| 57 | - Improvement: update Ad Block Counter to work with Google Analytics 4 properties |
| 58 | - Fix: ensure Ad Admin can save AdSense, Privacy, and License settings |
| 59 | - Fix: prevent error when "Remove data on uninstall" option is set due to uninitialised constants |
| 60 | - Fix: ad edit button for ads delivered using groups |
| 61 | - Fix: improve compatibility with PHP 8 by removing default values from required function parameters |
| 62 | |
| 63 | = 1.26.0 = |
| 64 | |
| 65 | - overwrite existing options when importing new options |
| 66 | - add possibility to export privacy, ads.txt and Google AdSense options |
| 67 | - remove duplicate inline styles for placements with passive cache-busting and activated TCF 2.0 privacy option |
| 68 | - adjust the Advanced Ads block layout to the default WordPress block layout |
| 69 | - add migration from Advanced Ads widget to Advanced Ads block |
| 70 | - fix saving of additional CSS class in Advanced Ads block |
| 71 | - make placement deletion confirmation dialogue translatable |
| 72 | - add WebP as allowed image media type for exports |
| 73 | |
| 74 | = 1.25.1 = |
| 75 | |
| 76 | - fixed a bug that prevented removing placement conditions |
| 77 | - trim `inline-css` to remove duplicate spaces |
| 78 | - check if `inline-css` index exists in ad options to prevent undefined index notice |
| 79 | - move `Advanced_Ads_Inline_Css` class from singleton to one instance per ad, to fix issues with `inline-css` not being added |
| 80 | - fixed ad edit button visibility in frontend when ad label was activated |
| 81 | |
| 82 | = 1.25.0 = |
| 83 | |
| 84 | - show ad label event when ad wrapper is now shown |
| 85 | - add filter `advanced-ads-ajax-ad-select-arguments` to modify arguments of AJAX ad selection |
| 86 | - display ads on BuddyPress pages when no ads allowed on 404 pages |
| 87 | - Ad blocker fix: do not copy assets from "vendor" and "lib" folders |
| 88 | - Ad blocker fix: compare assets based on `filemtime` instead of `filesize` |
| 89 | - bump minimal require WP core version to 4.9 |
| 90 | - allow to add a replacement for AdSense page-level code |
| 91 | |
| 92 | = 1.24.2 = |
| 93 | |
| 94 | - fix authenticated (i.e. logged-in) DOM-based XSS vulnerability while creating jQuery object from user input in Safari and IE |
| 95 | |
| 96 | = 1.24.1 = |
| 97 | |
| 98 | - fix compatibilty with WP prior to 5.0 |
| 99 | |
| 100 | = 1.24.0 = |
| 101 | |
| 102 | - AdSense deprecated Link Units and might no longer fill them. So we removed them when creating new ads. [Learn more](https://wpadvancedads.com/adsense-link-units/) |
| 103 | - enable AdSense Auto ads on AMP pages |
| 104 | - interpret WP blocks in the plain text ad type |
| 105 | - remove MailPoet warning since they are not retiring custom shortcodes after all |
| 106 | - convert jQuery shorthand functions to `.on()` and `.trigger()` |
| 107 | - made shortcode button work with WordPress 4.9 |
| 108 | - allow to exclude conditions from the "new display condition" dropdown |
| 109 | - prevent AdSense earnings box from appearing on non AdSense ad page when AdSense connection is lost |
| 110 | |
| 111 | = 1.23.2 = |
| 112 | |
| 113 | - reverted erroneously removing plugin author index |
| 114 | |
| 115 | = 1.23.1 = |
| 116 | |
| 117 | - removed warning about iThemes Security since it is no longer causing the reported issue |
| 118 | - added correct icon to Advanced Ads block |
| 119 | - fixed escaping for AdSense Auto ads codes that use the deprecated "Disable Top Level" option |
| 120 | - fixed TinyMCE warning in dev console |
| 121 | - replaced `intval()` and `floatval()` with type-casting |
| 122 | |
| 123 | = 1.23.0 = |
| 124 | |
| 125 | - MailPoet is going to deprecate custom shortcodes. See [this section](https://wpadvancedads.com/mailpoet-newsletters/#Enable_MailPoet_support_in_Advanced_Ads) in case you are using Advanced Ads ads in your newsletters |
| 126 | - updated Google AdSense API to use web application verification |
| 127 | - prevent accidental public ad URLs. See [Making the Ads post type public](https://wpadvancedads.com/manual/making-the-ad-post-type-public/) if you want to query ads via a dedicated URL |
| 128 | - allow to reserve only width or height for plain, rich content and group ad types |
| 129 | |
| 130 | = 1.22.2 = |
| 131 | |
| 132 | - fix shortcode button within Classic editor and Classic editor block |
| 133 | |
| 134 | = 1.22.1 = |
| 135 | |
| 136 | - removed "Disable shortcode button" setting after it became obsolete in 1.22.0 |
| 137 | - added the `advanced-ads-disable-shortcode-button` filter to disable the shortcode button |
| 138 | - removed ads.txt-related warnings when the option is disabled |
| 139 | - fixed issue with loading of shortcode button in editors that disabled custom buttons, e.g., Elementor |
| 140 | - fixed JavaScript warnings in Elementor editor |
| 141 | |
| 142 | = 1.22.0 = |
| 143 | |
| 144 | - made dashboard layout compatible with WordPress 5.6 |
| 145 | - removed irrelevant AdSense warnings |
| 146 | - allow filtering of data-attributes for encoded ads if privacy module is enabled |
| 147 | - added `advanced-ads-ad-edit-show-placement-injection` filter to allow removing the placement-injection box on the ad edit screen |
| 148 | - added `advanced-ads-unhide-meta-boxes` filter to allow adding of meta box ids that should always be visible on ad edit pages |
| 149 | - added `advanced-ads-ad-option-{$field}` filter for ad options |
| 150 | - added action hooks for ad status changes: `advanced-ads-ad-status-published`, `advanced-ads-ad-status-unpublished`, `advanced-ads-ad-status-{$old_status}-to-{$new_status}` |
| 151 | - removed public URLs for single ads on some installations |
| 152 | - fixed old icon in the menu |
| 153 | - fixed Internet Explorer 11 incompatibility |
| 154 | - fixed possible error in TinyMCE editor caused by ad blockers |
| 155 | |
| 156 | = 1.21.1 = |
| 157 | |
| 158 | - fixed pagination on the ad list page |
| 159 | - fix Google AdSense non-personalized ads |
| 160 | |
| 161 | = 1.21.0 = |
| 162 | |
| 163 | - enable Position options for Sidebar placements |
| 164 | - increased default weight for ads imported to a group from 1 to 5 which is mostly relevant when selling ads to existing placements |
| 165 | - Ad Health: added body classes that explain plugin behavior at given moment |
| 166 | - ads.txt: prevented converting special characters into HTML entities |
| 167 | - show ad overview list even if all ads were moved to trash |
| 168 | - fixed error when specific ACF function does not exist |
| 169 | - fixed option to disable ads also on the "Posts page" as set in the WordPress Reading settings |
| 170 | |
| 171 | = 1.20.3 = |
| 172 | |
| 173 | - whitelist field groups created by Advanced Custom Fields on the ad edit page |
| 174 | - prevent including AdSense Auto ads code when the Borlabs Cookie is already adding it |
| 175 | - prevented adding unneeded escape characters to ads.txt file |
| 176 | - added compatibility with Funding Choices when consent is not needed |
| 177 | |
| 178 | = 1.20.2 = |
| 179 | |
| 180 | - fixed displaying image ads if privacy method is set to custom cookie |
| 181 | - fixed scroll to last edited placement with non-English letters |
| 182 | - fixed minor UI issues |
| 183 | |
| 184 | = 1.20.1 = |
| 185 | |
| 186 | - don't escape top anchor ads code as a whole, user input has already been escaped |
| 187 | |
| 188 | = 1.20.0 = |
| 189 | |
| 190 | - integrate with TCF 2.0 compatible consent management platforms, e.g., Quantcast Choices |
| 191 | - improve timezone methods `Advanced_Ads_Utils::get_wp_timezone()` and `Advanced_Ads_Utils::get_timezone_name()` |
| 192 | - Divi theme: made content injection work with the "Unlimited ad injection" setting disabled |
| 193 | - added missing spaces to image ad tags to fix Cache-Busting issue |
| 194 | - made ad centering work when right and left margin are set |
| 195 | - add ad health check if __tcfapi responds but the privacy module is either not enabled or not set to TCF 2.0 |
| 196 | - remove duplicate lines from the ads.txt file |
| 197 | - fixed layout issues that happens due to the JNews theme |
| 198 | |
| 199 | = 1.19.1 = |
| 200 | |
| 201 | - apply WordPress lazy loading for images to images in ad content |
| 202 | - layout fixes for WordPress 5.5 |
| 203 | |
| 204 | = 1.19.0 = |
| 205 | |
| 206 | - placements are now ordered by type on the Placements page. You can still choose ordering by name |
| 207 | - the "custom" option of the Content placement now comes with a picker to select the position in the frontend |
| 208 | - WPML: placements pages show ads according to the selected language |
| 209 | - WPML: display the ad in the original language if a translated ad is missing unless the publisher chooses to hide it instead |
| 210 | - prevented injection of ads into captions of "image" blocks |
| 211 | - improved bot check |
| 212 | - fixed layout of expiry data fields |
| 213 | - fixed broken check for the Responsive add-on |
| 214 | |
| 215 | = 1.18.0 = |
| 216 | |
| 217 | * inject ads automatically based on div, table, quotes, iframe, and other HTML tags |
| 218 | * define your own injection rules using the new "custom" option for the Content placement |
| 219 | * hide Shortcode button in TinyMCE editor by default for new users |
| 220 | * added `advanced-ads-options` filter for main plugin options |
| 221 | * prevent automatic ad injection into paragraphs within blockquotes |
| 222 | * hide placement options after publishing an ad translated with WPML |
| 223 | * disallowed ad insertion into the header of the WP File Manager's admin page |
| 224 | |
| 225 | = 1.17.12 = |
| 226 | |
| 227 | * set default name for ads where none was given |
| 228 | * fixed issue where long option markup could break the group page |
| 229 | * made placements of type other than "Header Code" work with "Thrive Theme Builder" theme |
| 230 | |
| 231 | = 1.17.11 = |
| 232 | |
| 233 | * added Datanyze and Ecosia to bots list |
| 234 | * linked to [Google Ad Manager Integration](https://wpadvancedads.com/add-ons/google-ad-manager/) |
| 235 | * fixed Layout Key field for AdSense ads not saving new values |
| 236 | * fixed error that broke the wizard when the URL field of image ads contained a wrong value |
| 237 | * fixed links to manuals |
| 238 | * fixed unneeded notification shown when ads are disabled on 404 pages |
| 239 | |
| 240 | = 1.17.10 = |
| 241 | |
| 242 | * fixed escaped HTML tag in Ad Planning column |
| 243 | * fixed possible JavaScript error caused by Ad Health checks |
| 244 | * fixed possible third-party conflict causing the ad group filter to throw an exception |
| 245 | * removed unneeded notification shown when ads are disabled on 404 pages |
| 246 | |
| 247 | = 1.17.9 = |
| 248 | |
| 249 | * fixed warning about missing `the_content` filter in WordPress 5.4 |
| 250 | * fixed public warning if the WordPres `widget` function is called with wrong parameters |
| 251 | * fixed wrong usage of get_current_user |
| 252 | |
| 253 | = 1.17.8 = |
| 254 | |
| 255 | * WPML: placements now deliver also ads translated with WPML when only one of the language versions was assigned to them |
| 256 | * fixed delete option in placement form |
| 257 | |
| 258 | = 1.17.7 = |
| 259 | |
| 260 | * fixed index value of content placements not showing up in the form while saved and working correctly |
| 261 | * recovered compatibility with the "Render Blocking JS" option of the WP Fastest Cache plugin |
| 262 | |
| 263 | = 1.17.6 = |
| 264 | |
| 265 | * improved coding style in backend templates |
| 266 | * prepared for option to allow minimum number of words between ads in Advanced Ads Pro |
| 267 | * hide notice that warns if the "Disable ads in REST API" option was selected |
| 268 | * Renad theme: fixed a bug that caused menu item to point to incorrect url instead of theme options |
| 269 | |
| 270 | = 1.17.5 = |
| 271 | |
| 272 | * fixed ads being injected multiple times when using the Newspaper theme or multiple the_content filters |
| 273 | |
| 274 | = 1.17.4 = |
| 275 | |
| 276 | * added option and Display Condition to disable ads in content served through the REST API |
| 277 | * made error notices less obstrusive |
| 278 | * code style optimizations |
| 279 | * fixed ad groups form on ad edit page |
| 280 | * fixed potential conflict with autoloader |
| 281 | |
| 282 | = 1.17.3 = |
| 283 | |
| 284 | * prevented content injection into specific elements where ads cause issues |
| 285 | * assign `advads-stop-injection` class to any element into which you don’t want to automatically inject ads |
| 286 | * fixed possible cURL error when checking existing ads.txt file locally |
| 287 | |
| 288 | = 1.17.2 = |
| 289 | |
| 290 | * replaced autoloader |
| 291 | * fixed an issue where an expired ad removed HTML in the ad code |
| 292 | |
| 293 | = 1.17.1 = |
| 294 | |
| 295 | * fixed failing upload of new image ads |
| 296 | * fixed Google Ad Manager debug link also showing up when other Google Publisher Tags are used |
| 297 | |
| 298 | = 1.17 = |
| 299 | |
| 300 | * improved AdSense ad unit list coming from the AdSense API |
| 301 | * improved "highlight ads" option in Ad Health |
| 302 | * show notice if AJAX calls are broken |
| 303 | * added `com.pl` as exception for placing ads.txt files in subdomains |
| 304 | * removed placeholder for AdSense ads in the Customizer and Elementor editor |
| 305 | * fix for WP Smush lazy load preventing image ads from showing at all |
| 306 | |
| 307 | = 1.16.1 = |
| 308 | |
| 309 | * fixed JavaScript that broke privacy module check in the frontend |
| 310 | * allow to change size of AdSense ads loaded from the AdSense account |
| 311 | |
| 312 | = 1.16 = |
| 313 | |
| 314 | * moved all users to the new content injection logic and removed opt-out option |
| 315 | * use new Auto ads code for everyone who didn’t enable the "Disable top anchor ads" option |
| 316 | * hide "Disable top anchor ads" option to users who didn’t enable it |
| 317 | * the Ad Admin user role can now also save the plugin settings |
| 318 | * hide Wizard for existing ads |
| 319 | * removed warning about WP Autoterms plugin after a fix by the plugin authors |
| 320 | * some work for Conditions to improve compatibility with an upcoming Pro feature |
| 321 | * fixed multiple wrappers occurred as result of using nested ads |
| 322 | * fixed missing index issue on 404 pages for logged-in admins |
| 323 | * fixed AJAX/PHP error 403 on Settings page |
| 324 | * fixed layout issue that happened when "If>So Dynamic Content" plugin was active |
| 325 | * prevented Ad label from taking height of fixed sized AdSense ads |
| 326 |