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-----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-----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 0e702f26c8f2a5e18175e10a9496dba742c0df8e..0f138accb5b8c71ed7630ca970f3101ef3fb1d43 100644 --- a/wp-content/themes/twentyeleven/footer.php +++ b/wp-content/themes/twentyeleven/footer.php @@ -1,47 +1,42 @@ -<?php -/** - * Template for displaying the footer - * - * Contains the closing of the id=main div and all content after - * - * @package WordPress - * @subpackage Twenty_Eleven - * @since Twenty Eleven 1.0 - */ -?> - - </div><!-- #main --> - - <footer id="colophon" role="contentinfo"> - - <?php - /* - * A sidebar in the footer? Yep. You can customize - * your footer with three columns of widgets. - */ - if ( ! is_404() ) { - get_sidebar( 'footer' ); - } - ?> - - <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 - /* translators: %s: WordPress */ - printf( __( 'Proudly powered by %s', 'twentyeleven' ), 'WordPress' ); - ?> - </a> - </div> - </footer><!-- #colophon --> -</div><!-- #page --> - -<?php wp_footer(); ?> - -</body> -</html> +<?php +/** + * Template for displaying the footer + * + * Contains the closing of the id=main div and all content after + * + * @package WordPress + * @subpackage Twenty_Eleven + * @since Twenty Eleven 1.0 + */ +?> + + </div><!-- #main --> + + <footer id="colophon" role="contentinfo"> + + <?php + /* + * A sidebar in the footer? Yep. You can customize + * your footer with three columns of widgets. + */ + if ( ! is_404() ) { + get_sidebar( 'footer' ); + } + ?> + + <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>' ); + } + ?> + <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong> + </div> + </footer><!-- #colophon --> +</div><!-- #page --> + +<?php wp_footer(); ?> + +</body> +</html> diff --git a/wp-content/themes/twentythirteen/footer.php b/wp-content/themes/twentythirteen/footer.php index 125d52cde77bad38991d53b5e5aba7169b997a55..7c49c61de85f294008f838150c8fe17b4c37e8cf 100644 --- a/wp-content/themes/twentythirteen/footer.php +++ b/wp-content/themes/twentythirteen/footer.php @@ -1,36 +1,32 @@ -<?php -/** - * The template for displaying the footer - * - * Contains footer content and the closing of the #main and #page div elements. - * - * @package WordPress - * @subpackage Twenty_Thirteen - * @since Twenty Thirteen 1.0 - */ -?> - - </div><!-- #main --> - <footer id="colophon" class="site-footer" role="contentinfo"> - <?php get_sidebar( 'main' ); ?> - - <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 - /* translators: %s: WordPress */ - printf( __( 'Proudly powered by %s', 'twentythirteen' ), 'WordPress' ); - ?> - </a> - </div><!-- .site-info --> - </footer><!-- #colophon --> - </div><!-- #page --> - - <?php wp_footer(); ?> -</body> -</html> +<?php +/** + * The template for displaying the footer + * + * Contains footer content and the closing of the #main and #page div elements. + * + * @package WordPress + * @subpackage Twenty_Thirteen + * @since Twenty Thirteen 1.0 + */ +?> + + </div><!-- #main --> + <footer id="colophon" class="site-footer" role="contentinfo"> + <?php get_sidebar( 'main' ); ?> + + <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>' ); + } + ?> + <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong> + + </div><!-- .site-info --> + </footer><!-- #colophon --> + </div><!-- #page --> + + <?php wp_footer(); ?> +</body> +</html> diff --git a/wp-content/themes/twentythirteen/functions.php b/wp-content/themes/twentythirteen/functions.php index ff1b7c8915470798e367de0e4832dd0dde9e9767..c93cf51ba13a07b1b5719aa290a1a117a305a92f 100644 --- a/wp-content/themes/twentythirteen/functions.php +++ b/wp-content/themes/twentythirteen/functions.php @@ -250,9 +250,11 @@ function twentythirteen_fonts_url() { 'subset' => urlencode( 'latin,latin-ext' ), 'display' => urlencode( 'fallback' ), ); - $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); + $fonts_url = add_query_arg( $query_args, '' ); } +/*AI fix - tolto google font */ + return $fonts_url; } diff --git a/wp-content/themes/twentytwelve/footer.php b/wp-content/themes/twentytwelve/footer.php index c9bde312b77b8d52ee53d303723337a081980ce3..2ca9b6c0100326f6940e67f5248251f1bd830593 100644 --- a/wp-content/themes/twentytwelve/footer.php +++ b/wp-content/themes/twentytwelve/footer.php @@ -1,33 +1,28 @@ -<?php -/** - * The template for displaying the footer - * - * Contains footer content and the closing of the #main and #page div elements. - * - * @package WordPress - * @subpackage Twenty_Twelve - * @since Twenty Twelve 1.0 - */ -?> - </div><!-- #main .wrapper --> - <footer id="colophon" role="contentinfo"> - <div class="site-info"> - <?php do_action( 'twentytwelve_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/', 'twentytwelve' ) ); ?>" class="imprint" title="<?php esc_attr_e( 'Semantic Personal Publishing Platform', 'twentytwelve' ); ?>"> - <?php - /* translators: %s: WordPress */ - printf( __( 'Proudly powered by %s', 'twentytwelve' ), 'WordPress' ); - ?> - </a> - </div><!-- .site-info --> - </footer><!-- #colophon --> -</div><!-- #page --> - -<?php wp_footer(); ?> -</body> -</html> +<?php +/** + * The template for displaying the footer + * + * Contains footer content and the closing of the #main and #page div elements. + * + * @package WordPress + * @subpackage Twenty_Twelve + * @since Twenty Twelve 1.0 + */ +?> + </div><!-- #main .wrapper --> + <footer id="colophon" role="contentinfo"> + <div class="site-info"> + <?php do_action( 'twentytwelve_credits' ); ?> + <?php + if ( function_exists( 'the_privacy_policy_link' ) ) { + the_privacy_policy_link( '', '<span role="separator" aria-hidden="true"></span>' ); + } + ?> + <strong>Proudly powered by <a href="http://www.autistici.org">R*</a></strong> + </div><!-- .site-info --> + </footer><!-- #colophon --> +</div><!-- #page --> + +<?php wp_footer(); ?> +</body> +</html> diff --git a/wp-content/themes/twentytwelve/functions.php b/wp-content/themes/twentytwelve/functions.php index 1e3abde2794583b40dba35fc3a08f8442f7f45f4..8228b837243b7d6fb294172e9978246ddd5f6884 100644 --- a/wp-content/themes/twentytwelve/functions.php +++ b/wp-content/themes/twentytwelve/functions.php @@ -149,20 +149,20 @@ function twentytwelve_get_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'; + /* 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' ); + /*$subset = _x( 'no-subset', 'Open Sans font: add new subset (greek, cyrillic, vietnamese)', 'twentytwelve' ); - if ( 'cyrillic' === $subset ) { + if ( 'cyrillic' == $subset ) { $subsets .= ',cyrillic,cyrillic-ext'; - } elseif ( 'greek' === $subset ) { + } elseif ( 'greek' == $subset ) { $subsets .= ',greek,greek-ext'; - } elseif ( 'vietnamese' === $subset ) { + } elseif ( 'vietnamese' == $subset ) { $subsets .= ',vietnamese'; } @@ -171,8 +171,9 @@ function twentytwelve_get_font_url() { 'subset' => urlencode( $subsets ), 'display' => urlencode( 'fallback' ), ); - $font_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); - } + $font_url = add_query_arg( $query_args, '' ); + }*/ +/* AI fix - REMOVED GoogleApis*/ return $font_url; } @@ -239,11 +240,12 @@ function twentytwelve_resource_hints( $urls, $relation_type ) { if ( wp_style_is( 'twentytwelve-fonts', 'queue' ) && 'preconnect' === $relation_type ) { if ( version_compare( $GLOBALS['wp_version'], '4.7-alpha', '>=' ) ) { $urls[] = array( - 'href' => 'https://fonts.gstatic.com', + 'href' => '', 'crossorigin', ); } else { - $urls[] = 'https://fonts.gstatic.com'; + $urls[] = ''; + /*AI fix - font google*/ } } @@ -451,7 +453,7 @@ if ( ! function_exists( 'twentytwelve_comment' ) ) : if ( $commenter['comment_author_email'] ) { $moderation_note = __( 'Your comment is awaiting moderation.', 'twentytwelve' ); } else { - $moderation_note = __( 'Your comment is awaiting moderation. This is a preview; your comment will be visible after it has been approved.', 'twentytwelve' ); + $moderation_note = __( 'Your comment is awaiting moderation. This is a preview, your comment will be visible after it has been approved.', 'twentytwelve' ); } ?> @@ -501,7 +503,7 @@ if ( ! function_exists( 'twentytwelve_entry_meta' ) ) : $categories_list = get_the_category_list( __( ', ', 'twentytwelve' ) ); /* translators: Used between list items, there is a space after the comma. */ - $tags_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) ); + $tag_list = get_the_tag_list( '', __( ', ', 'twentytwelve' ) ); $date = sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a>', @@ -533,7 +535,7 @@ if ( ! function_exists( 'twentytwelve_entry_meta' ) ) : printf( $utility_text, $categories_list, - $tags_list, + $tag_list, $date, $author ); @@ -578,7 +580,7 @@ function twentytwelve_body_class( $classes ) { if ( empty( $background_image ) ) { if ( empty( $background_color ) ) { $classes[] = 'custom-background-empty'; - } elseif ( in_array( $background_color, array( 'fff', 'ffffff' ), true ) ) { + } elseif ( in_array( $background_color, array( 'fff', 'ffffff' ) ) ) { $classes[] = 'custom-background-white'; } } @@ -651,7 +653,6 @@ add_action( 'customize_register', 'twentytwelve_customize_register' ); * Render the site title for the selective refresh partial. * * @since Twenty Twelve 2.0 - * * @see twentytwelve_customize_register() * * @return void @@ -664,7 +665,6 @@ function twentytwelve_customize_partial_blogname() { * Render the site tagline for the selective refresh partial. * * @since Twenty Twelve 2.0 - * * @see twentytwelve_customize_register() * * @return void @@ -674,7 +674,7 @@ function twentytwelve_customize_partial_blogdescription() { } /** - * Enqueue JavaScript postMessage handlers for the Customizer. + * Enqueue Javascript postMessage handlers for the Customizer. * * Binds JS handlers to make the Customizer preview reload changes asynchronously. * diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 3f44085bc9c10a69f4ef53e8051eccc06e1bfaf1..07a169ca2cd91c8b97a8a1156d89649f0145e039 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -950,7 +950,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' ), @@ -1424,8 +1425,9 @@ function wp_default_styles( $styles ) { $subsets .= ',vietnamese'; } + // A/I removed google font // 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&display=fallback"; + $open_sans_font_url = ""; } // Register a stylesheet for the selected admin color scheme. @@ -1499,7 +1501,8 @@ function wp_default_styles( $styles ) { */ $font_family = _x( 'Noto Serif:400,400i,700,700i', 'Google Font Name and Variants' ); if ( 'off' !== $font_family ) { - $fonts_url = 'https://fonts.googleapis.com/css?family=' . urlencode( $font_family ); + // A/I removed google font + $fonts_url = '' . urlencode( $font_family ); } $styles->add( 'wp-editor-font', $fonts_url ); // No longer used in core as of 5.7.