get_the_content() has undocumented globals
|Reported by:||slimndap||Owned by:||goranseric|
|Component:||Posts, Post Types||Keywords:||good-first-bug has-patch commit|
get_the_content() is using several globals that are mentioned, but not explained in the docblock:
* @global int $page * @global int $more * @global bool $preview * @global array $pages * @global int $multipage
It took me a while before I was able to understand what they are and where/when they are set.
Change History (15)
10 months ago
- Keywords has-patch added
- Owner set to goranseric
- Status changed from new to assigned
- Type changed from enhancement to defect (bug)
- Version changed from trunk to 0.71
Note: See TracTickets for help on using tickets.