Skip to content

Page.Render, RenderShortcodes names are confusing and should be replaced/deprecated #13472

Open
@willfaught

Description

@willfaught

Page.Render sounds like it renders the page, but it doesn't, it renders the page using a named layout. It should have been called RenderLayout. RenderLayout would be less confusing.

Page.RenderShortcodes is confusing because it makes it sound like Page.Render doesn't render shortcodes. It should have been called Render. RenderDefault would be less confusing.

Perhaps we could deprecate the current names and add aliases for the less-confusing names. If v1/v2 ever ship, RenderDefault could be fixed to be Render.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions