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-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>
Note: See TracChangeset for help on using the changeset viewer.