Changeset 13930
- Timestamp:
- 07/26/2024 04:42:27 AM (7 weeks ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-release-confirmation.php
r13929 r13930 31 31 32 32 if ( $post->release_confirmation ) { 33 Release_Confirmation_Shortcode::single_plugin( $post , $include_header = false);33 Release_Confirmation_Shortcode::single_plugin( $post ); 34 34 } 35 35 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-release-confirmation.php
r13929 r13930 91 91 $not_enabled = []; 92 92 foreach ( $plugins as $plugin ) { 93 printf( 94 '<h2><a href="%s">%s</a></h2>', 95 get_permalink( $plugin ), 96 get_the_title( $plugin ) 97 ); 98 93 99 self::single_plugin( $plugin ); 94 100 … … 116 122 } 117 123 118 static function single_plugin( $plugin , $include_header = true) {124 static function single_plugin( $plugin ) { 119 125 $releases = Plugin_Directory::get_releases( $plugin ); 120 121 if ( $include_header ) {122 printf(123 '<h2><a href="%s">%s</a></h2>',124 get_permalink( $plugin ),125 get_the_title( $plugin )126 );127 }128 126 129 127 echo '<table class="widefat plugin-releases-listing">
Note: See TracChangeset
for help on using the changeset viewer.