equal
deleted
inserted
replaced
28 ); |
28 ); |
29 |
29 |
30 get_current_screen()->set_help_sidebar( |
30 get_current_screen()->set_help_sidebar( |
31 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . |
31 '<p><strong>' . __( 'For more information:' ) . '</strong></p>' . |
32 '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' . |
32 '<p>' . __( '<a href="https://wordpress.org/documentation/article/tools-import-screen/">Documentation on Import</a>' ) . '</p>' . |
33 '<p>' . __( '<a href="https://wordpress.org/support/forums">Support</a>' ) . '</p>' |
33 '<p>' . __( '<a href="https://wordpress.org/support/forums/">Support forums</a>' ) . '</p>' |
34 ); |
34 ); |
35 |
35 |
36 if ( current_user_can( 'install_plugins' ) ) { |
36 if ( current_user_can( 'install_plugins' ) ) { |
37 // List of popular importer plugins from the WordPress.org API. |
37 // List of popular importer plugins from the WordPress.org API. |
38 $popular_importers = wp_get_popular_importers(); |
38 $popular_importers = wp_get_popular_importers(); |
233 /* translators: %s: URL to Add Plugins screen. */ |
233 /* translators: %s: URL to Add Plugins screen. */ |
234 __( 'If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.' ), |
234 __( 'If the importer you need is not listed, <a href="%s">search the plugin directory</a> to see if an importer is available.' ), |
235 esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) |
235 esc_url( network_admin_url( 'plugin-install.php?tab=search&type=tag&s=importer' ) ) |
236 ) . '</p>'; |
236 ) . '</p>'; |
237 } |
237 } |
|
238 |
|
239 /** |
|
240 * Fires at the end of the Import screen. |
|
241 * |
|
242 * @since 6.8.0 |
|
243 */ |
|
244 do_action( 'import_filters' ); |
238 ?> |
245 ?> |
239 |
246 |
240 </div> |
247 </div> |
241 |
248 |
242 <?php |
249 <?php |