Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#23084 closed enhancement (wontfix)

Replace the use of the $more global with a filter

Reported by: mark-k's profile 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)

#1 @nacin
10 years 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.