[wp-meta] [Making WordPress.org] #3019: Searching dynamic hooks returns no results

Making WordPress.org noreply at wordpress.org
Thu Aug 3 14:21:43 UTC 2017

#3019: Searching dynamic hooks returns no results
 Reporter:  ocean90        |       Owner:
     Type:  defect         |      Status:  new
 Priority:  normal         |   Milestone:
Component:  Developer Hub  |  Resolution:
 Keywords:  needs-patch    |

Comment (by pbiron):

 I'm seeing this too.  However, it isn't all searches for dynamic hooks.

 Doing a few "random" searches for dynamic hooks suggests that the problem
 only surfaces when the search contains `$object->`.

 For instance:

 * `{$old_status}_to_{$new_status}` works
 * `term_{$field}` works
 * `manage_{$screen->id}_columns` does **NOT** work
 * `rest_{$this->post_type}_query` does **NOT** work

 The odd thing is that it works correctly on my local clone of the Code
 Reference (I did an SVN update on `wporg-developer` this morning, so my
 local has the latest code).

 Hope the above helps someone track down the problem.

Ticket URL: <https://meta.trac.wordpress.org/ticket/3019#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org

More information about the wp-meta mailing list