WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 15 months ago

#23084 closed enhancement (wontfix)

Replace the use of the $more global with a filter

Reported by: mark-k Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: General Keywords:
Focuses: Cc:

Description

Globals are evil is a good enough reason, but this global is also very poorly documented http://codex.wordpress.org/Customizing_the_Read_More#How_to_use_Read_More_in_Pages claims that it can have negative value while it is being used as boolean in the code.

Change History (1)

comment:1 @nacin15 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

I don't think $more should become a filter, but there are other tickets for cleaning up these setup_postdata() globals. See also #25349.

Note: See TracTickets for help on using tickets.