Changeset 35765
- Timestamp:
- 12/04/2015 04:12:51 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/about.php
r35763 r35765 110 110 <p><?php 111 111 if ( current_user_can( 'install_plugins' ) ) { 112 $plugin_link = '<a href="' . esc_url( network_admin_url( 'plugin-install.php?tab=plugin-information&plugin=rest-api' . 113 '&TB_iframe=true&width=600&height=550' ) ) . '" class="thickbox">WordPress REST API</a>'; 112 $url_args = array( 113 'tab' => 'plugin-information', 114 'plugin' => 'rest-api', 115 'TB_iframe' => true, 116 'width' => 600, 117 'height' => 550 118 ); 119 120 $plugin_link = '<a href="' . esc_url( add_query_arg( $url_args, network_admin_url( 'plugin-install.php' ) ) ) . '" class="thickbox">WordPress REST API</a>'; 114 121 } else { 115 122 $plugin_link = '<a href="https://wordpress.org/plugins/rest-api">WordPress REST API</a>'; … … 117 124 118 125 /* translators: WordPress REST API plugin link */ 119 printf( ( 'Infrastructure is the first part of a multi-stage rollout for the REST API, which also targets inclusion of core endpoints in an upcoming release. To get a sneak peek of the core endpoints, and for more on extending the REST API, check out the official %s plugin.' ), 120 $plugin_link 121 ); 126 printf( ( 'Infrastructure is the first part of a multi-stage rollout for the REST API, which also targets inclusion of core endpoints in an upcoming release. To get a sneak peek of the core endpoints, and for more on extending the REST API, check out the official %s plugin.' ), $plugin_link ); 122 127 ?></p> 123 128 </div> … … 130 135 <p><?php 131 136 /* translators: 1: add_term_meta() docs link, 2: get_term_meta() docs link, 3: update_term_meta() docs link */ 132 printf( ( 'Terms now nowsupport metadata, just like posts. See %1$s, %2$s, and %3$s for more information.' ),137 printf( ( 'Terms now support metadata, just like posts. See %1$s, %2$s, and %3$s for more information.' ), 133 138 '<a href="https://developer.wordpress.org/reference/functions/add_term_meta"><code>add_term_meta()</code></a>', 134 139 '<a href="https://developer.wordpress.org/reference/functions/get_term_meta"><code>get_term_meta()</code></a>', … … 141 146 <p><?php 142 147 /* translators: WP_Comment_Query class name */ 143 printf( ( 'Comment queries now have improved cache handling and performance. New arguments in %s makingcrafting robust comment queries simpler.' ), '<code>WP_Comment_Query</code>' );148 printf( ( 'Comment queries now have cache handling to improve performance. New arguments in %s make crafting robust comment queries simpler.' ), '<code>WP_Comment_Query</code>' ); 144 149 ?></p> 145 150 </div>
Note: See TracChangeset
for help on using the changeset viewer.