WordPress.org

Make WordPress Core

Opened 12 months ago

Closed 12 months ago

Last modified 12 months ago

#24102 closed enhancement (invalid)

Action hook in documentation is twice

Reported by: Looimaster Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: WordPress.org site Keywords:
Focuses: Cc:

Description

http://codex.wordpress.org/Plugin_API/Action_Reference
I noticed that pre_get_posts is twice. I'm not sure if this is the correct place to report this.

And here: http://codex.wordpress.org/Roles_and_Capabilities
unfiltered_html was twice for a moment too.

Change History (2)

comment:1 bradparbs12 months ago

  • Resolution set to invalid
  • Status changed from new to closed

Because the Codex is a wiki, you can edit it to correct the information.

There are also Talk pages on the codex to discuss issues there.

comment:2 SergeyBiryukov12 months ago

  • Milestone Awaiting Review deleted

pre_get_posts indeed runs twice on a default install due to Recent Posts widget, so the example in Codex is correct.

Version 0, edited 12 months ago by SergeyBiryukov (next)
Note: See TracTickets for help on using tickets.