Changeset 2634997
- Timestamp:
- 11/24/2021 06:28:57 PM (3 years ago)
- Location:
- dmca-badge/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
dmca-badge/trunk/dmca-badge-loader.php
r2260701 r2634997 15 15 require( DMCA_BADGE_DIR . '/classes/class-test-page.php' ); 16 16 } 17 -
dmca-badge/trunk/dmca-badge.php
r2628179 r2634997 2 2 /* 3 3 Plugin Name: DMCA Website Protection Badge 4 Plugin URI : https://www.dmca.com/WordPress/default.aspx?r=wpd14 Plugin URI : https://www.dmca.com/WordPress/default.aspx?r=wpd1 5 5 Description: Protect your content with a DMCA.com Website Protection Badge. Our badges deter content theft, provide tracking of unauthorized usage (with account), and make takedowns easier and more effective. Visit the plugin site to learn more about DMCA Website Protection Badges, or to register. 6 Version: 2.0.13 7 Author: DMCA.com 8 Author URI: https://wordpress.org/plugins/dmca-badge/ 9 Plugin URI: https://www.dmca.com/WordPress/default.aspx?r=wpd 6 Version : 2.0.13 7 Author : DMCA.com 8 Text Domain: dmca-badge 9 Author URI : https://wordpress.org/plugins/dmca-badge/ 10 Plugin URI : https://www.dmca.com/WordPress/default.aspx?r=wpd 10 11 License: GPLv2 11 12 */ … … 55 56 56 57 if ( isset( $settings['badge']['dmca_widget_enable'] ) && 57 $settings['badge']['dmca_widget_enable'] && 58 isset( $settings['badge']['badge_selection'] ) && 59 $settings['badge']['badge_selection'] == 'widget' ) { 60 61 wp_enqueue_script( 'dmca-widget', 'https://dmca-services.github.io/widget/widget.js' ); 58 $settings['badge']['dmca_widget_enable'] && 59 isset( $settings['badge']['badge_selection'] ) && 60 $settings['badge']['badge_selection'] == 'widget' ) { 61 $live_url = 'https://dmca-services.github.io/widget/widget.js'; 62 wp_enqueue_script( 'dmca-widget', $live_url ); 63 } 64 else{ 65 //echo '<p>Please Contact your developer.</p>'; 62 66 } 63 67 } … … 183 187 $dmca_login_token = ! $err ? str_replace( '"', '', $response ) : ''; 184 188 set_transient( 'dmca_login_token', $dmca_login_token ); 189 } 190 else{ 191 //echo '<p>Issue in token.</p>'; 185 192 } 186 193 -
dmca-badge/trunk/readme.txt
r2628171 r2634997 67 67 68 68 == Changelog == 69 69 70 = 2.0.13 = 70 Fixed a bug with the new BETA Widget, keep testing it out and let us know how it's working71 Fixed a css bug72 Fixed a bug interfering with wp widgets71 Fixed a bug with l10n 72 Fixed a bug with yast plugin 73 Fixed a .AMP issue 73 74 74 75 = 2.0.12 = -
dmca-badge/trunk/templates/badge-custom.php
r2628171 r2634997 119 119 copySectionArea.val(previewPanelHTML.replace('script>', 'script src="' + staticScriptSrc + '">')); 120 120 }, 121 // onSubmit: function (ev) {122 // $(ev.el).css('background-color', '#' + ev.hex);123 //124 // $(ev.el).parent().find('input').val(RGBToHex($(ev.el).parent().find('.cp').css('background-color')));125 //126 // $(ev.el).hides();127 // },128 121 onHide: function (ev) { 129 122 $(ev.el).parent().find('input').val(RGBToHex($(ev.el).parent().find('.cp').css('background-color'))); -
dmca-badge/trunk/templates/badge-regular.php
r2514505 r2634997 11 11 $badge_selection = isset( $badge_settings['badge_selection'] ) ? $badge_settings['badge_selection'] : 'regular'; 12 12 $badge_selection = $badge_selection === 'regular' ? 'selected' : ''; 13 14 13 ?> 15 14 <div class="dmca-badge-wrap dmca-regular-badge <?php echo esc_attr( $badge_selection ); ?>"> 15 <p>Select a DMCA Website Protection Badge by clicking on it.</p> 16 <pre style="display:none" id="badge-template"><?php echo htmlentities( $badge_template ); ?></pre> 17 <?php echo DMCA_Badge_Plugin::this()->get_badges_html( DMCA_Badge_Plugin::this()->get_form_settings_value( 'badge', 'url' ) ); ?> 16 18 17 <p>Select a DMCA Website Protection Badge by clicking on it.</p>18 <pre style="display:none" id="badge-template"><?php echo htmlentities( $badge_template ); ?></pre>19 20 <?php echo DMCA_Badge_Plugin::this()->get_badges_html( DMCA_Badge_Plugin::this()->get_form_settings_value( 'badge', 'url' ) ); ?>21
Note: See TracChangeset
for help on using the changeset viewer.