Changeset 3259287
- Timestamp:
- 03/20/2025 04:07:03 PM (12 months ago)
- Location:
- affilizz
- Files:
-
- 1 deleted
- 8 edited
- 21 copied
-
tags/1.15.2 (copied) (copied from affilizz/trunk)
-
tags/1.15.2/assets/dist/components/affilizz-embed/affilizz.js (copied) (copied from affilizz/trunk/assets/dist/components/affilizz-embed/affilizz.js)
-
tags/1.15.2/assets/dist/css/admin.css (copied) (copied from affilizz/trunk/assets/dist/css/admin.css)
-
tags/1.15.2/assets/dist/css/public.css (copied) (copied from affilizz/trunk/assets/dist/css/public.css)
-
tags/1.15.2/assets/src/components/affilizz-embed/package-lock.json (deleted)
-
tags/1.15.2/assets/src/scss/common/block.scss (copied) (copied from affilizz/trunk/assets/src/scss/common/block.scss)
-
tags/1.15.2/assets/src/scss/common/blocks/form.scss (copied) (copied from affilizz/trunk/assets/src/scss/common/blocks/form.scss)
-
tags/1.15.2/assets/src/scss/common/blocks/product.scss (copied) (copied from affilizz/trunk/assets/src/scss/common/blocks/product.scss)
-
tags/1.15.2/assets/src/scss/common/blocks/reset.scss (copied) (copied from affilizz/trunk/assets/src/scss/common/blocks/reset.scss)
-
tags/1.15.2/assets/src/scss/common/modal.scss (copied) (copied from affilizz/trunk/assets/src/scss/common/modal.scss)
-
tags/1.15.2/classes/API.php (copied) (copied from affilizz/trunk/classes/API.php)
-
tags/1.15.2/classes/Core.php (copied) (copied from affilizz/trunk/classes/Core.php) (1 diff)
-
tags/1.15.2/classes/Util/Analytics.php (copied) (copied from affilizz/trunk/classes/Util/Analytics.php)
-
tags/1.15.2/classes/Util/Cron.php (copied) (copied from affilizz/trunk/classes/Util/Cron.php)
-
tags/1.15.2/classes/Util/Editor.php (modified) (1 diff)
-
tags/1.15.2/classes/Util/Filters.php (copied) (copied from affilizz/trunk/classes/Util/Filters.php) (2 diffs)
-
tags/1.15.2/classes/Util/Notices.php (copied) (copied from affilizz/trunk/classes/Util/Notices.php) (2 diffs)
-
tags/1.15.2/includes/i18n.php (copied) (copied from affilizz/trunk/includes/i18n.php) (1 diff)
-
tags/1.15.2/init.php (copied) (copied from affilizz/trunk/init.php) (2 diffs)
-
tags/1.15.2/readme.txt (copied) (copied from affilizz/trunk/readme.txt) (2 diffs)
-
tags/1.15.2/templates/administration/page/settings/rendering.php (copied) (copied from affilizz/trunk/templates/administration/page/settings/rendering.php)
-
tags/1.15.2/templates/administration/page/settings/technical.php (copied) (copied from affilizz/trunk/templates/administration/page/settings/technical.php)
-
tags/1.15.2/templates/administration/page/wizard/success.php (copied) (copied from affilizz/trunk/templates/administration/page/wizard/success.php)
-
trunk/classes/Core.php (modified) (1 diff)
-
trunk/classes/Util/Editor.php (modified) (1 diff)
-
trunk/classes/Util/Filters.php (modified) (2 diffs)
-
trunk/classes/Util/Notices.php (modified) (2 diffs)
-
trunk/includes/i18n.php (modified) (1 diff)
-
trunk/init.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
affilizz/tags/1.15.2/classes/Core.php
r3259019 r3259287 71 71 72 72 // Load the plugin's translations and start the plugin 73 add_action( ' plugins_loaded', array( $this, 'init' ), 999 );73 add_action( 'init', array( $this, 'init' ), 99 ); 74 74 75 75 // Change the administration footer output -
affilizz/tags/1.15.2/classes/Util/Editor.php
r3254716 r3259287 37 37 $parsed_atts = shortcode_parse_atts( $shortcode[ 'attributes' ] ); 38 38 $id = trim( str_replace( [ $parsed_atts[ 0 ], 'id="', '"', '[', ']' ], '', $shortcode[ 'attributes' ] ) ); 39 40 // Bug fix for situations where the shortcode does not exist 41 if ( empty( $affilizz_shortcodes[ $shortcode[ 'type' ] ] ) ) { 42 continue; 43 } 39 44 $preprocessed_shortcodes[ $id ] = [ 40 45 'title' => $affilizz_shortcodes[ $shortcode[ 'type' ] ][ 'display_name' ] ?: __( 'Affilizz publication', 'affilizz' ), -
affilizz/tags/1.15.2/classes/Util/Filters.php
r3259019 r3259287 84 84 */ 85 85 public function add_editor_style_classic() { 86 if ( ! function_exists( 'get_current_screen' ) ) return; 86 87 add_theme_support( 'editor-style' ); 87 88 if ( ! empty( get_current_screen() ) && get_current_screen()->is_block_editor() ) return; … … 89 90 } 90 91 public function add_editor_style_gutenberg() { 92 if ( ! function_exists( 'get_current_screen' ) ) return; 91 93 if ( ! is_admin() ) return; 92 94 if ( empty( get_current_screen() ) || ! get_current_screen()->is_block_editor() ) return; -
affilizz/tags/1.15.2/classes/Util/Notices.php
r3259019 r3259287 30 30 */ 31 31 public function clean_administration_notices_classic() { 32 if ( ! function_exists( 'get_current_screen' ) ) return; 32 33 if ( ! empty( get_current_screen() ) && get_current_screen()->is_block_editor() ) return; 33 34 wp_add_inline_style( 'affilizz-admin', ':not(.notice) + .notice { margin-top: 20px; }' ); … … 35 36 public function clean_administration_notices_gutenberg() { 36 37 if ( ! is_admin() ) return; 38 if ( ! function_exists( 'get_current_screen' ) ) return; 39 37 40 if ( empty( get_current_screen() ) || ! get_current_screen()->is_block_editor() ) return; 38 41 wp_add_inline_style( 'affilizz-admin', ':not(.notice) + .notice { margin-top: 20px; }' ); -
affilizz/tags/1.15.2/includes/i18n.php
r3259019 r3259287 150 150 'abbreviations' => array ( 151 151 'marketplace' => _x( 'MP', 'Abbreviation for "Marketplace"', 'affilizz' ), 152 'used' => _x( 'U', 'Abbreviation for used', 'affilizz' ),153 'refurbished' => _x( 'R', ' abbreviation for refurbished', 'affilizz' ),152 'used' => _x( 'U', 'Abbreviation for "Used', 'affilizz' ), 153 'refurbished' => _x( 'R', 'Abbreviation for "Refurbished', 'affilizz' ), 154 154 ), 155 155 ) -
affilizz/tags/1.15.2/init.php
r3259019 r3259287 5 5 * Author URI: https://www.affilizz.com 6 6 * Author: Affilizz, Dewizz SAS <wordpress@affilizz.com> 7 * Version: 1.15. 17 * Version: 1.15.2 8 8 * Requires at least: 5.9 9 9 * Requires PHP: 7.3.0 … … 13 13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 14 14 15 define( 'AFFILIZZ_VERSION', '1.15. 1' );15 define( 'AFFILIZZ_VERSION', '1.15.2' ); 16 16 define( 'AFFILIZZ_ASSETS_BUILD_VERSION', 'lB2WutOuF1C7nE9C' ); 17 17 -
affilizz/tags/1.15.2/readme.txt
r3259019 r3259287 4 4 Requires at least: 5.9 5 5 Tested up to: 6.7.2 6 Stable tag: 1.15. 16 Stable tag: 1.15.2 7 7 Requires PHP: 7.3.0 8 8 License: GPLv2 or later … … 53 53 == Changelog == 54 54 55 = 1.15.2 = 56 57 * **Fixes** : 58 * Hotfixes an issue with get_current_screen on specific installations causing the 1.15.1 update to crash. 59 55 60 = 1.15.1 = 56 61 57 * Fixes an issue when uninstalling / deleting the plugin from the plugins page in the back-office. 58 * Fixes PHP notations for the array callbacks in hooks. 59 * Fixes a warning while loading admin.css and inline admin styles for gutenberg (moved to enqueue_block_assets). 60 * Changes some translation source strings. 62 * **Fixes** : 63 * Solves an issue when uninstalling / deleting the plugin from the plugins page in the back-office. 64 * PHP notations for the array callbacks in hooks are now aligned with WordPress standards. 65 * Hides a warning while loading admin.css and inline admin styles for gutenberg (moved to enqueue_block_assets). 66 * Changes some translation source strings. 67 * Changes how the CSS is loaded. 61 68 62 69 = 1.15.0 = -
affilizz/trunk/classes/Core.php
r3259019 r3259287 71 71 72 72 // Load the plugin's translations and start the plugin 73 add_action( ' plugins_loaded', array( $this, 'init' ), 999 );73 add_action( 'init', array( $this, 'init' ), 99 ); 74 74 75 75 // Change the administration footer output -
affilizz/trunk/classes/Util/Editor.php
r3254716 r3259287 37 37 $parsed_atts = shortcode_parse_atts( $shortcode[ 'attributes' ] ); 38 38 $id = trim( str_replace( [ $parsed_atts[ 0 ], 'id="', '"', '[', ']' ], '', $shortcode[ 'attributes' ] ) ); 39 40 // Bug fix for situations where the shortcode does not exist 41 if ( empty( $affilizz_shortcodes[ $shortcode[ 'type' ] ] ) ) { 42 continue; 43 } 39 44 $preprocessed_shortcodes[ $id ] = [ 40 45 'title' => $affilizz_shortcodes[ $shortcode[ 'type' ] ][ 'display_name' ] ?: __( 'Affilizz publication', 'affilizz' ), -
affilizz/trunk/classes/Util/Filters.php
r3259019 r3259287 84 84 */ 85 85 public function add_editor_style_classic() { 86 if ( ! function_exists( 'get_current_screen' ) ) return; 86 87 add_theme_support( 'editor-style' ); 87 88 if ( ! empty( get_current_screen() ) && get_current_screen()->is_block_editor() ) return; … … 89 90 } 90 91 public function add_editor_style_gutenberg() { 92 if ( ! function_exists( 'get_current_screen' ) ) return; 91 93 if ( ! is_admin() ) return; 92 94 if ( empty( get_current_screen() ) || ! get_current_screen()->is_block_editor() ) return; -
affilizz/trunk/classes/Util/Notices.php
r3259019 r3259287 30 30 */ 31 31 public function clean_administration_notices_classic() { 32 if ( ! function_exists( 'get_current_screen' ) ) return; 32 33 if ( ! empty( get_current_screen() ) && get_current_screen()->is_block_editor() ) return; 33 34 wp_add_inline_style( 'affilizz-admin', ':not(.notice) + .notice { margin-top: 20px; }' ); … … 35 36 public function clean_administration_notices_gutenberg() { 36 37 if ( ! is_admin() ) return; 38 if ( ! function_exists( 'get_current_screen' ) ) return; 39 37 40 if ( empty( get_current_screen() ) || ! get_current_screen()->is_block_editor() ) return; 38 41 wp_add_inline_style( 'affilizz-admin', ':not(.notice) + .notice { margin-top: 20px; }' ); -
affilizz/trunk/includes/i18n.php
r3259019 r3259287 150 150 'abbreviations' => array ( 151 151 'marketplace' => _x( 'MP', 'Abbreviation for "Marketplace"', 'affilizz' ), 152 'used' => _x( 'U', 'Abbreviation for used', 'affilizz' ),153 'refurbished' => _x( 'R', ' abbreviation for refurbished', 'affilizz' ),152 'used' => _x( 'U', 'Abbreviation for "Used', 'affilizz' ), 153 'refurbished' => _x( 'R', 'Abbreviation for "Refurbished', 'affilizz' ), 154 154 ), 155 155 ) -
affilizz/trunk/init.php
r3259019 r3259287 5 5 * Author URI: https://www.affilizz.com 6 6 * Author: Affilizz, Dewizz SAS <wordpress@affilizz.com> 7 * Version: 1.15. 17 * Version: 1.15.2 8 8 * Requires at least: 5.9 9 9 * Requires PHP: 7.3.0 … … 13 13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly 14 14 15 define( 'AFFILIZZ_VERSION', '1.15. 1' );15 define( 'AFFILIZZ_VERSION', '1.15.2' ); 16 16 define( 'AFFILIZZ_ASSETS_BUILD_VERSION', 'lB2WutOuF1C7nE9C' ); 17 17 -
affilizz/trunk/readme.txt
r3259019 r3259287 4 4 Requires at least: 5.9 5 5 Tested up to: 6.7.2 6 Stable tag: 1.15. 16 Stable tag: 1.15.2 7 7 Requires PHP: 7.3.0 8 8 License: GPLv2 or later … … 53 53 == Changelog == 54 54 55 = 1.15.2 = 56 57 * **Fixes** : 58 * Hotfixes an issue with get_current_screen on specific installations causing the 1.15.1 update to crash. 59 55 60 = 1.15.1 = 56 61 57 * Fixes an issue when uninstalling / deleting the plugin from the plugins page in the back-office. 58 * Fixes PHP notations for the array callbacks in hooks. 59 * Fixes a warning while loading admin.css and inline admin styles for gutenberg (moved to enqueue_block_assets). 60 * Changes some translation source strings. 62 * **Fixes** : 63 * Solves an issue when uninstalling / deleting the plugin from the plugins page in the back-office. 64 * PHP notations for the array callbacks in hooks are now aligned with WordPress standards. 65 * Hides a warning while loading admin.css and inline admin styles for gutenberg (moved to enqueue_block_assets). 66 * Changes some translation source strings. 67 * Changes how the CSS is loaded. 61 68 62 69 = 1.15.0 =
Note: See TracChangeset
for help on using the changeset viewer.