Changeset 3456
- Timestamp:
- 06/19/2016 10:19:37 AM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content
- Files:
-
- 4 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3455 r3456 636 636 die(); 637 637 } 638 // We don't have attachments, but /$plugin/random() will hit this check. 638 639 // We've disabled WordPress's default 404 redirects, so we'll handle them ourselves. 639 640 if ( is_404() ) { 640 641 … … 655 656 } 656 657 658 // The about page is now over at /developers/ 659 if ( 'about' === $path[2] ) { 660 wp_safe_redirect( home_url('/developers/' . ( ( isset( $path[3] ) && 'add' == $path[3] ) ? 'add/' : '' ) ) ); 661 die(); 662 } 663 664 // Otherwise, handle a plugin redirect 657 665 if ( $plugin = self::get_plugin_post( $path[2] ) ) { 658 666 $is_disabled = in_array( $plugin->post_status, array( 'disabled', 'closed' ), true ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
r3447 r3456 245 245 'updated', 246 246 'about', 247 'developers', 247 248 'admin', 248 249 'wp-admin', -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
r3446 r3456 16 16 '/browse/favorites/' => __( 'My Favorites', 'wporg-plugins' ), 17 17 '/browse/beta/' => __( 'Beta Testing', 'wporg-plugins' ), 18 '/ about/'=> __( 'Developers', 'wporg-plugins' ),18 '/developers/' => __( 'Developers', 'wporg-plugins' ), 19 19 ); 20 20 -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/page-developers.php
r3447 r3456 1 1 <?php 2 2 /** 3 * The template for the a outpage.3 * The template for the Developers page. 4 4 * 5 5 * @package WordPressdotorg\Plugin_Directory\Theme … … 22 22 <section> 23 23 <div class="container"> 24 <p><?php printf( __( 'You’ve got a cool new plugin and are hoping to give it some exposure. You’re in the right place. Just <a href="%s">ask us to host it for you</a>. You’ll be able to:', 'wporg-plugins' ), esc_url( home_url( ' about/add' ) ) ); ?></p>24 <p><?php printf( __( 'You’ve got a cool new plugin and are hoping to give it some exposure. You’re in the right place. Just <a href="%s">ask us to host it for you</a>. You’ll be able to:', 'wporg-plugins' ), esc_url( home_url( 'developers/add' ) ) ); ?></p> 25 25 <ul> 26 26 <li><?php _e( 'Keep track of how many people have downloaded it.', 'wporg-plugins' ); ?></li> … … 42 42 <ol> 43 43 <li><?php printf( __( '<a href="%s">Sign up</a> for an account on WordPress.org.', 'wporg-plugins' ), esc_url( 'https://wordpress.org/support/register.php' ) ); ?></li> 44 <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-plugins' ), esc_url( home_url( ' about/add' ) ) ); ?></li>44 <li><?php printf( __( '<a href="%s">Submit your plugin for review</a>.', 'wporg-plugins' ), esc_url( home_url( 'developers/add' ) ) ); ?></li> 45 45 <li><?php printf( __( 'After your plugin is <a href="%s">manually reviewed</a>, you will either be approved or 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' ) ); ?></li> 46 46 <li><?php printf( __( 'Once approved, you’ll be given access to a <a id="subversion" href="%s">Subversion Repository</a> where you’ll store your plugin.', 'wporg-plugins' ), esc_url( 'https://developer.wordpress.org/plugins/wordpress-org/how-to-use-subversion/' ) ); ?></li> -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
r3436 r3456 12 12 use WordPressdotorg\Plugin_Directory\Template; 13 13 14 $content = call_user_func( array( Plugin_Directory::instance(), 'split_post_content_into_pages' ),get_the_content() );14 $content = Plugin_Directory::instance()->split_post_content_into_pages( get_the_content() ); 15 15 16 16 $widget_args = array(
Note: See TracChangeset
for help on using the changeset viewer.