Changeset 10090
- Timestamp:
- 07/22/2020 08:18:32 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/class-block-plugin-checker.php
r10089 r10090 847 847 $warning_functions = array( 848 848 'wp_localize_script', 849 'wp_add_inline_script', 849 850 ); 850 851 $error_functions = array( … … 859 860 __FUNCTION__, 860 861 'warning', 861 sprintf( __( 'Found PHP call <a href="%s">%s</a>. This may cause problems.', 'wporg-plugins' ), $this->get_browser_url( $call[2] ) . '#L' . $call[1], $call[0] . '()' ), 862 sprintf( 863 // translators: %s is the function name. 864 __( 'Found PHP call %s. This may cause problems.', 'wporg-plugins' ), 865 '<a href="' . $this->get_browser_url( $call[2] ) . '#L' . $call[1] . '"><code>' . $call[0] . '()</code></a>' 866 ), 862 867 $call 863 868 ); … … 866 871 __FUNCTION__, 867 872 'error', 868 sprintf( __( 'Found PHP call <a href="%s">%s</a>. This is likely to prevent your plugin from working as expected.', 'wporg-plugins' ), $this->get_browser_url( $call[2] ) . '#L' . $call[1], $call[0] . '()' ), 873 sprintf( 874 // translators: %s is the function name. 875 __( 'Found PHP call %s. This is likely to prevent your plugin from working as expected.', 'wporg-plugins' ), 876 '<a href="' . $this->get_browser_url( $call[2] ) . '#L' . $call[1] . '"><code>' . $call[0] . '()</code></a>' 877 ), 869 878 $call 870 879 ); 871 880 } 872 873 881 } 874 882
Note: See TracChangeset
for help on using the changeset viewer.