Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
744c4f4b40 | ||
|
|
187b2ccc2b | ||
|
|
839ade3712 | ||
|
|
51f612d861 | ||
|
|
1a0c1728e8 | ||
|
|
88224f0449 | ||
|
|
8c624294c1 | ||
|
|
b794cefbb5 | ||
|
|
76a97c3d93 | ||
|
|
d722671bb2 | ||
|
|
395bb4871d | ||
|
|
1336055b7d | ||
|
|
4cc3d03d03 | ||
|
|
32351c9497 |
@@ -0,0 +1,15 @@
|
|||||||
|
# BEGIN WordPress
|
||||||
|
# Las directivas (líneas) entre "BEGIN WordPress" y "END WordPress" son
|
||||||
|
# generadas dinámicamente y solo deberían ser modificadas mediante filtros de WordPress.
|
||||||
|
# Cualquier cambio en las directivas que hay entre esos marcadores serán sobrescritas.
|
||||||
|
<IfModule mod_rewrite.c>
|
||||||
|
RewriteEngine On
|
||||||
|
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
||||||
|
RewriteBase /
|
||||||
|
RewriteRule ^index\.php$ - [L]
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-d
|
||||||
|
RewriteRule . /index.php [L]
|
||||||
|
</IfModule>
|
||||||
|
|
||||||
|
# END WordPress
|
||||||
@@ -58,6 +58,57 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
|
|||||||
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
|
<a href="contribute.php" class="nav-tab"><?php _e( 'Get Involved' ); ?></a>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
<div class="about__section changelog has-subtle-background-color">
|
||||||
|
<div class="column">
|
||||||
|
<h2><?php _e( 'Maintenance and Security Releases' ); ?></h2>
|
||||||
|
<p>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: WordPress version. */
|
||||||
|
__( '<strong>Version %s</strong> addressed one security issue.' ),
|
||||||
|
'7.1.2'
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: HelpHub URL. */
|
||||||
|
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||||
|
sprintf(
|
||||||
|
/* translators: %s: WordPress version. */
|
||||||
|
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||||
|
sanitize_title( '7.1.2' )
|
||||||
|
)
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: 1: WordPress version number, 2: Plural number of bugs. More than one security issue. */
|
||||||
|
_n(
|
||||||
|
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bug.',
|
||||||
|
'<strong>Version %1$s</strong> addressed some security issues and fixed %2$s bugs.',
|
||||||
|
36
|
||||||
|
),
|
||||||
|
'7.1.1',
|
||||||
|
number_format_i18n( 36 )
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
<?php
|
||||||
|
printf(
|
||||||
|
/* translators: %s: HelpHub URL. */
|
||||||
|
__( 'For more information, see <a href="%s">the release notes</a>.' ),
|
||||||
|
sprintf(
|
||||||
|
/* translators: %s: WordPress version. */
|
||||||
|
esc_url( __( 'https://wordpress.org/documentation/wordpress-version/version-%s/' ) ),
|
||||||
|
sanitize_title( '7.1.1' )
|
||||||
|
)
|
||||||
|
);
|
||||||
|
?>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="about__section">
|
<div class="about__section">
|
||||||
<div class="column is-left-padding-zero is-right-padding-zero">
|
<div class="column is-left-padding-zero is-right-padding-zero">
|
||||||
<h2><?php _e( 'Welcome to WordPress 7.1' ); ?></h2>
|
<h2><?php _e( 'Welcome to WordPress 7.1' ); ?></h2>
|
||||||
|
|||||||
@@ -1981,7 +1981,8 @@ div.action-links,
|
|||||||
|
|
||||||
.plugins .active th.check-column,
|
.plugins .active th.check-column,
|
||||||
.plugins .active td.check-column,
|
.plugins .active td.check-column,
|
||||||
.plugin-update-tr.active td {
|
.plugin-update-tr.active td,
|
||||||
|
.plugins tr.paused td.check-column {
|
||||||
border-right: 4px solid transparent;
|
border-right: 4px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1995,6 +1996,10 @@ div.action-links,
|
|||||||
border-right: 4px solid var(--wp-admin-theme-color);
|
border-right: 4px solid var(--wp-admin-theme-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plugins tr.active.paused {
|
||||||
|
border-right: 4px solid #b32d2e;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-list-table .column-primary .toggle-row {
|
.wp-list-table .column-primary .toggle-row {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@@ -2341,8 +2346,7 @@ div.action-links,
|
|||||||
|
|
||||||
.plugins tr.active + tr.inactive th.check-column,
|
.plugins tr.active + tr.inactive th.check-column,
|
||||||
.plugins tr.active + tr.inactive td.check-column,
|
.plugins tr.active + tr.inactive td.check-column,
|
||||||
.plugins tr.active + tr.inactive td.column-description,
|
.plugins tr.active + tr.inactive td.column-description {
|
||||||
.plugins .plugin-update-tr:before {
|
|
||||||
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2352,13 +2356,8 @@ div.action-links,
|
|||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* mimic the checkbox th */
|
|
||||||
.plugins .plugin-update-tr:before {
|
|
||||||
content: "";
|
|
||||||
display: table-cell;
|
|
||||||
}
|
|
||||||
|
|
||||||
.plugins #the-list .plugin-update-tr .plugin-update {
|
.plugins #the-list .plugin-update-tr .plugin-update {
|
||||||
|
flex: 0 1 100%;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2366,12 +2365,6 @@ div.action-links,
|
|||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .active.update + .plugin-update-tr:before,
|
|
||||||
.plugins .active.updated + .plugin-update-tr:before {
|
|
||||||
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
||||||
border-right: 4px solid var(--wp-admin-theme-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.plugins .plugin-update-tr .update-message {
|
.plugins .plugin-update-tr .update-message {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1980,7 +1980,8 @@ div.action-links,
|
|||||||
|
|
||||||
.plugins .active th.check-column,
|
.plugins .active th.check-column,
|
||||||
.plugins .active td.check-column,
|
.plugins .active td.check-column,
|
||||||
.plugin-update-tr.active td {
|
.plugin-update-tr.active td,
|
||||||
|
.plugins tr.paused td.check-column {
|
||||||
border-left: 4px solid transparent;
|
border-left: 4px solid transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1994,6 +1995,10 @@ div.action-links,
|
|||||||
border-left: 4px solid var(--wp-admin-theme-color);
|
border-left: 4px solid var(--wp-admin-theme-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.plugins tr.active.paused {
|
||||||
|
border-left: 4px solid #b32d2e;
|
||||||
|
}
|
||||||
|
|
||||||
.wp-list-table .column-primary .toggle-row {
|
.wp-list-table .column-primary .toggle-row {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
@@ -2340,8 +2345,7 @@ div.action-links,
|
|||||||
|
|
||||||
.plugins tr.active + tr.inactive th.check-column,
|
.plugins tr.active + tr.inactive th.check-column,
|
||||||
.plugins tr.active + tr.inactive td.check-column,
|
.plugins tr.active + tr.inactive td.check-column,
|
||||||
.plugins tr.active + tr.inactive td.column-description,
|
.plugins tr.active + tr.inactive td.column-description {
|
||||||
.plugins .plugin-update-tr:before {
|
|
||||||
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2351,13 +2355,8 @@ div.action-links,
|
|||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* mimic the checkbox th */
|
|
||||||
.plugins .plugin-update-tr:before {
|
|
||||||
content: "";
|
|
||||||
display: table-cell;
|
|
||||||
}
|
|
||||||
|
|
||||||
.plugins #the-list .plugin-update-tr .plugin-update {
|
.plugins #the-list .plugin-update-tr .plugin-update {
|
||||||
|
flex: 0 1 100%;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2365,12 +2364,6 @@ div.action-links,
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.plugins .active.update + .plugin-update-tr:before,
|
|
||||||
.plugins .active.updated + .plugin-update-tr:before {
|
|
||||||
background-color: rgba(var(--wp-admin-theme-color--rgb), 0.08);
|
|
||||||
border-left: 4px solid var(--wp-admin-theme-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.plugins .plugin-update-tr .update-message {
|
.plugins .plugin-update-tr .update-message {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -202,11 +202,23 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login form .forgetmenot {
|
.login form .forgetmenot {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
/* Matches the height of the Log In button beside it, so the row centers on it. */
|
||||||
|
min-height: 40px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
float: right;
|
float: right;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Centering aligns margin boxes, so margins left from the inline layout would offset these. */
|
||||||
|
.login form .forgetmenot input[type="checkbox"],
|
||||||
|
.login form .forgetmenot label {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.login .button-primary {
|
.login .button-primary {
|
||||||
float: left;
|
float: left;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -201,11 +201,23 @@ p {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.login form .forgetmenot {
|
.login form .forgetmenot {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
|
/* Matches the height of the Log In button beside it, so the row centers on it. */
|
||||||
|
min-height: 40px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
float: left;
|
float: left;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Centering aligns margin boxes, so margins left from the inline layout would offset these. */
|
||||||
|
.login form .forgetmenot input[type="checkbox"],
|
||||||
|
.login form .forgetmenot label {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.login .button-primary {
|
.login .button-primary {
|
||||||
float: right;
|
float: right;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2059,6 +2059,13 @@ function wp_ajax_menu_quick_search() {
|
|||||||
function wp_ajax_get_permalink() {
|
function wp_ajax_get_permalink() {
|
||||||
check_ajax_referer( 'getpermalink', 'getpermalinknonce' );
|
check_ajax_referer( 'getpermalink', 'getpermalinknonce' );
|
||||||
$post_id = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
|
$post_id = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
|
||||||
|
if ( ! $post_id ) {
|
||||||
|
// Bypass call to get_preview_post_link() for unspecified post ID.
|
||||||
|
wp_die( '' );
|
||||||
|
}
|
||||||
|
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
||||||
|
wp_die( -1 );
|
||||||
|
}
|
||||||
wp_die( get_preview_post_link( $post_id ) );
|
wp_die( get_preview_post_link( $post_id ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2070,8 +2077,15 @@ function wp_ajax_get_permalink() {
|
|||||||
function wp_ajax_sample_permalink() {
|
function wp_ajax_sample_permalink() {
|
||||||
check_ajax_referer( 'samplepermalink', 'samplepermalinknonce' );
|
check_ajax_referer( 'samplepermalink', 'samplepermalinknonce' );
|
||||||
$post_id = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
|
$post_id = isset( $_POST['post_id'] ) ? (int) $_POST['post_id'] : 0;
|
||||||
$title = $_POST['new_title'] ?? '';
|
if ( ! $post_id ) {
|
||||||
$slug = $_POST['new_slug'] ?? null;
|
// Bypass call to get_sample_permalink_html() for unspecified post ID.
|
||||||
|
wp_die( '' );
|
||||||
|
}
|
||||||
|
if ( ! current_user_can( 'edit_post', $post_id ) ) {
|
||||||
|
wp_die( -1 );
|
||||||
|
}
|
||||||
|
$title = $_POST['new_title'] ?? '';
|
||||||
|
$slug = $_POST['new_slug'] ?? null;
|
||||||
wp_die( get_sample_permalink_html( $post_id, $title, $slug ) );
|
wp_die( get_sample_permalink_html( $post_id, $title, $slug ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4615,6 +4629,12 @@ function wp_ajax_activate_plugin() {
|
|||||||
wp_send_json_error( $status );
|
wp_send_json_error( $status );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// A network-only plugin is activated for the entire network.
|
||||||
|
if ( is_multisite() && is_network_only_plugin( $status['plugin'] ) && ! current_user_can( 'manage_network_plugins' ) ) {
|
||||||
|
$status['errorMessage'] = __( 'Sorry, you are not allowed to activate this plugin.' );
|
||||||
|
wp_send_json_error( $status );
|
||||||
|
}
|
||||||
|
|
||||||
if ( is_plugin_active( $status['plugin'] ) ) {
|
if ( is_plugin_active( $status['plugin'] ) ) {
|
||||||
$status['errorMessage'] = sprintf(
|
$status['errorMessage'] = sprintf(
|
||||||
/* translators: %s: Plugin name. */
|
/* translators: %s: Plugin name. */
|
||||||
|
|||||||
@@ -572,7 +572,7 @@ class Custom_Image_Header {
|
|||||||
$header_image_style .= 'height:' . $custom_header->height . 'px;';
|
$header_image_style .= 'height:' . $custom_header->height . 'px;';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<div id="headimg" style="<?php echo $header_image_style; ?>">
|
<div id="headimg" style="<?php echo esc_attr( $header_image_style ); ?>">
|
||||||
<?php
|
<?php
|
||||||
if ( display_header_text() ) {
|
if ( display_header_text() ) {
|
||||||
$style = ' style="color:#' . get_header_textcolor() . ';"';
|
$style = ' style="color:#' . get_header_textcolor() . ';"';
|
||||||
@@ -1184,8 +1184,8 @@ endif;
|
|||||||
'attachment_id' => $choice['attachment_id'],
|
'attachment_id' => $choice['attachment_id'],
|
||||||
'url' => $choice['url'],
|
'url' => $choice['url'],
|
||||||
'thumbnail_url' => $choice['url'],
|
'thumbnail_url' => $choice['url'],
|
||||||
'height' => $choice['height'],
|
'height' => absint( $choice['height'] ),
|
||||||
'width' => $choice['width'],
|
'width' => absint( $choice['width'] ),
|
||||||
);
|
);
|
||||||
|
|
||||||
update_post_meta( $choice['attachment_id'], '_wp_attachment_is_custom_header', get_stylesheet() );
|
update_post_meta( $choice['attachment_id'], '_wp_attachment_is_custom_header', get_stylesheet() );
|
||||||
@@ -1216,7 +1216,13 @@ endif;
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set_theme_mod( 'header_image', sanitize_url( $header_image_data['url'] ) );
|
$header_image_data['url'] = sanitize_url( $header_image_data['url'] );
|
||||||
|
|
||||||
|
if ( isset( $header_image_data['thumbnail_url'] ) ) {
|
||||||
|
$header_image_data['thumbnail_url'] = sanitize_url( $header_image_data['thumbnail_url'] );
|
||||||
|
}
|
||||||
|
|
||||||
|
set_theme_mod( 'header_image', $header_image_data['url'] );
|
||||||
set_theme_mod( 'header_image_data', $header_image_data );
|
set_theme_mod( 'header_image_data', $header_image_data );
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1589,9 +1595,8 @@ endif;
|
|||||||
$alt_text_key = '_wp_attachment_image_alt';
|
$alt_text_key = '_wp_attachment_image_alt';
|
||||||
|
|
||||||
foreach ( $header_images as &$header_image ) {
|
foreach ( $header_images as &$header_image ) {
|
||||||
$header_meta = get_post_meta( $header_image['attachment_id'] );
|
$header_image['timestamp'] = get_post_meta( $header_image['attachment_id'], $timestamp_key, true );
|
||||||
$header_image['timestamp'] = $header_meta[ $timestamp_key ] ?? '';
|
$header_image['alt_text'] = get_post_meta( $header_image['attachment_id'], $alt_text_key, true );
|
||||||
$header_image['alt_text'] = $header_meta[ $alt_text_key ] ?? '';
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return $header_images;
|
return $header_images;
|
||||||
|
|||||||
@@ -3370,7 +3370,7 @@ function attachment_submitbox_metadata() {
|
|||||||
<?php
|
<?php
|
||||||
if ( $post->post_parent ) {
|
if ( $post->post_parent ) {
|
||||||
$post_parent = get_post( $post->post_parent );
|
$post_parent = get_post( $post->post_parent );
|
||||||
if ( $post_parent ) {
|
if ( $post_parent && current_user_can( 'read_post', $post_parent->ID ) ) {
|
||||||
$uploaded_to_title = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' );
|
$uploaded_to_title = $post_parent->post_title ? $post_parent->post_title : __( '(no title)' );
|
||||||
$uploaded_to_link = get_edit_post_link( $post->post_parent, 'raw' );
|
$uploaded_to_link = get_edit_post_link( $post->post_parent, 'raw' );
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -1003,6 +1003,7 @@ function confirm_delete_users( $users ) {
|
|||||||
'include' => $blog_users,
|
'include' => $blog_users,
|
||||||
'show' => 'display_name_with_login',
|
'show' => 'display_name_with_login',
|
||||||
'id' => "reassign_user_{$details->userblog_id}_{$delete_user->ID}",
|
'id' => "reassign_user_{$details->userblog_id}_{$delete_user->ID}",
|
||||||
|
'blog_id' => $details->userblog_id,
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|||||||
@@ -598,11 +598,17 @@ function is_plugin_active_for_network( $plugin ) {
|
|||||||
* Checks for "Site Wide Only: true" for backward compatibility.
|
* Checks for "Site Wide Only: true" for backward compatibility.
|
||||||
*
|
*
|
||||||
* @since 3.0.0
|
* @since 3.0.0
|
||||||
|
* @since 7.1.1 The `$plugin` path is normalized with `plugin_basename()` and `trim()`,
|
||||||
|
* matching how `activate_plugin()` resolves it.
|
||||||
*
|
*
|
||||||
* @param string $plugin Path to the plugin file relative to the plugins directory.
|
* @param string $plugin Path to the plugin file. Accepts a path relative to the plugins
|
||||||
|
* directory, or an absolute path, with or without surrounding whitespace.
|
||||||
* @return bool True if plugin is network only, false otherwise.
|
* @return bool True if plugin is network only, false otherwise.
|
||||||
*/
|
*/
|
||||||
function is_network_only_plugin( $plugin ) {
|
function is_network_only_plugin( $plugin ) {
|
||||||
|
// Normalize the path the same way activate_plugin() does, so both agree on the file.
|
||||||
|
$plugin = plugin_basename( trim( $plugin ) );
|
||||||
|
|
||||||
$plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
|
$plugin_data = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin );
|
||||||
if ( $plugin_data ) {
|
if ( $plugin_data ) {
|
||||||
return $plugin_data['Network'];
|
return $plugin_data['Network'];
|
||||||
|
|||||||
@@ -24,6 +24,20 @@ function _wp_translate_postdata( $update = false, $post_data = null ) {
|
|||||||
$post_data = &$_POST;
|
$post_data = &$_POST;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* A raw `ID` on the create path (no `post_ID`) is an attempt to overwrite an
|
||||||
|
* existing post while bypassing the per-post capability checks below, which only
|
||||||
|
* run on the update path. Reject it outright: legitimate post creation never
|
||||||
|
* carries an `ID`.
|
||||||
|
*/
|
||||||
|
if ( ! $update && ! empty( $post_data['ID'] ) ) {
|
||||||
|
if ( 'page' === $post_data['post_type'] ) {
|
||||||
|
return new WP_Error( 'edit_others_pages', __( 'Sorry, you are not allowed to edit pages as this user.' ) );
|
||||||
|
} else {
|
||||||
|
return new WP_Error( 'edit_others_posts', __( 'Sorry, you are not allowed to edit posts as this user.' ) );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( $update ) {
|
if ( $update ) {
|
||||||
$post_data['ID'] = (int) $post_data['post_ID'];
|
$post_data['ID'] = (int) $post_data['post_ID'];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2082,9 +2082,9 @@ themes.RunInstaller = {
|
|||||||
self.view.collection.query( request );
|
self.view.collection.query( request );
|
||||||
self.view.collection.trigger( 'update' );
|
self.view.collection.trigger( 'update' );
|
||||||
|
|
||||||
// Open the theme preview.
|
// Open the theme preview. The slug comes from the URL, so escape it.
|
||||||
self.view.collection.once( 'query:success', function() {
|
self.view.collection.once( 'query:success', function() {
|
||||||
$( 'div[data-slug="' + slug + '"]' ).trigger( 'click' );
|
$( 'div.theme[data-slug="' + $.escapeSelector( slug ) + '"]' ).trigger( 'click' );
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
Kangaroos cannot jump here
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
Kangaroos cannot jump here
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
User-agent: *
|
||||||
|
Disallow: /ai1wm-backups/
|
||||||
|
Disallow: /wp-content/ai1wm-backups/
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<system.webServer>
|
||||||
|
<staticContent>
|
||||||
|
<mimeMap fileExtension=".wpress" mimeType="application/octet-stream" />
|
||||||
|
</staticContent>
|
||||||
|
<defaultDocument>
|
||||||
|
<files>
|
||||||
|
<add value="index.php" />
|
||||||
|
</files>
|
||||||
|
</defaultDocument>
|
||||||
|
<directoryBrowse enabled="false" />
|
||||||
|
</system.webServer>
|
||||||
|
</configuration>
|
||||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 3.3 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 7.4 KiB |
|
After Width: | Height: | Size: 40 KiB |
|
After Width: | Height: | Size: 50 KiB |
|
After Width: | Height: | Size: 58 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 9.8 KiB |
|
After Width: | Height: | Size: 5.2 KiB |
|
After Width: | Height: | Size: 6.8 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 26 KiB |
|
After Width: | Height: | Size: 79 KiB |
|
After Width: | Height: | Size: 92 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 660 B |
|
After Width: | Height: | Size: 700 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 5.4 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 874 B |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 2.2 KiB |
|
After Width: | Height: | Size: 7.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 8.4 KiB |
|
After Width: | Height: | Size: 4.8 KiB |
|
After Width: | Height: | Size: 6.4 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 14 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 5.3 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
After Width: | Height: | Size: 70 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 5.1 KiB |
|
After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 24 KiB |
|
After Width: | Height: | Size: 29 KiB |
|
After Width: | Height: | Size: 269 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 4.9 KiB |
|
After Width: | Height: | Size: 283 KiB |