Changeset 3750710
- Timestamp:
- 10/16/2026 03:46:40 PM (2 weeks ago)
- Location:
- opengraph-xyz
- Files:
-
- 16 added
- 10 edited
- 1 copied
-
tags/1.6.2 (copied) (copied from opengraph-xyz/trunk )
-
tags/1.6.2/.agents (added)
-
tags/1.6.2/.agents/skills (added)
-
tags/1.6.2/.agents/skills/bump-version (added)
-
tags/1.6.2/.agents/skills/bump-version/SKILL.md (added)
-
tags/1.6.2/.agents/skills/wordpress-plugin-release (added)
-
tags/1.6.2/.agents/skills/wordpress-plugin-release/SKILL.md (added)
-
tags/1.6.2/AGENTS.md (added)
-
tags/1.6.2/opengraph-xyz.php (modified) (1 diff)
-
tags/1.6.2/readme.txt (modified) (2 diffs)
-
tags/1.6.2/src/Renderer.php (modified) (2 diffs)
-
tags/1.6.2/src/assets/logo.svg (added)
-
tags/1.6.2/src/ui/api-key-modal.php (modified) (1 diff)
-
tags/1.6.2/src/ui/loading-overlay.php (modified) (2 diffs)
-
trunk/.agents (added)
-
trunk/.agents/skills (added)
-
trunk/.agents/skills/bump-version (added)
-
trunk/.agents/skills/bump-version/SKILL.md (added)
-
trunk/.agents/skills/wordpress-plugin-release (added)
-
trunk/.agents/skills/wordpress-plugin-release/SKILL.md (added)
-
trunk/AGENTS.md (added)
-
trunk/opengraph-xyz.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/Renderer.php (modified) (2 diffs)
-
trunk/src/assets/logo.svg (added)
-
trunk/src/ui/api-key-modal.php (modified) (1 diff)
-
trunk/src/ui/loading-overlay.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
opengraph-xyz/tags/1.6.2/opengraph-xyz.php
r3694570 r3750710 4 4 Plugin URI: https://github.com/opengraph-xyz/opengraph-wp 5 5 Description: Dynamic Open Graph images for your website 6 Version: 1.6. 16 Version: 1.6.2 7 7 Author: OpenGraph.xyz 8 8 Author URI: https://www.opengraph.xyz -
opengraph-xyz/tags/1.6.2/readme.txt
r3694570 r3750710 5 5 Tested up to: 7.1 6 6 Requires PHP: 5.6 7 Version: 1.6. 18 Stable tag: 1.6. 17 Version: 1.6.2 8 Stable tag: 1.6.2 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 91 91 == Changelog == 92 92 93 = 1.6.2 = 94 * Fix Squirrly SEO compatibility so template images are used for Open Graph and Twitter cards, while preserving standalone Open Graph output when Squirrly social metadata is disabled. 95 * Bundle the updated OpenGraph logo with plugin dialogs so it appears correctly in installed plugin packages. 96 93 97 = 1.6.1 = 94 98 * Update feature list -
opengraph-xyz/tags/1.6.2/src/Renderer.php
r3591624 r3750710 78 78 } 79 79 80 // Squirrly replaces existing social tags in its output buffer. Update its 81 // tag arrays after generation (10), before they are packed into HTML (99). 82 add_filter('sq_open_graph', array($this, 'maybe_replace_squirrly_og_tags'), 90, 1); 83 add_filter('sq_twitter_card', array($this, 'maybe_replace_squirrly_twitter_tags'), 90, 1); 84 // Keep standalone output available if Squirrly's social output is disabled. 85 // When enabled, its buffer removes these tags before inserting its own. 86 80 87 if (!$seo_plugin_active) { 81 88 // If no SEO / Open Graph plugin is active … … 249 256 $tags['twitter:image'] = $og_image_url; 250 257 } 258 259 return $tags; 260 } 261 262 /** 263 * Replace Squirrly's Open Graph image before its tags are packed into HTML. 264 * 265 * @param array|false $tags 266 * @return array|false 267 */ 268 public function maybe_replace_squirrly_og_tags($tags) 269 { 270 if (!is_array($tags) || empty($tags)) { 271 return $tags; 272 } 273 274 $og_image_url = $this->get_og_image_url(); 275 if (!$og_image_url) { 276 return $tags; 277 } 278 279 $tags['og:image'] = $og_image_url; 280 $tags['og:image:secure_url'] = $og_image_url; 281 $tags['og:image:width'] = $this->og_image_width; 282 $tags['og:image:height'] = $this->og_image_height; 283 $tags['og:image:type'] = $this->og_image_type; 284 285 return $tags; 286 } 287 288 /** 289 * Replace Squirrly's Twitter image before its tags are packed into HTML. 290 * 291 * @param array|false $tags 292 * @return array|false 293 */ 294 public function maybe_replace_squirrly_twitter_tags($tags) 295 { 296 if (!is_array($tags) || empty($tags)) { 297 return $tags; 298 } 299 300 $og_image_url = $this->get_og_image_url(); 301 if (!$og_image_url) { 302 return $tags; 303 } 304 305 $tags['twitter:image'] = $og_image_url; 306 $tags['twitter:card'] = 'summary_large_image'; 251 307 252 308 return $tags; -
opengraph-xyz/tags/1.6.2/src/ui/api-key-modal.php
r3616586 r3750710 11 11 style="background: white; padding: 2rem; border-radius: 8px; max-width: 500px; width: 90%; text-align: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);"> 12 12 <div style="margin-bottom: 1rem;"> 13 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../ ../assets/icon-128x128.png'); ?>"14 alt="OpenGraph Logo" style="width: 3rem; height: 3rem; margin: 0 auto 1rem; display: block;">13 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/logo.svg'); ?>" 14 alt="OpenGraph Logo" style="width: 3rem; height: auto; margin: 0 auto 1rem; display: block;"> 15 15 </div> 16 16 -
opengraph-xyz/tags/1.6.2/src/ui/loading-overlay.php
r3316804 r3750710 52 52 width: 100%; 53 53 height: 100%; 54 object-fit: co ver;54 object-fit: contain; 55 55 } 56 56 … … 65 65 <div class="loading-spinner"></div> 66 66 <div class="loading-logo"> 67 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../ ../assets/icon-128x128.png'); ?>" alt="Loading..." />67 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/logo.svg'); ?>" alt="OpenGraph logo" /> 68 68 </div> 69 69 </div> -
opengraph-xyz/trunk/opengraph-xyz.php
r3694570 r3750710 4 4 Plugin URI: https://github.com/opengraph-xyz/opengraph-wp 5 5 Description: Dynamic Open Graph images for your website 6 Version: 1.6. 16 Version: 1.6.2 7 7 Author: OpenGraph.xyz 8 8 Author URI: https://www.opengraph.xyz -
opengraph-xyz/trunk/readme.txt
r3694570 r3750710 5 5 Tested up to: 7.1 6 6 Requires PHP: 5.6 7 Version: 1.6. 18 Stable tag: 1.6. 17 Version: 1.6.2 8 Stable tag: 1.6.2 9 9 License: GPLv3 10 10 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 91 91 == Changelog == 92 92 93 = 1.6.2 = 94 * Fix Squirrly SEO compatibility so template images are used for Open Graph and Twitter cards, while preserving standalone Open Graph output when Squirrly social metadata is disabled. 95 * Bundle the updated OpenGraph logo with plugin dialogs so it appears correctly in installed plugin packages. 96 93 97 = 1.6.1 = 94 98 * Update feature list -
opengraph-xyz/trunk/src/Renderer.php
r3591624 r3750710 78 78 } 79 79 80 // Squirrly replaces existing social tags in its output buffer. Update its 81 // tag arrays after generation (10), before they are packed into HTML (99). 82 add_filter('sq_open_graph', array($this, 'maybe_replace_squirrly_og_tags'), 90, 1); 83 add_filter('sq_twitter_card', array($this, 'maybe_replace_squirrly_twitter_tags'), 90, 1); 84 // Keep standalone output available if Squirrly's social output is disabled. 85 // When enabled, its buffer removes these tags before inserting its own. 86 80 87 if (!$seo_plugin_active) { 81 88 // If no SEO / Open Graph plugin is active … … 249 256 $tags['twitter:image'] = $og_image_url; 250 257 } 258 259 return $tags; 260 } 261 262 /** 263 * Replace Squirrly's Open Graph image before its tags are packed into HTML. 264 * 265 * @param array|false $tags 266 * @return array|false 267 */ 268 public function maybe_replace_squirrly_og_tags($tags) 269 { 270 if (!is_array($tags) || empty($tags)) { 271 return $tags; 272 } 273 274 $og_image_url = $this->get_og_image_url(); 275 if (!$og_image_url) { 276 return $tags; 277 } 278 279 $tags['og:image'] = $og_image_url; 280 $tags['og:image:secure_url'] = $og_image_url; 281 $tags['og:image:width'] = $this->og_image_width; 282 $tags['og:image:height'] = $this->og_image_height; 283 $tags['og:image:type'] = $this->og_image_type; 284 285 return $tags; 286 } 287 288 /** 289 * Replace Squirrly's Twitter image before its tags are packed into HTML. 290 * 291 * @param array|false $tags 292 * @return array|false 293 */ 294 public function maybe_replace_squirrly_twitter_tags($tags) 295 { 296 if (!is_array($tags) || empty($tags)) { 297 return $tags; 298 } 299 300 $og_image_url = $this->get_og_image_url(); 301 if (!$og_image_url) { 302 return $tags; 303 } 304 305 $tags['twitter:image'] = $og_image_url; 306 $tags['twitter:card'] = 'summary_large_image'; 251 307 252 308 return $tags; -
opengraph-xyz/trunk/src/ui/api-key-modal.php
r3616586 r3750710 11 11 style="background: white; padding: 2rem; border-radius: 8px; max-width: 500px; width: 90%; text-align: center; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);"> 12 12 <div style="margin-bottom: 1rem;"> 13 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../ ../assets/icon-128x128.png'); ?>"14 alt="OpenGraph Logo" style="width: 3rem; height: 3rem; margin: 0 auto 1rem; display: block;">13 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/logo.svg'); ?>" 14 alt="OpenGraph Logo" style="width: 3rem; height: auto; margin: 0 auto 1rem; display: block;"> 15 15 </div> 16 16 -
opengraph-xyz/trunk/src/ui/loading-overlay.php
r3316804 r3750710 52 52 width: 100%; 53 53 height: 100%; 54 object-fit: co ver;54 object-fit: contain; 55 55 } 56 56 … … 65 65 <div class="loading-spinner"></div> 66 66 <div class="loading-logo"> 67 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../ ../assets/icon-128x128.png'); ?>" alt="Loading..." />67 <img src="<?php echo esc_url(plugin_dir_url(__FILE__) . '../assets/logo.svg'); ?>" alt="OpenGraph logo" /> 68 68 </div> 69 69 </div>
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)