Skip to content
Snippets Groups Projects
Commit 38376c3f authored by ale's avatar ale
Browse files

Cleaned up patch 0165 from irrelevant parts

parent 64f06a99
Branches
No related tags found
No related merge requests found
......@@ -5,8 +5,6 @@ Subject: [PATCH 165/229] Remove Google API, google fonts, flash plugin and
fixed Std WP themes footers
---
wp-content/plugins/wp-footnotes/footnotes.php | 7 +++--
wp-content/plugins/wp-footnotes/options.php | 22 +++++---------
wp-content/themes/twentyeleven/footer.php | 5 ++--
wp-content/themes/twentythirteen/footer.php | 6 ++--
.../themes/twentythirteen/functions.php | 30 -------------------
......@@ -15,83 +13,6 @@ Subject: [PATCH 165/229] Remove Google API, google fonts, flash plugin and
wp-includes/script-loader.php | 9 ++++--
8 files changed, 24 insertions(+), 85 deletions(-)
diff --git a/wp-content/plugins/wp-footnotes/footnotes.php b/wp-content/plugins/wp-footnotes/footnotes.php
index f2449a37..48e7c17c 100644
--- a/wp-content/plugins/wp-footnotes/footnotes.php
+++ b/wp-content/plugins/wp-footnotes/footnotes.php
@@ -85,7 +85,8 @@ class swas_wp_footnotes {
} else {
// Set any unset options
- if ($this->current_options['version'] != WP_FOOTNOTES_VERSION) {
+ if ( !isset( $this->current_options['version'] ) || $this->current_options['version'] != WP_FOOTNOTES_VERSION ) {
+
foreach ($this->default_options as $key => $value) {
if (!isset($this->current_options[$key])) {
$this->current_options[$key] = $value;
@@ -197,7 +198,7 @@ class swas_wp_footnotes {
// Add footnote and record the key
$identifiers[$i]['use_footnote'] = count($footnotes);
$footnotes[$identifiers[$i]['use_footnote']]['text'] = $identifiers[$i]['text'];
- $footnotes[$identifiers[$i]['use_footnote']]['symbol'] = $identifiers[$i]['symbol'];
+ $footnotes[$identifiers[$i]['use_footnote']]['symbol'] = isset( $identifiers[$i]['symbol'] ) ? $identifiers[$i]['symbol'] : '';
$footnotes[$identifiers[$i]['use_footnote']]['identifiers'][] = $i;
}
}
@@ -270,7 +271,7 @@ class swas_wp_footnotes {
*/
function add_options_page() {
// Add a new menu under Options:
- add_options_page('Footnotes', 'Footnotes', 8, __FILE__, array($this, 'footnotes_options_page'));
+ add_options_page('Footnotes', 'Footnotes', 'manage_options', __FILE__, array($this, 'footnotes_options_page'));
}
diff --git a/wp-content/plugins/wp-footnotes/options.php b/wp-content/plugins/wp-footnotes/options.php
index 273c29c5..16bd7277 100644
--- a/wp-content/plugins/wp-footnotes/options.php
+++ b/wp-content/plugins/wp-footnotes/options.php
@@ -44,6 +44,10 @@
<div id="icon-options-general" class="icon32"><br></div>
<h2>WP-Footnotes Options</h2>
<form method="post">
+
+ <h3 class="title">Documentation &amp; Support</h3>
+ <p>You can view <a href="http://elvery.net/drzax/more-things/wordpress-footnotes-plugin/" title="WP-Footnotes documentation">the documentation</a> at <a href="http://elvery.net/drzax" title="sw'as">sw'as</a>, the author's website.</p>
+
<h3 class="title">Identifier</h3>
<fieldset style="border:none; line-height:20px; margin-bottom:9px; padding:10px; background:#EAF3FA; -moz-border-radius:5px; -webkit-border-radius: 5px; border-radius: 5px;">
<table>
@@ -139,25 +143,13 @@
</form>
<hr/>
- <form action="https://www.paypal.com/cgi-bin/webscr" method="post" style="display:block; float: right;">
- <input type="hidden" name="cmd" value="_s-xclick" />
- <input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but04.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!" />
- <img alt="" border="0" src="https://www.paypal.com/en_AU/i/scr/pixel.gif" width="1" height="1" style="display:block; margin:auto;" />
- <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwD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F2kHAy6uw8aKO5nYvVoTVjTIDdRCO5hgzIEb2A+CiTbujFI5SfwzFnhwRntGMdlQsAbiUKcP4kd+VxU=-----END PKCS7-----" />
- </form>
-
- <h3 class="title">Bug Reports &amp; Feature Requests</h3>
- <p>You should report any bugs you find and submit feature requests to <a href="http://plugins.trac.wordpress.org/newticket?component=wp-footnotes&owner=drzax">the WordPress Plugins bug tracker</a> (if you're not already you will need to be <a href="http://wordpress.org/extend/plugins/register.php" title="Sign up to the WordPress Plings Directory">signed up</a> and signed in at wordpress.org/extend/plugins).</p>
- <p>If you have a general enquiry that isn't a bug or feature request, the best place is the <a href="http://wordpress.org/tags/wp-footnotes?forum_id=10" title="General Support">WordPress.org support forums for WP-Footnotes</a>.
- <h3 class="title">Contributing</h3>
- <p>The plugin is primarily maintained on <a href="https://github.com/drzax/WP-Footnotes">GitHub</a> with each new release synced to the WordPress Plugins repository. If you've got the <a href="http://www.youtube.com/watch?feature=player_detailpage&v=ZHDi_AnqwN4#t=3s">skillz</a> please contribute, it's as simple as making a <a href="https://help.github.com/articles/using-pull-requests">pull request</a>.</p>
-
- <h3 class="title">Documentation &amp; Support</h3>
- <p>You can view <a href="http://elvery.net/drzax/more-things/wordpress-footnotes-plugin/" title="WP-Footnotes documentation">the documentation</a> at <a href="http://elvery.net/drzax" title="sw'as">sw'as</a>, the author's website. Support is available via the community <a href="http://wordpress.org/tags/wp-footnotes?forum_id=10" title="General Support">WordPress.org support forums for WP-Footnotes</a>. I do monitor posts there and respond when I can.</p>
<h3 class="title">Licensing &amp Copyright</h3>
<p>Copyright &copy; 2007-<?php echo date_format(new DateTime(), 'Y'); ?> <a href="http://elvery.net">Simon Elvery</a></p>
<p>WP-Footnotes is licensed under the <a href="http://www.gnu.org/licenses/gpl.html">GNU GPL</a>. WP-Footnotes comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. See the <a href="http://www.gnu.org/licenses/gpl.html">license</a> for details.</p>
+
+ <p>The plugin is primarily maintained on <a href="https://github.com/drzax/WP-Footnotes">GitHub</a> with each new release synced to the WordPress Plugins repository. If you've got the <a href="http://www.youtube.com/watch?feature=player_detailpage&v=ZHDi_AnqwN4#t=3s">skillz</a> please contribute, it's as simple as making a <a href="https://help.github.com/articles/using-pull-requests">pull request</a>.</p>
+
</div>
\ No newline at end of file
diff --git a/wp-content/themes/twentyeleven/footer.php b/wp-content/themes/twentyeleven/footer.php
index 53fa696e..ad8a99d7 100644
--- a/wp-content/themes/twentyeleven/footer.php
......@@ -232,16 +153,6 @@ diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php
index 99ef20f3..dd8cabf8 100644
--- a/wp-includes/script-loader.php
+++ b/wp-includes/script-loader.php
@@ -937,7 +937,8 @@ function wp_default_scripts( $scripts ) {
'language' => strtolower( strtok( determine_locale(), '_-' ) ),
'strings' => array(
'mejs.download-file' => __( 'Download File' ),
- 'mejs.install-flash' => __( 'You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/' ),
+ // A/I removed flash player
+ /*'mejs.install-flash' => __( 'You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/' ),*/
'mejs.fullscreen' => __( 'Fullscreen' ),
'mejs.play' => __( 'Play' ),
'mejs.pause' => __( 'Pause' ),
@@ -1660,8 +1661,9 @@ function wp_default_styles( $styles ) {
$subsets .= ',vietnamese';
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment