Changeset 3011817
- Timestamp:
- 12/19/2023 09:52:24 AM (2 years ago)
- Location:
- siteimprove
- Files:
-
- 29 added
- 10 edited
-
assets/banner-1544x500.png (modified) (previous)
-
assets/banner-772x250.png (modified) (previous)
-
assets/icon-128x128.png (modified) (previous)
-
assets/icon-256x256.png (modified) (previous)
-
tags/2.0.5 (added)
-
tags/2.0.5/admin (added)
-
tags/2.0.5/admin/class-siteimprove-admin.php (added)
-
tags/2.0.5/admin/css (added)
-
tags/2.0.5/admin/css/siteimprove-admin.css (added)
-
tags/2.0.5/admin/css/siteimprove-preview.css (added)
-
tags/2.0.5/admin/img (added)
-
tags/2.0.5/admin/img/si-icon.svg (added)
-
tags/2.0.5/admin/index.php (added)
-
tags/2.0.5/admin/js (added)
-
tags/2.0.5/admin/js/siteimprove-admin.js (added)
-
tags/2.0.5/admin/js/siteimprove-gutenberg.js (added)
-
tags/2.0.5/admin/js/siteimprove.js (added)
-
tags/2.0.5/admin/partials (added)
-
tags/2.0.5/admin/partials/class-siteimprove-admin-settings.php (added)
-
tags/2.0.5/includes (added)
-
tags/2.0.5/includes/class-siteimprove-activator.php (added)
-
tags/2.0.5/includes/class-siteimprove-deactivator.php (added)
-
tags/2.0.5/includes/class-siteimprove-i18n.php (added)
-
tags/2.0.5/includes/class-siteimprove-loader.php (added)
-
tags/2.0.5/includes/class-siteimprove.php (added)
-
tags/2.0.5/includes/class-siteimproveutils.php (added)
-
tags/2.0.5/includes/index.php (added)
-
tags/2.0.5/index.php (added)
-
tags/2.0.5/languages (added)
-
tags/2.0.5/languages/siteimprove.pot (added)
-
tags/2.0.5/readme.txt (added)
-
tags/2.0.5/siteimprove.php (added)
-
tags/2.0.5/uninstall.php (added)
-
trunk/admin/class-siteimprove-admin.php (modified) (1 diff)
-
trunk/admin/css/siteimprove-admin.css (modified) (1 diff)
-
trunk/admin/img/si-icon.svg (modified) (1 diff)
-
trunk/admin/js/siteimprove-gutenberg.js (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/siteimprove.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
siteimprove/trunk/admin/class-siteimprove-admin.php
r2960510 r3011817 421 421 422 422 if ( ( is_preview() || is_singular() ) && 1 === $prepublish_allowed && 1 === $prepublish_enabled ) { 423 $prepublish_button = '<svg xmlns="http://www.w3.org/2000/svg" height="28px" width="28px" viewBox="0 0 24 24" focusable="false" aria-hidden="true" fill="currentColor"><path fill="#141155" d="M12.015625.113281C5.433594.113281.113281 5.433594.113281 12.015625c0 6.578125 5.320313 11.886719 11.902344 11.886719 6.578125 0 11.886719-5.324219 11.886719-11.886719 0-6.566406-5.324219-11.902344-11.886719-11.902344Zm0 0"></path><path fill="#fff" d="m6.097656 14.796875 1.695313-1.003906c.367187.945312 1.074219 1.539062 2.328125 1.539062 1.257812 0 1.625-.507812 1.625-1.074219 0-.746093-.679688-1.042968-2.1875-1.480468-1.539063-.4375-3.050782-1.074219-3.050782-3.007813 0-1.933593 1.609376-2.992187 3.332032-2.992187s2.9375.847656 3.613281 2.257812l-1.664063.960938c-.367187-.777344-.917968-1.300782-1.949218-1.300782-.832032 0-1.328125.4375-1.328125 1.019532 0 .621094.382812.945312 1.921875 1.410156 1.609375.523438 3.316406 1.058594 3.316406 3.121094 0 1.890625-1.523438 3.046875-3.671875 3.046875-2.058594.015625-3.441406-.972657-3.980469-2.496094m8.667969-6.917969c0-.621094.507813-1.160156 1.144531-1.160156.636719 0 1.15625.539062 1.15625 1.160156 0 .621094-.507812 1.140625-1.15625 1.140625-.648437 0-1.144531-.519531-1.144531-1.140625m.214844 1.988282h1.863281v7.230468h-1.863281Zm0 0"></path></svg>'; 423 $prepublish_button = 424 '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" height="28px" width="28px" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="28px" height="28px" viewBox="0 0 300 300" style="enable-background:new 0 0 300 300;" xml:space="preserve"> 425 <circle fill="#0D4CD3" cx="150" cy="150" r="150"/> 426 <g> 427 <path fill="#FFFFFF" d="M167.9,135.3l-14.3-4.2c-6.5-2-11.6-3.8-15.4-5.4c-3.8-1.6-6.5-3.4-8.1-5.2c-1.6-1.8-2.4-4.1-2.4-6.9 c0-3.4,1.1-6.3,3.2-8.7c2.1-2.5,5.1-4.4,9-5.7c3.8-1.3,8.3-2,13.5-2c5.2,0,10.4,0.7,15.6,2c5.2,1.3,9.9,3.2,14.3,5.5 c4.4,2.3,8,5.1,11,8.2l19-28.1c-6.5-6.3-15.1-11.2-25.7-14.8c-10.7-3.6-22.2-5.5-34.6-5.5c-9,0-17.3,1.3-24.9,3.8 c-7.6,2.5-14.2,6.1-19.9,10.7c-5.6,4.6-10,10-13.1,16.2c-3.1,6.2-4.7,13-4.7,20.3c0,11.4,3.7,21.2,11.1,29.3 c7.4,8.1,19.6,14.5,36.5,19.2l14.1,4c9.9,2.7,16.7,5.4,20.3,8.3c3.6,2.9,5.5,6.4,5.5,10.7c0,5.2-2.5,9.1-7.6,11.8 c-5,2.7-11.6,4-19.6,4c-5.7,0-11.6-0.7-17.6-2.2c-6.1-1.4-11.7-3.5-17.1-6.2c-5.3-2.7-9.7-5.8-13.1-9.5l-18.3,29.1 c8.1,7,18.1,12.3,29.8,15.9c11.7,3.7,23.8,5.5,36.2,5.5c13.4,0,24.9-2.2,34.6-6.7s17.2-10.6,22.6-18.6c5.3-7.9,8-17.1,8-27.5 c0-11.9-3.8-21.5-11.3-29C196.8,146.4,184.7,140.2,167.9,135.3z"/> 428 </g> 429 </svg>'; 424 430 $admin_bar->add_menu( 425 431 array( -
siteimprove/trunk/admin/css/siteimprove-admin.css
r2919146 r3011817 22 22 23 23 #adminmenu li.toplevel_page_siteimprove .wp-menu-image img { 24 padding: 6px 0 0;24 padding: 7px 0 0; 25 25 } -
siteimprove/trunk/admin/img/si-icon.svg
r2919146 r3011817 1 <svg xmlns="http://www.w3.org/2000/svg" height="20px" width="20px" viewBox="0 0 24 24" focusable="false" aria-hidden="true" fill="currentColor"><path fill="#141155" d="M12.015625.113281C5.433594.113281.113281 5.433594.113281 12.015625c0 6.578125 5.320313 11.886719 11.902344 11.886719 6.578125 0 11.886719-5.324219 11.886719-11.886719 0-6.566406-5.324219-11.902344-11.886719-11.902344Zm0 0"></path><path fill="#fff" d="m6.097656 14.796875 1.695313-1.003906c.367187.945312 1.074219 1.539062 2.328125 1.539062 1.257812 0 1.625-.507812 1.625-1.074219 0-.746093-.679688-1.042968-2.1875-1.480468-1.539063-.4375-3.050782-1.074219-3.050782-3.007813 0-1.933593 1.609376-2.992187 3.332032-2.992187s2.9375.847656 3.613281 2.257812l-1.664063.960938c-.367187-.777344-.917968-1.300782-1.949218-1.300782-.832032 0-1.328125.4375-1.328125 1.019532 0 .621094.382812.945312 1.921875 1.410156 1.609375.523438 3.316406 1.058594 3.316406 3.121094 0 1.890625-1.523438 3.046875-3.671875 3.046875-2.058594.015625-3.441406-.972657-3.980469-2.496094m8.667969-6.917969c0-.621094.507813-1.160156 1.144531-1.160156.636719 0 1.15625.539062 1.15625 1.160156 0 .621094-.507812 1.140625-1.15625 1.140625-.648437 0-1.144531-.519531-1.144531-1.140625m.214844 1.988282h1.863281v7.230468h-1.863281Zm0 0"></path></svg> 1 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" height="20px" width="20px" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 300 300" style="enable-background:new 0 0 300 300;" xml:space="preserve"> 2 <circle fill="#0D4CD3" cx="150" cy="150" r="150"/> 3 <g> 4 <path fill="#FFFFFF" d="M167.9,135.3l-14.3-4.2c-6.5-2-11.6-3.8-15.4-5.4c-3.8-1.6-6.5-3.4-8.1-5.2c-1.6-1.8-2.4-4.1-2.4-6.9 c0-3.4,1.1-6.3,3.2-8.7c2.1-2.5,5.1-4.4,9-5.7c3.8-1.3,8.3-2,13.5-2c5.2,0,10.4,0.7,15.6,2c5.2,1.3,9.9,3.2,14.3,5.5 c4.4,2.3,8,5.1,11,8.2l19-28.1c-6.5-6.3-15.1-11.2-25.7-14.8c-10.7-3.6-22.2-5.5-34.6-5.5c-9,0-17.3,1.3-24.9,3.8 c-7.6,2.5-14.2,6.1-19.9,10.7c-5.6,4.6-10,10-13.1,16.2c-3.1,6.2-4.7,13-4.7,20.3c0,11.4,3.7,21.2,11.1,29.3 c7.4,8.1,19.6,14.5,36.5,19.2l14.1,4c9.9,2.7,16.7,5.4,20.3,8.3c3.6,2.9,5.5,6.4,5.5,10.7c0,5.2-2.5,9.1-7.6,11.8 c-5,2.7-11.6,4-19.6,4c-5.7,0-11.6-0.7-17.6-2.2c-6.1-1.4-11.7-3.5-17.1-6.2c-5.3-2.7-9.7-5.8-13.1-9.5l-18.3,29.1 c8.1,7,18.1,12.3,29.8,15.9c11.7,3.7,23.8,5.5,36.2,5.5c13.4,0,24.9-2.2,34.6-6.7s17.2-10.6,22.6-18.6c5.3-7.9,8-17.1,8-27.5 c0-11.9-3.8-21.5-11.3-29C196.8,146.4,184.7,140.2,167.9,135.3z"/> 5 </g> 6 </svg> -
siteimprove/trunk/admin/js/siteimprove-gutenberg.js
r2960510 r3011817 8 8 var useState = wp.element.useState; 9 9 10 var svgIcon = createElement(SVG, { xmlns:"http://www.w3.org/2000/svg", height:"24px", width:"24px", viewBox:"0 0 24 24", focusable:"false", 'aria-hidden':"true", fill:"currentColor" }, 11 createElement(Path, { fill:"#141155", d:"M12.015625.113281C5.433594.113281.113281 5.433594.113281 12.015625c0 6.578125 5.320313 11.886719 11.902344 11.886719 6.578125 0 11.886719-5.324219 11.886719-11.886719 0-6.566406-5.324219-11.902344-11.886719-11.902344Zm0 0" }), 12 createElement(Path, { fill:"#fff", d:"m6.097656 14.796875 1.695313-1.003906c.367187.945312 1.074219 1.539062 2.328125 1.539062 1.257812 0 1.625-.507812 1.625-1.074219 0-.746093-.679688-1.042968-2.1875-1.480468-1.539063-.4375-3.050782-1.074219-3.050782-3.007813 0-1.933593 1.609376-2.992187 3.332032-2.992187s2.9375.847656 3.613281 2.257812l-1.664063.960938c-.367187-.777344-.917968-1.300782-1.949218-1.300782-.832032 0-1.328125.4375-1.328125 1.019532 0 .621094.382812.945312 1.921875 1.410156 1.609375.523438 3.316406 1.058594 3.316406 3.121094 0 1.890625-1.523438 3.046875-3.671875 3.046875-2.058594.015625-3.441406-.972657-3.980469-2.496094m8.667969-6.917969c0-.621094.507813-1.160156 1.144531-1.160156.636719 0 1.15625.539062 1.15625 1.160156 0 .621094-.507812 1.140625-1.15625 1.140625-.648437 0-1.144531-.519531-1.144531-1.140625m.214844 1.988282h1.863281v7.230468h-1.863281Zm0 0"}) 10 const svgIcon = React.createElement( 11 'svg', 12 { 13 version: '1.1', 14 xmlns: 'http://www.w3.org/2000/svg', 15 height: '20px', 16 width: '20px', 17 xmlnsXlink: 'http://www.w3.org/1999/xlink', 18 x: '0px', 19 y: '0px', 20 viewBox: '0 0 300 300', 21 style: { 'enableBackground': 'new 0 0 300 300' }, 22 xmlSpace: 'preserve', 23 }, 24 React.createElement( 25 'circle', 26 { 27 fill: '#0D4CD3', 28 cx: '150', 29 cy: '150', 30 r: '150' 31 } 32 ), 33 React.createElement( 34 'g', 35 null, 36 React.createElement( 37 'path', 38 { 39 fill: '#FFFFFF', 40 d: 'M167.9,135.3l-14.3-4.2c-6.5-2-11.6-3.8-15.4-5.4c-3.8-1.6-6.5-3.4-8.1-5.2c-1.6-1.8-2.4-4.1-2.4-6.9 c0-3.4,1.1-6.3,3.2-8.7c2.1-2.5,5.1-4.4,9-5.7c3.8-1.3,8.3-2,13.5-2c5.2,0,10.4,0.7,15.6,2c5.2,1.3,9.9,3.2,14.3,5.5 c4.4,2.3,8,5.1,11,8.2l19-28.1c-6.5-6.3-15.1-11.2-25.7-14.8c-10.7-3.6-22.2-5.5-34.6-5.5c-9,0-17.3,1.3-24.9,3.8 c-7.6,2.5-14.2,6.1-19.9,10.7c-5.6,4.6-10,10-13.1,16.2c-3.1,6.2-4.7,13-4.7,20.3c0,11.4,3.7,21.2,11.1,29.3 c7.4,8.1,19.6,14.5,36.5,19.2l14.1,4c9.9,2.7,16.7,5.4,20.3,8.3c3.6,2.9,5.5,6.4,5.5,10.7c0,5.2-2.5,9.1-7.6,11.8 c-5,2.7-11.6,4-19.6,4c-5.7,0-11.6-0.7-17.6-2.2c-6.1-1.4-11.7-3.5-17.1-6.2c-5.3-2.7-9.7-5.8-13.1-9.5l-18.3,29.1 c8.1,7,18.1,12.3,29.8,15.9c11.7,3.7,23.8,5.5,36.2,5.5c13.4,0,24.9-2.2,34.6-6.7s17.2-10.6,22.6-18.6c5.3-7.9,8-17.1,8-27.5 c0-11.9-3.8-21.5-11.3-29C196.8,146.4,184.7,140.2,167.9,135.3z' 41 } 42 ) 43 ) 13 44 ); 14 45 -
siteimprove/trunk/readme.txt
r2960600 r3011817 86 86 87 87 == Changelog == 88 = 2.0.5 = 89 * Updated - Siteimprove logo 90 88 91 = 2.0.4 = 89 92 * Added - Siteimprove Recheck to Gutenberg Editor 90 * Added – When recheck has been ordered, the button will be re-enabled93 * Added - When recheck is complete, the button will be re-enabled 91 94 * Bugfix - Fixed an issue with si_preview returning undefined index 92 95 * Bugfix - Fixed an highlighting issue in which it didn't restore original HTML structure -
siteimprove/trunk/siteimprove.php
r2960510 r3011817 10 10 * Plugin URI: https://www.siteimprove.com/integrations/cms-plugin/wordpress/ 11 11 * Description: Integration with Siteimprove. 12 * Version: 2.0. 412 * Version: 2.0.5 13 13 * Author: Siteimprove 14 14 * Author URI: http://www.siteimprove.com/
Note: See TracChangeset
for help on using the changeset viewer.