WordPress Plugin Directory or upload a plugin in .zip format by clicking the button at the top of this page.' ), __( 'https://wordpress.org/plugins/' ) ); ?>
' . __( 'You are using a development version of WordPress. These feature plugins are also under development. Learn more.' ) . '
',
'https://make.wordpress.org/core/handbook/about/release-cycle/features-as-plugins/'
);
break;
}
?>
\n";
foreach ( (array) $api->sections as $section_name => $content ) {
if ( 'reviews' === $section_name && ( empty( $api->ratings ) || 0 === array_sum( (array) $api->ratings ) ) ) {
continue;
}
if ( isset( $plugins_section_titles[ $section_name ] ) ) {
$title = $plugins_section_titles[ $section_name ];
} else {
$title = ucwords( str_replace( '_', ' ', $section_name ) );
}
$class = ( $section_name === $section ) ? ' class="current"' : '';
$href = add_query_arg( array('tab' => $tab, 'section' => $section_name) );
$href = esc_url( $href );
$san_section = esc_attr( $section_name );
echo "\t
$title\n";
}
echo "
\n";
?>
version ) ) { ?>
- version; ?>
author ) ) { ?>
- author, '_blank' ); ?>
last_updated ) ) { ?>
-
last_updated ) ) );
?>
requires ) ) { ?>
-
requires );
?>
tested ) ) { ?>
- tested; ?>
requires_php ) ) { ?>
-
requires_php );
?>
active_installs ) ) { ?>
- active_installs >= 1000000 ) {
_ex( '1+ Million', 'Active plugin installations' );
} elseif ( 0 == $api->active_installs ) {
_ex( 'Less Than 10', 'Active plugin installations' );
} else {
echo number_format_i18n( $api->active_installs ) . '+';
}
?>
slug ) && empty( $api->external ) ) { ?>
homepage ) ) { ?>
donate_link ) && empty( $api->contributors ) ) { ?>
rating ) ) { ?>
$api->rating, 'type' => 'percent', 'number' => $api->num_ratings ) ); ?>
num_ratings ), number_format_i18n( $api->num_ratings ) ); ?>
ratings ) && array_sum( (array) $api->ratings ) > 0 ) { ?>
ratings as $key => $ratecount ) {
// Avoid div-by-zero.
$_rating = $api->num_ratings ? ( $ratecount / $api->num_ratings ) : 0;
/* translators: 1: number of stars (used to determine singular/plural), 2: number of reviews */
$aria_label = esc_attr( sprintf( _n( 'Reviews with %1$d star: %2$s. Opens in a new window.', 'Reviews with %1$d stars: %2$s. Opens in a new window.', $key ),
$key,
number_format_i18n( $ratecount )
) );
?>
contributors ) ) { ?>
contributors as $contrib_username => $contrib_profile ) {
if ( empty( $contrib_username ) && empty( $contrib_profile ) ) {
continue;
}
if ( empty( $contrib_username ) ) {
$contrib_username = preg_replace( '/^.+\/(.+)\/?$/', '\1', $contrib_profile );
}
$contrib_username = sanitize_user( $contrib_username );
if ( empty( $contrib_profile ) ) {
echo "
{$contrib_username} ";
} else {
echo "
{$contrib_username} ";
}
}
?>
donate_link ) ) { ?>
tested ) && version_compare( substr( $wp_version, 0, strlen( $api->tested ) ), $api->tested, '>' ) ) {
echo '
' . __( 'Warning: This plugin has not been tested with your current version of WordPress.' ) . '
';
} elseif ( ! empty( $api->requires ) && version_compare( substr( $wp_version, 0, strlen( $api->requires ) ), $api->requires, '<' ) ) {
echo '
' . __( 'Warning: This plugin has not been marked as compatible with your version of WordPress.' ) . '
';
}
foreach ( (array) $api->sections as $section_name => $content ) {
$content = links_add_base_url( $content, 'https://wordpress.org/plugins/' . $api->slug . '/' );
$content = links_add_target( $content, '_blank' );
$san_section = esc_attr( $section_name );
$display = ( $section_name === $section ) ? 'block' : 'none';
echo "\t
\n";
echo $content;
echo "\t
\n";
}
echo "
\n";
echo "
\n";
echo "\n"; // #plugin-information-scrollable
echo "\n";
iframe_footer();
exit;
}