• 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

Returning false to genesis_load_deprecated filter breaks things.

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 › Returning false to genesis_load_deprecated filter breaks things.

This topic is: not resolved

Tagged: bug, constants, deprecated

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 1 month ago by machouinard.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 5, 2017 at 6:30 pm #205996
    machouinard
    Participant

    In 2.5 the new genesis_scripts() function requires the new Genesis_Script_Loader class using the GENESIS_CLASS_DIR constant.

    That constant is noted to be "Unused in Genesis, considered deprecated".

    Seems it would make sense to require class-genesis-script-loader.php in genesis_load_framework() where the rest of the classes are being loaded.

    Then there would be no need to require it in load-scripts.php using GENESIS_CLASS_DIR and the genesis_load_deprecated filter could still be used as originally designed.

    My two cents on a Friday evening.

    May 5, 2017 at 9:26 pm #206000
    chriss
    Member

    Hey thanks for your help, but it didn't work on my blog sewingmachinereviews.org/

    please check & let me know the solution

    thanks in advance

    May 7, 2017 at 12:14 am #206047
    machouinard
    Participant

    Disregard this comment. I discovered this morning Gary is already aware and has it covered.

    Thanks!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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