Changeset 3200973
- Timestamp:
- 12/02/2024 02:14:41 PM (15 months ago)
- Location:
- onlyoffice-docspace/trunk
- Files:
-
- 4 edited
-
CHANGELOG.md (modified) (1 diff)
-
onlyoffice-docspace-wordpress.php (modified) (2 diffs)
-
public/class-oodsp-public-docspace.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
onlyoffice-docspace/trunk/CHANGELOG.md
r3156337 r3200973 1 1 # Change Log 2 2 3 ## 2.1.2 4 ## Changed 5 - fixed xss vulnerabilities in onlyoffice-docspace page component 3 6 4 7 ## 2.1.1 -
onlyoffice-docspace/trunk/onlyoffice-docspace-wordpress.php
r3156337 r3200973 8 8 * Plugin URI: https://github.com/ONLYOFFICE/onlyoffice-docspace-wordpress 9 9 * Description: Add ONLYOFFICE DocSpace on page 10 * Version: 2.1. 110 * Version: 2.1.2 11 11 * Requires at least: 5.7 12 12 * Requires PHP: 7.4 … … 46 46 */ 47 47 define( 'OODSP_PLUGIN_NAME', 'onlyoffice-docspace-wordpress' ); 48 define( 'OODSP_VERSION', '2.1. 1' );48 define( 'OODSP_VERSION', '2.1.2' ); 49 49 define( 'OODSP_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); 50 50 define( 'OODSP_PLUGIN_FILE', __FILE__ ); -
onlyoffice-docspace/trunk/public/class-oodsp-public-docspace.php
r3086336 r3200973 183 183 ); 184 184 185 $align = ! empty( $atts['align'] ) ? 'align' . $atts['align']: '';186 $size = ! empty( $atts['width'] ) && ! ( 'full' === $atts['align'] ) ? 'width: ' . $atts['width']. ';' : '';187 $size .= ! empty( $atts['height'] ) ? 'height: ' . $atts['height']. ';' : '';185 $align = ! empty( $atts['align'] ) ? 'align' . sanitize_text_field( $atts['align'] ) : ''; 186 $size = ! empty( $atts['width'] ) && ! ( 'full' === $atts['align'] ) ? 'width: ' . sanitize_text_field( $atts['width'] ) . ';' : ''; 187 $size .= ! empty( $atts['height'] ) ? 'height: ' . sanitize_text_field( $atts['height'] ) . ';' : ''; 188 188 189 $output = '<div class="wp-block-onlyoffice-docspace-wordpress-onlyoffice-docspace ' . $align . ' size-full" style="' . $size. '">';189 $output = '<div class="wp-block-onlyoffice-docspace-wordpress-onlyoffice-docspace ' . esc_attr( $align ) . ' size-full" style="' . esc_attr( $size ) . '">'; 190 190 $output .= "<div class='onlyoffice-docspace-block' data-config='" . wp_json_encode( $atts ) . "' id='onlyoffice-docspace-block-" . $instance . "'></div>"; 191 191 $output .= '</div>'; -
onlyoffice-docspace/trunk/readme.txt
r3156337 r3200973 4 4 Requires at least: 6.2 5 5 Tested up to: 6.3.1 6 Stable tag: 2.1. 16 Stable tag: 2.1.2 7 7 Requires PHP: 8.0 8 8 License: GPLv2 … … 89 89 90 90 == Changelog == 91 = 2.1.2 = 92 * fixed xss vulnerabilities in onlyoffice-docspace page component 93 94 = 2.1.1 = 95 * DocSpace JS SDK version 1.0.1 96 * use username in user export data if first_name and last_name is empty 97 91 98 = 2.1.0 = 92 99 * ability to add multiple rooms/files to a page
Note: See TracChangeset
for help on using the changeset viewer.