diff --git a/wp-content/plugins/wp-footnotes/footnotes.php b/wp-content/plugins/wp-footnotes/footnotes.php index f2449a37a8515f797b51db5c838e22f7a8a76fec..48e7c17c1fdc2e48a652c27ed66d8a1aff51fe6c 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 273c29c533c76c6824bc4b1741a08108d474d986..16bd7277ef383b47e35f37d25a751a10ec174b3f 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 & 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-----MIIHPwYJKoZIhvcNAQcEoIIHMDCCBywCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYAZc5FQv6Su9KUiIXljTsI5yn1VRYS9kIPRk9AVwOnAb7sh5/GnpPw/bNKRvFkwRfc6SuopMEhODBY3iji/jglk0CfYWhAT3VaNNfVHN0W+njPCa21I5pxAg0uSEp4obh0rHczQi46zH+Ibo8XtncTdBK/ajiiFE5nqbR8pigz1ITELMAkGBSsOAwIaBQAwgbwGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIITs0qFEEx2+AgZg99qfawBPZYCsUgCF0QW6/V4hJBnfznZjOtt+dRhIJ6VMFwXc2NQZ6+h0FMR6IBVaQCnJrqC8ylB1kHZClL/wYitPQ+HpQ6AnLPgRQ1gnMm6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YXlwYWwuY29tggEAMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAgV86VpqAWuXvX6Oro4qJ1tYVIT5DgWpE692Ag422H7yRIr/9j/iKG4Thia/Oflx4TdL+IFJBAyPK9v6zZNZtBgPBynXb048hsP16l2vi0k5Q2JKiPDsEfBhGI+HnxLXEaUWAcVfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTA3MDQxNzAwMTczMVowIwYJKoZIhvcNAQkEMRYEFPyJWaTB49feq0RstWocrFDNvmWBMA0GCSqGSIb3DQEBAQUABIGAKWdxKM94C+5JhmL90vRLVpjhefGr8d46gtbkB8666ijuEgFoGo0ESt61EtUzDVp8iAcKqBCq1rKtQH3MOnCEr502BC9pF2kHAy6uw8aKO5nYvVoTVjTIDdRCO5hgzIEb2A+CiTbujFI5SfwzFnhwRntGMdlQsAbiUKcP4kd+VxU=-----END PKCS7-----" /> - </form> - - <h3 class="title">Bug Reports & 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 & 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 & Copyright</h3> <p>Copyright © 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 53fa696ee4a9fb94981a6b0d4f485b8c31991bb5..ad8a99d7cb517c52fe6bafcb5413ebff6e00abfb 100644 --- a/wp-content/themes/twentyeleven/footer.php +++ b/wp-content/themes/twentyeleven/footer.php @@ -26,14 +26,13 @@ <div id="site-generator"> <?php do_action( 'twentyeleven_credits' ); ?> + <?php if ( function_exists( 'the_privacy_policy_link' ) ) { the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); } ?> - <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentyeleven' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentyeleven' ); ?>"> - <?php printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); ?> - </a> + <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong> </div> </footer><!-- #colophon --> </div><!-- #page --> diff --git a/wp-content/themes/twentythirteen/footer.php b/wp-content/themes/twentythirteen/footer.php index 858f110b5a1091c93722c07bbb554b9383ec5589..5bf69ea36f60104bc8aeac23ce8960202122d35f 100644 --- a/wp-content/themes/twentythirteen/footer.php +++ b/wp-content/themes/twentythirteen/footer.php @@ -16,14 +16,14 @@ <div class="site-info"> <?php do_action( 'twentythirteen_credits' ); ?> + <?php if ( function_exists( 'the_privacy_policy_link' ) ) { the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); } ?> - <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentythirteen' ) ); ?>" class="imprint"> - <?php printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); ?> - </a> + <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong> + </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index 5c021fbe3c60eb93b1d50b6d058340f08df72435..2b2eb72fcf7cbe01957d4dd73b7cde9576058f66 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -219,36 +219,6 @@ add_action( 'after_setup_theme', 'twentythirteen_setup' ); function twentythirteen_fonts_url() { $fonts_url = ''; - /* Translators: If there are characters in your language that are not - * supported by Source Sans Pro, translate this to 'off'. Do not translate - * into your own language. - */ - $source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' ); - - /* Translators: If there are characters in your language that are not - * supported by Bitter, translate this to 'off'. Do not translate into your - * own language. - */ - $bitter = _x( 'on', 'Bitter font: on or off', 'twentythirteen' ); - - if ( 'off' !== $source_sans_pro || 'off' !== $bitter ) { - $font_families = array(); - - if ( 'off' !== $source_sans_pro ) { - $font_families[] = 'Source Sans Pro:300,400,700,300italic,400italic,700italic'; - } - - if ( 'off' !== $bitter ) { - $font_families[] = 'Bitter:400,700'; - } - - $query_args = array( - 'family' => urlencode( implode( '|', $font_families ) ), - 'subset' => urlencode( 'latin,latin-ext' ), - ); - $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); - } - return $fonts_url; } diff --git a/wp-content/themes/twentytwelve/footer.php b/wp-content/themes/twentytwelve/footer.php index 05e52e2bd86ae046059def50959d09ba84b8ca01..2ca9b6c0100326f6940e67f5248251f1bd830593 100644 --- a/wp-content/themes/twentytwelve/footer.php +++ b/wp-content/themes/twentytwelve/footer.php @@ -18,9 +18,7 @@ the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); } ?> - <a href="<?php echo esc_url( __( 'https://wordpress.org/', 'twentytwelve' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"> - <?php printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); ?> - </a> + <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong> </div><!-- .site-info --> </footer><!-- #colophon --> </div><!-- #page --> diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index ad89b2ac725197414ae04753d9900de7f396f13e..bdda0c6446b548d9b9ea785da8bb0065cfb501cb 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -145,31 +145,7 @@ require( get_template_directory() . '/inc/custom-header.php' ); function twentytwelve_get_font_url() { $font_url = ''; - /* translators: If there are characters in your language that are not supported - * by Open Sans, translate this to 'off'. Do not translate into your own language. - */ - if ( 'off' !== _x( 'on', 'Open Sans font: on or off', 'twentytwelve' ) ) { - $subsets = 'latin,latin-ext'; - - /* translators: To add an additional Open Sans character subset specific to your language, - * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. - */ - $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'twentytwelve' ); - - if ( 'cyrillic' == $subset ) { - $subsets .= ',cyrillic,cyrillic-ext'; - } elseif ( 'greek' == $subset ) { - $subsets .= ',greek,greek-ext'; - } elseif ( 'vietnamese' == $subset ) { - $subsets .= ',vietnamese'; - } - - $query_args = array( - 'family' => 'Open+Sans:400italic,700italic,400,700', - 'subset' => $subsets, - ); - $font_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); - } + /* REMOVED GoogleApis*/ return $font_url; } diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 2a5ea592f327f63f163f074ded9091a946ac5b67..89955e4bcd68933ef9c45014ec51a61166967f1a 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -850,8 +850,8 @@ function wp_default_scripts( &$scripts ) { $guessurl = wp_guess_url(); } - $scripts->base_url = $guessurl; - $scripts->content_url = defined( 'WP_CONTENT_URL' ) ? WP_CONTENT_URL : ''; + $scripts->base_url = $guessurl; + $scripts->content_url = defined('WP_CONTENT_URL')? WP_CONTENT_URL : ''; $scripts->default_version = get_bloginfo( 'version' ); $scripts->default_dirs = array( '/wp-admin/js/', '/wp-includes/js/' ); @@ -1900,25 +1900,25 @@ function wp_default_styles( &$styles ) { /* translators: If there are characters in your language that are not supported * by Open Sans, translate this to 'off'. Do not translate into your own language. */ - if ( 'off' !== _x( 'on', 'Open Sans font: on or off' ) ) { - $subsets = 'latin,latin-ext'; - - /* translators: To add an additional Open Sans character subset specific to your language, - * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. - */ - $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)' ); - - if ( 'cyrillic' == $subset ) { - $subsets .= ',cyrillic,cyrillic-ext'; - } elseif ( 'greek' == $subset ) { - $subsets .= ',greek,greek-ext'; - } elseif ( 'vietnamese' == $subset ) { - $subsets .= ',vietnamese'; - } - - // Hotlink Open Sans, for now - $open_sans_font_url = "https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets"; - } + /* if ( 'off' !== _x( 'on', 'Open Sans font: on or off' ) ) { */ + /* $subsets = 'latin,latin-ext'; */ + + /* /\* translators: To add an additional Open Sans character subset specific to your language, */ + /* * translate this to 'greek', 'cyrillic' or 'vietnamese'. Do not translate into your own language. */ + /* *\/ */ + /* $subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)' ); */ + + /* if ( 'cyrillic' == $subset ) { */ + /* $subsets .= ',cyrillic,cyrillic-ext'; */ + /* } elseif ( 'greek' == $subset ) { */ + /* $subsets .= ',greek,greek-ext'; */ + /* } elseif ( 'vietnamese' == $subset ) { */ + /* $subsets .= ',vietnamese'; */ + /* } */ + + /* // Hotlink Open Sans, for now */ + /* $open_sans_font_url = "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,300,400,600&subset=$subsets"; */ + /* } */ // Register a stylesheet for the selected admin color scheme. $styles->add( 'colors', true, array( 'wp-admin', 'buttons' ) );