Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years 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:


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)

#1 @bradparbs
5 years 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.

#2 @SergeyBiryukov
5 years 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 5 years ago by SergeyBiryukov (next)
Note: See TracTickets for help on using tickets.