[wp-trac] [WordPress Trac] #47407: Documentation `tests_add_filter` function incorrect

WordPress Trac noreply at wordpress.org
Mon May 27 15:12:30 UTC 2019


#47407: Documentation `tests_add_filter` function incorrect
------------------------------+------------------------------
 Reporter:  remcotolsma       |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  assigned
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  needs-patch       |     Focuses:
------------------------------+------------------------------

Comment (by dkarfa):

 {{{#!php
 <?php

 tests_add_filter( 'muplugins_loaded', array( $this,
 '_manually_load_plugin' ) );

 public function _manually_load_plugin() {
     // Function to do.
 }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47407#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list