Comments (4)
I'm seeing same error in the awesome
branch version. The "." is correct, but I am stumped to figure out what is wring with the string, everything looks constructed well to me. Pinging Rob.
from wp-plugin-creativecommons.
Doh. There is no need for the string concatenation. This works:
const CC_BUTTON_TAIL = '"><span data-l10n-id="Share">Share</span></button>
<div class="cc-dropdown-wrapper"><button class="cc-attribution-format-select">HTML ▼</button>
<ul class="cc-dropdown-menu" aria-haspopup="true" aria-expanded="false">
<li class="cc-dropdown-menu-item cc-dropdown-menu-item-selected"><a class="cc-dropdown-menu-item-link cc-format-html-rdfa" data-cc-format="html-rdfa" href="#">HTML</a></li>
<li class="cc-dropdown-menu-item"><a class="cc-dropdown-menu-item-link cc-format-text" data-cc-format="text" href="#">Text</a></li></ul></div>
<button class="cc-attribution-help-button" data-l10n-id="?">?</button></div>';
Will submit.
from wp-plugin-creativecommons.
Should I try this plugin again for testing or do yall have all the testing done?
from wp-plugin-creativecommons.
I've merged cogdog's contribution. There may be another round of development soon...
from wp-plugin-creativecommons.
Related Issues (20)
- Notice: wp_enqueue_script() was called incorrectly HOT 12
- Warning: getimagesize: failed to open stream HOT 18
- [RFC] deprecate `create-guten-block` scripts; use `@wordpress/scripts` instead HOT 4
- Composer Upgrade failed HOT 3
- [Feature] Setup baseline docker-compose.yml file for easier development
- [Feature] Expand docker-compose.yml file to include wpcli functionality HOT 1
- [Feature] Expand docker-compose.yml file to include composer and phpcs functionality HOT 2
- [Feature] Expand docker-compose.yml file to include database GUI application image (Adminer, phpMyAdmin)
- [Bug] Footer display option for site-wide license is flush to left viewport edge HOT 4
- [Bug] Media item meta options area will not preserve selected license Title in License URL, despite License URL updating correctly HOT 3
- Release/deploy v2022.07.1
- CC plugin admin fails to load with PHP 8
- Scope strategy of the migration from `create-guten-block` scripts to a `@wordpress/scripts` core setup
- Release/deploy v2022.09.1
- [Bug] CC logos do not show on images, when using the WPZoom theme Inspiro HOT 3
- [Feature] Test the plugin with the latest major releases of WordPress HOT 3
- [Feature] Add support for attribution on featured image HOT 2
- Utilize organization default community health files
- [Bug] Fix JavaScript/NPM (replace cgb-scripts)
- [Feature] Use docker compose version 2 (non swarm deployment)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-plugin-creativecommons.