Opened 10 years ago
Closed 9 years ago
#23084 closed enhancement (wontfix)
Replace the use of the $more global with a filter
Reported by: |
|
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)
Note: See
TracTickets for help on using
tickets.
I don't think $more should become a filter, but there are other tickets for cleaning up these setup_postdata() globals. See also #25349.