• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Known Genesis 2.0.0 Bugs and Fixes

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Known Genesis 2.0.0 Bugs and Fixes

This topic is: resolved

Tagged: bugs, fixes, genesis 2.0.0, outreach, Superfish

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 6 months ago by Gary Jones.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 17, 2013 at 6:42 am #57034
    Gary Jones
    Member

    The following are known bugs for Genesis 2.0.0, and fixes for that will also appear in Genesis 2.0.1. (which means it's fine on this occasion to edit core Genesis files, if you're comfortable doing so).

    1. Trying to log in to admin gives either a whitescreen, or the following error:

    Catchable fatal error: Argument 3 passed to Genesis_Settings_Sanitizer::add_filter() must be an array, string given, called in ...wp-content/themes/genesis/lib/classes/sanitization.php on line 287 and defined in ...wp-content/themes/genesis/lib/classes/sanitization.php on line 69

    See http://gamajo.com/type-hint-bug/ for more explanation and a fix.

    ---

    2. SSL sites show a warning on What's New admin page, or front-end with IE.

    This is due to the hard-coding of http: in:
    - Lead Developer gravatar strings in lib/admin/whats-new.php
    - Contributor gravatar strings in lib/functions/general.php
    - HTML5Shiv reference in lib/js/load-scripts.php

    Removing the http: from all of the instances so that the URLs start with // fixes the problem.

    ---

    3. Linked Post Authors are being displayed as HTML, instead of actual links. In lib/shortcodes/post.php, replace line 170 and 171, from:

    $author = '<a href="' . esc_url( $url ) . '" title="' . esc_attr( sprintf( __( 'Visit %s’s website', 'genesis' ), $author ) ) . '" rel="author external">' . esc_html( $author ) . '</a>';
    $output = sprintf( '<span class="author vcard">%2$s<span class="fn">%1$s</span>%3$s</span>', esc_html( $author ), $atts['before'], $atts['after'] );

    with:

    $link = '<a href="' . esc_url( $url ) . '" title="' . esc_attr( sprintf( __( 'Visit %s’s website', 'genesis' ), $author ) ) . '" rel="author external">' . esc_html( $author ) . '</a>';
    $output = sprintf( '<span class="author vcard">%2$s<span class="fn">%1$s</span>%3$s</span>', $link, $atts['before'], $atts['after'] );

    ---

    4. Events Calender and bbPress and maybe other plugins being activated, give the following Genesis error:

    Warning: in_array() [function.in-array]: Wrong datatype for second argument in (…) /wp-content/themes/genesis/lib/functions/general.php on line 293″

    In genesis/lib/functions/general.php, line 269, right before the foreach that appears on line 270, add:

    $post_type_names = array();

    ---

    5. Enabling the custom post type archive settings, but not setting a document title, results in no document title.

    In lib/structure/header.php, change line 175 from:

    $title = genesis_get_cpt_option( 'doctitle' );

    to

    $title = genesis_get_cpt_option( 'doctitle' ) ? genesis_get_cpt_option( 'doctitle' ) : $title;


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    http://genesisframework.com
    August 17, 2013 at 3:47 pm #57083
    RobG
    Member

    Hey Gary thanks for posting this I'm sure it will come in handy.


    To speed up the process please post the link to the website in question.

    We recommend using Firebug to view source codes http://getfirebug.com/

    RobGoss WordPress Developer
    We build WordPress websites for your business or personal goals
    http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgoss

    September 1, 2013 at 4:08 pm #60106
    Gary Jones
    Member

    The final list of changes between 2.0.0 and 2.0.1 can be found at http://genesischangelog.com/2.0.1 .


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Known Genesis 2.0.0 Bugs and Fixes’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble