Making WordPress.org

Changeset 13578


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

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

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

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024
Files:
3 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>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/page-developers.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( 'Developer Information', 'wporg-plugins' ); ?></h1>
     12<h1 style="margin-bottom:var(--wp--preset--spacing--30);" class="wp-block-post-title"><?php esc_html_e( 'Developer Information', 'wporg-plugins' ); ?></h1>
    1413
    15     <div class="entry-content">
    16         <p>
     14<div class="entry-content">
     15    <p>
     16        <?php
     17        /* translators: URL to plugin submission form. */
     18        printf( wp_kses_post( __( 'You&#8217;ve got a cool new plugin and are hoping to give it some exposure. You&#8217;re in the right place. Just <a href="%s">ask us to host it for you</a>. You&#8217;ll be able to:', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
     19        ?>
     20    </p>
     21    <ul>
     22        <li><?php esc_html_e( 'Keep track of how many people have downloaded it.', 'wporg-plugins' ); ?></li>
     23        <li><?php esc_html_e( 'Let people leave comments about your plugin.', 'wporg-plugins' ); ?></li>
     24        <li><?php esc_html_e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-plugins' ); ?></li>
     25        <li><?php esc_html_e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-plugins' ); ?></li>
     26    </ul>
     27
     28    <h3><?php esc_html_e( 'There are some restrictions', 'wporg-plugins' ); ?></h3>
     29    <ul>
     30        <li>
     31            <?php
     32            /* translators: URL to licence list. */
     33            printf( wp_kses_post( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — &#8220;GPLv2 or later.&#8221;', 'wporg-plugins' ) ), esc_url( 'https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) );
     34            ?>
     35        </li>
     36        <li><?php esc_html_e( 'The plugin must not do anything illegal or be morally offensive (that&#8217;s subjective, we know).', 'wporg-plugins' ); ?></li>
     37        <li>
     38            <?php
     39            /* translators: URL to Subversion. */
     40            printf( wp_kses_post( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-plugins' ) ), esc_url( 'https://subversion.apache.org/' ) );
     41            ?>
     42        </li>
     43        <li><?php esc_html_e( 'The plugin must not embed external links on the public site (like a &#8220;powered by&#8221; link) without explicitly asking the user&#8217;s permission.', 'wporg-plugins' ); ?></li>
     44        <li>
     45            <?php
     46            /* translators: URL to plugin guidelines. */
     47            printf( wp_kses_post( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) );
     48            ?>
     49        </li>
     50    </ul>
     51
     52    <h3><?php esc_html_e( 'Submission is Simple', 'wporg-plugins' ); ?></h3>
     53    <ol>
     54        <li>
     55            <?php
     56            /* translators: URL to registration form. */
     57            printf( wp_kses_post( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-plugins' ) ), esc_url( wp_registration_url() ) );
     58            ?>
     59        </li>
     60        <li>
    1761            <?php
    1862            /* translators: URL to plugin submission form. */
    19             printf( wp_kses_post( __( 'You&#8217;ve got a cool new plugin and are hoping to give it some exposure. You&#8217;re in the right place. Just <a href="%s">ask us to host it for you</a>. You&#8217;ll be able to:', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
     63            printf( wp_kses_post( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
    2064            ?>
    21         </p>
    22         <ul>
    23             <li><?php esc_html_e( 'Keep track of how many people have downloaded it.', 'wporg-plugins' ); ?></li>
    24             <li><?php esc_html_e( 'Let people leave comments about your plugin.', 'wporg-plugins' ); ?></li>
    25             <li><?php esc_html_e( 'Get your plugin rated against all the other cool WordPress plugins.', 'wporg-plugins' ); ?></li>
    26             <li><?php esc_html_e( 'Give your plugin lots of exposure in this centralized repository.', 'wporg-plugins' ); ?></li>
    27         </ul>
     65        </li>
     66        <li>
     67            <?php
     68            /* translators: URL to submission FAQ. */
     69            printf( wp_kses_post( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) );
     70            ?>
     71        </li>
     72        <li>
     73            <?php
     74            /* translators: URL to Subversion how-to page. */
     75            printf( wp_kses_post( __( 'Once approved, you&#8217;ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you&#8217;ll store your plugin.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) );
     76            ?>
     77        </li>
     78        <li>
     79            <?php
     80            /* translators: 1: URL to readme section; 2: URL to home page; */
     81            printf( wp_kses_post( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-plugins' ) ), '#readme', esc_url( home_url( '/' ) ) );
     82            ?>
     83        </li>
     84        <li>
     85            <?php
     86            /* translators: URL to developer FAQ. */
     87            printf( wp_kses_post( __( 'Check out the <strong><a href="%s">FAQ</a></strong> for more information.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) );
     88            ?>
     89        </li>
     90    </ol>
    2891
    29         <h3><?php esc_html_e( 'There are some restrictions', 'wporg-plugins' ); ?></h3>
    30         <ul>
    31             <li>
    32                 <?php
    33                 /* translators: URL to licence list. */
    34                 printf( wp_kses_post( __( 'Your plugin must be compatible with the <a href="%s">GNU General Public License v2</a>, or any later version. We strongly recommend using the same license as WordPress — &#8220;GPLv2 or later.&#8221;', 'wporg-plugins' ) ), esc_url( 'https://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses' ) );
    35                 ?>
    36             </li>
    37             <li><?php esc_html_e( 'The plugin must not do anything illegal or be morally offensive (that&#8217;s subjective, we know).', 'wporg-plugins' ); ?></li>
    38             <li>
    39                 <?php
    40                 /* translators: URL to Subversion. */
    41                 printf( wp_kses_post( __( 'You have to actually use the <a href="%s">Subversion</a> repository we give you in order for your plugin to show up on this site. The WordPress Plugin Directory is a hosting site, not a listing site.', 'wporg-plugins' ) ), esc_url( 'https://subversion.apache.org/' ) );
    42                 ?>
    43             </li>
    44             <li><?php esc_html_e( 'The plugin must not embed external links on the public site (like a &#8220;powered by&#8221; link) without explicitly asking the user&#8217;s permission.', 'wporg-plugins' ); ?></li>
    45             <li>
    46                 <?php
    47                 /* translators: URL to plugin guidelines. */
    48                 printf( wp_kses_post( __( 'Your plugin must abide by our list of <a href="%s">detailed guidelines</a>, which include not being a spammer and not abusing the systems.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/' ) );
    49                 ?>
    50             </li>
    51         </ul>
    52 
    53         <h3><?php esc_html_e( 'Submission is Simple', 'wporg-plugins' ); ?></h3>
    54         <ol>
    55             <li>
    56                 <?php
    57                 /* translators: URL to registration form. */
    58                 printf( wp_kses_post( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-plugins' ) ), esc_url( wp_registration_url() ) );
    59                 ?>
    60             </li>
    61             <li>
    62                 <?php
    63                 /* translators: URL to plugin submission form. */
    64                 printf( wp_kses_post( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-plugins' ) ), esc_url( home_url( 'developers/add/' ) ) );
    65                 ?>
    66             </li>
    67             <li>
    68                 <?php
    69                 /* translators: URL to submission FAQ. */
    70                 printf( wp_kses_post( __( 'After your plugin is <a href="%s">manually reviewed</a>, it will either be approved or you will be emailed and asked to provide more information and/or make corrections.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/#questions-about-submissions-and-approval' ) );
    71                 ?>
    72             </li>
    73             <li>
    74                 <?php
    75                 /* translators: URL to Subversion how-to page. */
    76                 printf( wp_kses_post( __( 'Once approved, you&#8217;ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you&#8217;ll store your plugin.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) );
    77                 ?>
    78             </li>
    79             <li>
    80                 <?php
    81                 /* translators: 1: URL to readme section; 2: URL to home page; */
    82                 printf( wp_kses_post( __( 'Shortly after you upload your plugin (and a <a href="%1$s">readme file</a>!) to that repository, it will be automatically displayed in the <a href="%2$s">plugins browser</a>.', 'wporg-plugins' ) ), '#readme', esc_url( home_url( '/' ) ) );
    83                 ?>
    84             </li>
    85             <li>
    86                 <?php
    87                 /* translators: URL to developer FAQ. */
    88                 printf( wp_kses_post( __( 'Check out the <strong><a href="%s">FAQ</a></strong> for more information.', 'wporg-plugins' ) ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/' ) );
    89                 ?>
    90             </li>
    91         </ol>
    92 
    93         <h3 id="readme"><?php esc_html_e( 'Readme files', 'wporg-plugins' ); ?></h3>
    94         <p>
    95             <?php
    96             /* translators: 1: URL to readme file; 2: URL to readme validator; */
    97             printf( wp_kses_post( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-plugins' ) ), esc_url( home_url( 'readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
    98             ?>
    99         </p>
    100     </div>
     92    <h3 id="readme"><?php esc_html_e( 'Readme files', 'wporg-plugins' ); ?></h3>
     93    <p>
     94        <?php
     95        /* translators: 1: URL to readme file; 2: URL to readme validator; */
     96        printf( wp_kses_post( __( 'To make your entry in the plugin browser most useful, each plugin should have a readme file named <code>readme.txt</code> that adheres to the <a href="%1$s">WordPress plugin readme file standard</a>. You can put your readme file through the <a href="%2$s">readme validator</a> to check it.', 'wporg-plugins' ) ), esc_url( home_url( 'readme.txt' ) ), esc_url( home_url( '/developers/readme-validator/' ) ) );
     97        ?>
     98    </p>
    10199</div>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/theme.json

    r13463 r13578  
    154154    },
    155155    "styles": {
     156        "blocks": {
     157            "core/post-title": {
     158                "typography": {
     159                    "fontFamily": "var(--wp--preset--font-family--eb-garamond)",
     160                    "fontSize": "36px",
     161                    "lineHeight": "1.3"
     162                }
     163            }
     164        },
    156165        "elements": {
    157166            "h2": {
Note: See TracChangeset for help on using the changeset viewer.