Making WordPress.org


Ignore:
Timestamp:
04/22/2024 02:02:55 AM (2 years ago)
Author:
dufresnesteven
Message:

wporg-plugin-2024: Update single page layout and heading.

Fixes: https://github.com/WordPress/wordpress.org/issues/260
Props: ndiego

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-add.php

    r13303 r13578  
    1010
    1111?>
    12 <div class="alignwide">
    13     <h1 style="margin-bottom:var(--wp--preset--spacing--30);" class="wp-block-post-title"><?php esc_html_e( 'Add Your Plugin', 'wporg-plugins' ); ?></h1>
     12<h1 style="margin-bottom:var(--wp--preset--spacing--30);" class="wp-block-post-title"><?php esc_html_e( 'Add Your Plugin', 'wporg-plugins' ); ?></h1>
    1413
    15     <div class="entry-content">
    16         <section>
    17             <div class="container">
    18                 <p>
    19                     <?php
    20                     printf(
    21                         /* translators: 1: URL to plugin guidelines, 2: URL to plugin developer FAQ. */
    22                         wp_kses_post( __( 'Before you submit your plugin, we ask you to review our <a href="%1$s">Guidelines</a> and read the <a href="%2$s">Frequently Asked Questions</a>. A brief selections of common questions are listed below the form.', 'wporg-plugins' ) ),
    23                         esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ),
    24                         esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' )
    25                     );
    26                     ?>
    27                 </p>
     14<div class="entry-content">
     15    <section>
     16        <div class="container">
     17            <p>
     18                <?php
     19                printf(
     20                    /* translators: 1: URL to plugin guidelines, 2: URL to plugin developer FAQ. */
     21                    wp_kses_post( __( 'Before you submit your plugin, we ask you to review our <a href="%1$s">Guidelines</a> and read the <a href="%2$s">Frequently Asked Questions</a>. A brief selections of common questions are listed below the form.', 'wporg-plugins' ) ),
     22                    esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ),
     23                    esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' )
     24                );
     25                ?>
     26            </p>
    2827
    29                 <?php echo do_shortcode( '[wporg-plugin-upload]' ); ?>
     28            <?php echo do_shortcode( '[wporg-plugin-upload]' ); ?>
    3029
    31                 <p>
    32                     <?php
    33                     printf(
    34                         /* translators: URL to plugin guidelines. */
    35                         wp_kses_post( __( 'Once submitted, your plugin will be manually reviewed for any common errors as well as ensuring it complies with <a href="%s">all the guidelines</a>.', 'wporg-plugins' ) ),
    36                         esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' )
    37                     );
    38                     ?>
    39                 </p>
    40             </div>
    41         </section>
     30            <p>
     31                <?php
     32                printf(
     33                    /* translators: URL to plugin guidelines. */
     34                    wp_kses_post( __( 'Once submitted, your plugin will be manually reviewed for any common errors as well as ensuring it complies with <a href="%s">all the guidelines</a>.', 'wporg-plugins' ) ),
     35                    esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' )
     36                );
     37                ?>
     38            </p>
     39        </div>
     40    </section>
    4241
    43         <section>
    44             <div class="container">
    45                 <h2 id="faq" class="wp-block-heading"><?php esc_html_e( 'Frequently Asked Questions', 'wporg-plugins' ); ?></h2>
     42    <section>
     43        <div class="container">
     44            <h2 id="faq" class="wp-block-heading"><?php esc_html_e( 'Frequently Asked Questions', 'wporg-plugins' ); ?></h2>
    4645
    47                 <h3><?php esc_html_e( 'How long will the review process take?', 'wporg-plugins' ); ?></h3>
    48                 <p>
    49                     <?php
    50                     printf(
    51                         /* translators: URL to plugin developer FAQ. */
    52                         wp_kses_post( __( 'This is in the <a href="%s">Developer FAQ</a>. It takes anywhere between 1 and 10 days. We attempt to review all plugins within 5 business days of submission, but the process takes as long as it takes, depending on the complexity of your plugin.', 'wporg-plugins' ) ),
    53                         esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' )
    54                     );
    55                     ?>
    56                 </p>
     46            <h3><?php esc_html_e( 'How long will the review process take?', 'wporg-plugins' ); ?></h3>
     47            <p>
     48                <?php
     49                printf(
     50                    /* translators: URL to plugin developer FAQ. */
     51                    wp_kses_post( __( 'This is in the <a href="%s">Developer FAQ</a>. It takes anywhere between 1 and 10 days. We attempt to review all plugins within 5 business days of submission, but the process takes as long as it takes, depending on the complexity of your plugin.', 'wporg-plugins' ) ),
     52                    esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' )
     53                );
     54                ?>
     55            </p>
    5756
    58                 <h3><?php esc_html_e( 'What will my plugin URL be?', 'wporg-plugins' ); ?></h3>
    59                 <p><?php echo wp_kses_post( __( 'Your plugin&#8217;s URL will be populated based on the value of <code>Plugin Name</code> in your main plugin file (the one with the plugin headers). If you set yours as <code>Plugin Name: Boaty McBoatface</code> then your URL will be <code>https://wordpress.org/plugins/boaty-mcboatface</code> and your slug will be <code>boaty-mcboatface</code> for example. If there is an existing plugin with your name, then you will be <code>boaty-mcboatface-2</code> and so on. It behaves exactly like WordPress post names.', 'wporg-plugins' ) ); ?></p>
    60                 <p><?php echo wp_kses_post( __( 'Once your plugin is approved, it <em>cannot</em> be renamed.', 'wporg-plugins' ) ); ?></p>
     57            <h3><?php esc_html_e( 'What will my plugin URL be?', 'wporg-plugins' ); ?></h3>
     58            <p><?php echo wp_kses_post( __( 'Your plugin&#8217;s URL will be populated based on the value of <code>Plugin Name</code> in your main plugin file (the one with the plugin headers). If you set yours as <code>Plugin Name: Boaty McBoatface</code> then your URL will be <code>https://wordpress.org/plugins/boaty-mcboatface</code> and your slug will be <code>boaty-mcboatface</code> for example. If there is an existing plugin with your name, then you will be <code>boaty-mcboatface-2</code> and so on. It behaves exactly like WordPress post names.', 'wporg-plugins' ) ); ?></p>
     59            <p><?php echo wp_kses_post( __( 'Once your plugin is approved, it <em>cannot</em> be renamed.', 'wporg-plugins' ) ); ?></p>
    6160
    62                 <h3><?php esc_html_e( 'I made a mistake in my plugin name. Should I resubmit?', 'wporg-plugins' ); ?></h3>
    63                 <p><?php echo wp_kses_post( __( 'Please don&#8217;t! Instead email <code>plugins@wordpress.org</code> and we can rename your plugin as long as it&#8217;s not approved. Since we check emails first, the odds are we&#8217;ll catch it. If we don&#8217;t, just email us and explain the mistake. We&#8217;ll explain what to do.', 'wporg-plugins' ) ); ?></p>
     61            <h3><?php esc_html_e( 'I made a mistake in my plugin name. Should I resubmit?', 'wporg-plugins' ); ?></h3>
     62            <p><?php echo wp_kses_post( __( 'Please don&#8217;t! Instead email <code>plugins@wordpress.org</code> and we can rename your plugin as long as it&#8217;s not approved. Since we check emails first, the odds are we&#8217;ll catch it. If we don&#8217;t, just email us and explain the mistake. We&#8217;ll explain what to do.', 'wporg-plugins' ) ); ?></p>
    6463
    65                 <h3><?php esc_html_e( 'Why can&#8217;t I submit a plugin with certain display names?', 'wporg-plugins' ); ?></h3>
    66                 <p><?php echo wp_kses_post( __( 'Certain plugin names are prohibited due to trademark abuse. Similarly, we prevent their use in plugin slugs entirely for your protection.', 'wporg-plugins' ) ); ?></p>
    67             </div>
    68         </section>
    69     </div>
     64            <h3><?php esc_html_e( 'Why can&#8217;t I submit a plugin with certain display names?', 'wporg-plugins' ); ?></h3>
     65            <p><?php echo wp_kses_post( __( 'Certain plugin names are prohibited due to trademark abuse. Similarly, we prevent their use in plugin slugs entirely for your protection.', 'wporg-plugins' ) ); ?></p>
     66        </div>
     67    </section>
    7068</div>
Note: See TracChangeset for help on using the changeset viewer.