[wp-trac] [WordPress Trac] #49808: WordPress 5.4: Deprecated: tag_row_actions is deprecated since version 3.0.0
WordPress Trac
noreply at wordpress.org
Tue May 5 15:23:44 UTC 2020
#49808: WordPress 5.4: Deprecated: tag_row_actions is deprecated since version
3.0.0
-----------------------------------+-----------------------------
Reporter: delowardev | Owner: SergeyBiryukov
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 5.4.2
Component: Taxonomy | Version: 5.4
Severity: normal | Resolution:
Keywords: has-patch fixed-major | Focuses:
-----------------------------------+-----------------------------
Comment (by joemcgill):
Replying to [comment:9 kikito123]:
> Entonces en que situación quedan estos mensajes de error, ya que se
siguen visualizando, que debemos hacer exactamente. Gracias por cualquier
ayuda. Saludos!
>
Hola @kikito123
Perdón por mi traducción. Para solucionar este error por ahora, debe
encontrar el código que se ve así:
{{{#!php
add_filter( 'tag_row_actions', 'some_function_name' );
}}}
Y reemplácelo con un código que se vea así:
{{{#!php
foreach ( get_taxonomies() as $taxonomy ) {
add_filter( "${taxonomy}_row_actions", 'some_function_name' );
}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49808#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list