author | ymh <ymh.work@gmail.com> |
Mon, 14 Oct 2019 18:28:13 +0200 | |
changeset 9 | 177826044cd9 |
parent 7 | cf61fcea0001 |
child 16 | a86126ab1dd4 |
permissions | -rw-r--r-- |
0 | 1 |
<?php |
2 |
/** |
|
3 |
* Multisite themes administration panel. |
|
4 |
* |
|
5 |
* @package WordPress |
|
6 |
* @subpackage Multisite |
|
7 |
* @since 3.1.0 |
|
8 |
*/ |
|
9 |
||
10 |
/** Load WordPress Administration Bootstrap */ |
|
11 |
require_once( dirname( __FILE__ ) . '/admin.php' ); |
|
12 |
||
9 | 13 |
if ( ! current_user_can( 'manage_network_themes' ) ) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
14 |
wp_die( __( 'Sorry, you are not allowed to manage network themes.' ) ); |
9 | 15 |
} |
0 | 16 |
|
9 | 17 |
$wp_list_table = _get_list_table( 'WP_MS_Themes_List_Table' ); |
18 |
$pagenum = $wp_list_table->get_pagenum(); |
|
0 | 19 |
|
20 |
$action = $wp_list_table->current_action(); |
|
21 |
||
9 | 22 |
$s = isset( $_REQUEST['s'] ) ? $_REQUEST['s'] : ''; |
0 | 23 |
|
24 |
// Clean up request URI from temporary args for screen options/paging uri's to work as expected. |
|
9 | 25 |
$temp_args = array( 'enabled', 'disabled', 'deleted', 'error' ); |
0 | 26 |
$_SERVER['REQUEST_URI'] = remove_query_arg( $temp_args, $_SERVER['REQUEST_URI'] ); |
9 | 27 |
$referer = remove_query_arg( $temp_args, wp_get_referer() ); |
0 | 28 |
|
29 |
if ( $action ) { |
|
30 |
switch ( $action ) { |
|
31 |
case 'enable': |
|
9 | 32 |
check_admin_referer( 'enable-theme_' . $_GET['theme'] ); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
33 |
WP_Theme::network_enable_theme( $_GET['theme'] ); |
9 | 34 |
if ( false === strpos( $referer, '/network/themes.php' ) ) { |
0 | 35 |
wp_redirect( network_admin_url( 'themes.php?enabled=1' ) ); |
9 | 36 |
} else { |
0 | 37 |
wp_safe_redirect( add_query_arg( 'enabled', 1, $referer ) ); |
9 | 38 |
} |
0 | 39 |
exit; |
40 |
case 'disable': |
|
9 | 41 |
check_admin_referer( 'disable-theme_' . $_GET['theme'] ); |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
42 |
WP_Theme::network_disable_theme( $_GET['theme'] ); |
0 | 43 |
wp_safe_redirect( add_query_arg( 'disabled', '1', $referer ) ); |
44 |
exit; |
|
45 |
case 'enable-selected': |
|
9 | 46 |
check_admin_referer( 'bulk-themes' ); |
0 | 47 |
$themes = isset( $_POST['checked'] ) ? (array) $_POST['checked'] : array(); |
9 | 48 |
if ( empty( $themes ) ) { |
0 | 49 |
wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); |
50 |
exit; |
|
51 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
52 |
WP_Theme::network_enable_theme( (array) $themes ); |
0 | 53 |
wp_safe_redirect( add_query_arg( 'enabled', count( $themes ), $referer ) ); |
54 |
exit; |
|
55 |
case 'disable-selected': |
|
9 | 56 |
check_admin_referer( 'bulk-themes' ); |
0 | 57 |
$themes = isset( $_POST['checked'] ) ? (array) $_POST['checked'] : array(); |
9 | 58 |
if ( empty( $themes ) ) { |
0 | 59 |
wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); |
60 |
exit; |
|
61 |
} |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
62 |
WP_Theme::network_disable_theme( (array) $themes ); |
0 | 63 |
wp_safe_redirect( add_query_arg( 'disabled', count( $themes ), $referer ) ); |
64 |
exit; |
|
9 | 65 |
case 'update-selected': |
0 | 66 |
check_admin_referer( 'bulk-themes' ); |
67 |
||
9 | 68 |
if ( isset( $_GET['themes'] ) ) { |
0 | 69 |
$themes = explode( ',', $_GET['themes'] ); |
9 | 70 |
} elseif ( isset( $_POST['checked'] ) ) { |
0 | 71 |
$themes = (array) $_POST['checked']; |
9 | 72 |
} else { |
0 | 73 |
$themes = array(); |
9 | 74 |
} |
0 | 75 |
|
9 | 76 |
$title = __( 'Update Themes' ); |
0 | 77 |
$parent_file = 'themes.php'; |
78 |
||
9 | 79 |
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
0 | 80 |
|
81 |
echo '<div class="wrap">'; |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
82 |
echo '<h1>' . esc_html( $title ) . '</h1>'; |
0 | 83 |
|
9 | 84 |
$url = self_admin_url( 'update.php?action=update-selected-themes&themes=' . urlencode( join( ',', $themes ) ) ); |
85 |
$url = wp_nonce_url( $url, 'bulk-update-themes' ); |
|
0 | 86 |
|
87 |
echo "<iframe src='$url' style='width: 100%; height:100%; min-height:850px;'></iframe>"; |
|
88 |
echo '</div>'; |
|
9 | 89 |
require_once( ABSPATH . 'wp-admin/admin-footer.php' ); |
0 | 90 |
exit; |
91 |
case 'delete-selected': |
|
5 | 92 |
if ( ! current_user_can( 'delete_themes' ) ) { |
9 | 93 |
wp_die( __( 'Sorry, you are not allowed to delete themes for this site.' ) ); |
5 | 94 |
} |
95 |
||
0 | 96 |
check_admin_referer( 'bulk-themes' ); |
97 |
||
98 |
$themes = isset( $_REQUEST['checked'] ) ? (array) $_REQUEST['checked'] : array(); |
|
99 |
||
100 |
if ( empty( $themes ) ) { |
|
101 |
wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); |
|
102 |
exit; |
|
103 |
} |
|
104 |
||
5 | 105 |
$themes = array_diff( $themes, array( get_option( 'stylesheet' ), get_option( 'template' ) ) ); |
0 | 106 |
|
107 |
if ( empty( $themes ) ) { |
|
108 |
wp_safe_redirect( add_query_arg( 'error', 'main', $referer ) ); |
|
109 |
exit; |
|
110 |
} |
|
111 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
112 |
$theme_info = array(); |
5 | 113 |
foreach ( $themes as $key => $theme ) { |
114 |
$theme_info[ $theme ] = wp_get_theme( $theme ); |
|
115 |
} |
|
116 |
||
9 | 117 |
include( ABSPATH . 'wp-admin/update.php' ); |
0 | 118 |
|
119 |
$parent_file = 'themes.php'; |
|
120 |
||
121 |
if ( ! isset( $_REQUEST['verify-delete'] ) ) { |
|
122 |
wp_enqueue_script( 'jquery' ); |
|
123 |
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
|
5 | 124 |
$themes_to_delete = count( $themes ); |
0 | 125 |
?> |
126 |
<div class="wrap"> |
|
5 | 127 |
<?php if ( 1 == $themes_to_delete ) : ?> |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
128 |
<h1><?php _e( 'Delete Theme' ); ?></h1> |
5 | 129 |
<div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'This theme may be active on other sites in the network.' ); ?></p></div> |
130 |
<p><?php _e( 'You are about to remove the following theme:' ); ?></p> |
|
131 |
<?php else : ?> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
132 |
<h1><?php _e( 'Delete Themes' ); ?></h1> |
5 | 133 |
<div class="error"><p><strong><?php _e( 'Caution:' ); ?></strong> <?php _e( 'These themes may be active on other sites in the network.' ); ?></p></div> |
134 |
<p><?php _e( 'You are about to remove the following themes:' ); ?></p> |
|
135 |
<?php endif; ?> |
|
0 | 136 |
<ul class="ul-disc"> |
5 | 137 |
<?php |
9 | 138 |
foreach ( $theme_info as $theme ) { |
139 |
echo '<li>' . sprintf( |
|
140 |
/* translators: 1: theme name, 2: theme author */ |
|
141 |
_x( '%1$s by %2$s', 'theme' ), |
|
142 |
'<strong>' . $theme->display( 'Name' ) . '</strong>', |
|
143 |
'<em>' . $theme->display( 'Author' ) . '</em>' |
|
144 |
) . '</li>'; |
|
145 |
} |
|
5 | 146 |
?> |
0 | 147 |
</ul> |
5 | 148 |
<?php if ( 1 == $themes_to_delete ) : ?> |
149 |
<p><?php _e( 'Are you sure you wish to delete this theme?' ); ?></p> |
|
150 |
<?php else : ?> |
|
151 |
<p><?php _e( 'Are you sure you wish to delete these themes?' ); ?></p> |
|
152 |
<?php endif; ?> |
|
9 | 153 |
<form method="post" action="<?php echo esc_url( $_SERVER['REQUEST_URI'] ); ?>" style="display:inline;"> |
0 | 154 |
<input type="hidden" name="verify-delete" value="1" /> |
155 |
<input type="hidden" name="action" value="delete-selected" /> |
|
156 |
<?php |
|
9 | 157 |
foreach ( (array) $themes as $theme ) { |
158 |
echo '<input type="hidden" name="checked[]" value="' . esc_attr( $theme ) . '" />'; |
|
159 |
} |
|
5 | 160 |
|
161 |
wp_nonce_field( 'bulk-themes' ); |
|
162 |
||
9 | 163 |
if ( 1 == $themes_to_delete ) { |
164 |
submit_button( __( 'Yes, delete this theme' ), '', 'submit', false ); |
|
165 |
} else { |
|
166 |
submit_button( __( 'Yes, delete these themes' ), '', 'submit', false ); |
|
167 |
} |
|
0 | 168 |
?> |
169 |
</form> |
|
5 | 170 |
<?php |
171 |
$referer = wp_get_referer(); |
|
172 |
?> |
|
173 |
<form method="post" action="<?php echo $referer ? esc_url( $referer ) : ''; ?>" style="display:inline;"> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
174 |
<?php submit_button( __( 'No, return me to the theme list' ), '', 'submit', false ); ?> |
0 | 175 |
</form> |
176 |
</div> |
|
177 |
<?php |
|
9 | 178 |
require_once( ABSPATH . 'wp-admin/admin-footer.php' ); |
0 | 179 |
exit; |
180 |
} // Endif verify-delete |
|
181 |
||
182 |
foreach ( $themes as $theme ) { |
|
9 | 183 |
$delete_result = delete_theme( |
184 |
$theme, |
|
185 |
esc_url( |
|
186 |
add_query_arg( |
|
187 |
array( |
|
188 |
'verify-delete' => 1, |
|
189 |
'action' => 'delete-selected', |
|
190 |
'checked' => $_REQUEST['checked'], |
|
191 |
'_wpnonce' => $_REQUEST['_wpnonce'], |
|
192 |
), |
|
193 |
network_admin_url( 'themes.php' ) |
|
194 |
) |
|
195 |
) |
|
196 |
); |
|
0 | 197 |
} |
5 | 198 |
|
0 | 199 |
$paged = ( $_REQUEST['paged'] ) ? $_REQUEST['paged'] : 1; |
9 | 200 |
wp_redirect( |
201 |
add_query_arg( |
|
202 |
array( |
|
203 |
'deleted' => count( $themes ), |
|
204 |
'paged' => $paged, |
|
205 |
's' => $s, |
|
206 |
), |
|
207 |
network_admin_url( 'themes.php' ) |
|
208 |
) |
|
209 |
); |
|
0 | 210 |
exit; |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
211 |
default: |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
212 |
$themes = isset( $_POST['checked'] ) ? (array) $_POST['checked'] : array(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
213 |
if ( empty( $themes ) ) { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
214 |
wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
215 |
exit; |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
216 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
217 |
check_admin_referer( 'bulk-themes' ); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
218 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
219 |
/** This action is documented in wp-admin/network/site-themes.php */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
220 |
$referer = apply_filters( 'handle_network_bulk_actions-' . get_current_screen()->id, $referer, $action, $themes ); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
221 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
222 |
wp_safe_redirect( $referer ); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
223 |
exit; |
0 | 224 |
} |
225 |
} |
|
226 |
||
227 |
$wp_list_table->prepare_items(); |
|
228 |
||
229 |
add_thickbox(); |
|
230 |
||
5 | 231 |
add_screen_option( 'per_page' ); |
0 | 232 |
|
9 | 233 |
get_current_screen()->add_help_tab( |
234 |
array( |
|
235 |
'id' => 'overview', |
|
236 |
'title' => __( 'Overview' ), |
|
237 |
'content' => |
|
238 |
'<p>' . __( 'This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.' ) . '</p>' . |
|
239 |
'<p>' . __( 'If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site’s Appearance > Themes screen.' ) . '</p>' . |
|
240 |
'<p>' . __( 'Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes.' ) . '</p>', |
|
241 |
) |
|
242 |
); |
|
0 | 243 |
|
244 |
get_current_screen()->set_help_sidebar( |
|
9 | 245 |
'<p><strong>' . __( 'For more information:' ) . '</strong></p>' . |
246 |
'<p>' . __( '<a href="https://codex.wordpress.org/Network_Admin_Themes_Screen">Documentation on Network Themes</a>' ) . '</p>' . |
|
247 |
'<p>' . __( '<a href="https://wordpress.org/support/">Support</a>' ) . '</p>' |
|
0 | 248 |
); |
249 |
||
9 | 250 |
get_current_screen()->set_screen_reader_content( |
251 |
array( |
|
252 |
'heading_views' => __( 'Filter themes list' ), |
|
253 |
'heading_pagination' => __( 'Themes list navigation' ), |
|
254 |
'heading_list' => __( 'Themes list' ), |
|
255 |
) |
|
256 |
); |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
257 |
|
9 | 258 |
$title = __( 'Themes' ); |
0 | 259 |
$parent_file = 'themes.php'; |
260 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
261 |
wp_enqueue_script( 'updates' ); |
5 | 262 |
wp_enqueue_script( 'theme-preview' ); |
0 | 263 |
|
9 | 264 |
require_once( ABSPATH . 'wp-admin/admin-header.php' ); |
0 | 265 |
|
266 |
?> |
|
267 |
||
268 |
<div class="wrap"> |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
269 |
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
270 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
271 |
<?php if ( current_user_can( 'install_themes' ) ) : ?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
272 |
<a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
273 |
<?php endif; ?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
274 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
275 |
<?php |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
276 |
if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) { |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
277 |
/* translators: %s: search keywords */ |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
278 |
printf( '<span class="subtitle">' . __( 'Search results for “%s”' ) . '</span>', esc_html( $s ) ); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
279 |
} |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
280 |
?> |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
281 |
|
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
282 |
<hr class="wp-header-end"> |
0 | 283 |
|
284 |
<?php |
|
285 |
if ( isset( $_GET['enabled'] ) ) { |
|
5 | 286 |
$enabled = absint( $_GET['enabled'] ); |
287 |
if ( 1 == $enabled ) { |
|
288 |
$message = __( 'Theme enabled.' ); |
|
289 |
} else { |
|
290 |
$message = _n( '%s theme enabled.', '%s themes enabled.', $enabled ); |
|
291 |
} |
|
292 |
echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $enabled ) ) . '</p></div>'; |
|
0 | 293 |
} elseif ( isset( $_GET['disabled'] ) ) { |
5 | 294 |
$disabled = absint( $_GET['disabled'] ); |
295 |
if ( 1 == $disabled ) { |
|
296 |
$message = __( 'Theme disabled.' ); |
|
297 |
} else { |
|
298 |
$message = _n( '%s theme disabled.', '%s themes disabled.', $disabled ); |
|
299 |
} |
|
300 |
echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $disabled ) ) . '</p></div>'; |
|
0 | 301 |
} elseif ( isset( $_GET['deleted'] ) ) { |
5 | 302 |
$deleted = absint( $_GET['deleted'] ); |
303 |
if ( 1 == $deleted ) { |
|
304 |
$message = __( 'Theme deleted.' ); |
|
305 |
} else { |
|
306 |
$message = _n( '%s theme deleted.', '%s themes deleted.', $deleted ); |
|
307 |
} |
|
308 |
echo '<div id="message" class="updated notice is-dismissible"><p>' . sprintf( $message, number_format_i18n( $deleted ) ) . '</p></div>'; |
|
0 | 309 |
} elseif ( isset( $_GET['error'] ) && 'none' == $_GET['error'] ) { |
5 | 310 |
echo '<div id="message" class="error notice is-dismissible"><p>' . __( 'No theme selected.' ) . '</p></div>'; |
0 | 311 |
} elseif ( isset( $_GET['error'] ) && 'main' == $_GET['error'] ) { |
5 | 312 |
echo '<div class="error notice is-dismissible"><p>' . __( 'You cannot delete a theme while it is active on the main site.' ) . '</p></div>'; |
0 | 313 |
} |
314 |
||
315 |
?> |
|
316 |
||
5 | 317 |
<form method="get"> |
0 | 318 |
<?php $wp_list_table->search_box( __( 'Search Installed Themes' ), 'theme' ); ?> |
319 |
</form> |
|
320 |
||
321 |
<?php |
|
322 |
$wp_list_table->views(); |
|
323 |
||
9 | 324 |
if ( 'broken' == $status ) { |
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
325 |
echo '<p class="clear">' . __( 'The following themes are installed but incomplete.' ) . '</p>'; |
9 | 326 |
} |
0 | 327 |
?> |
328 |
||
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
329 |
<form id="bulk-action-form" method="post"> |
9 | 330 |
<input type="hidden" name="theme_status" value="<?php echo esc_attr( $status ); ?>" /> |
331 |
<input type="hidden" name="paged" value="<?php echo esc_attr( $page ); ?>" /> |
|
0 | 332 |
|
333 |
<?php $wp_list_table->display(); ?> |
|
334 |
</form> |
|
335 |
||
336 |
</div> |
|
337 |
||
338 |
<?php |
|
7
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
339 |
wp_print_request_filesystem_credentials_modal(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
340 |
wp_print_admin_notice_templates(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
341 |
wp_print_update_row_templates(); |
cf61fcea0001
resynchronize code repo with production
ymh <ymh.work@gmail.com>
parents:
5
diff
changeset
|
342 |
|
9 | 343 |
include( ABSPATH . 'wp-admin/admin-footer.php' ); |