Edit File by line
/home/zeestwma/ceyloniy.../wp-admin
File: options-permalink.php
?>
[500] Fix | Delete
</p>
[501] Fix | Delete
<form action="options-permalink.php" method="post">
[502] Fix | Delete
<?php wp_nonce_field( 'update-permalink' ); ?>
[503] Fix | Delete
<p>
[504] Fix | Delete
<label for="rules"><?php _e( 'Rewrite rules:' ); ?></label><br />
[505] Fix | Delete
<textarea rows="18" class="large-text readonly"
[506] Fix | Delete
name="rules" id="rules" readonly="readonly"
[507] Fix | Delete
aria-describedby="iis-description-b"
[508] Fix | Delete
><?php echo esc_textarea( $wp_rewrite->iis7_url_rewrite_rules( true ) ); ?></textarea>
[509] Fix | Delete
</p>
[510] Fix | Delete
</form>
[511] Fix | Delete
<p>
[512] Fix | Delete
<?php
[513] Fix | Delete
printf(
[514] Fix | Delete
/* translators: %s: web.config */
[515] Fix | Delete
__( 'If you temporarily make your site&#8217;s root directory writable to generate the %s file automatically, do not forget to revert the permissions after the file has been created.' ),
[516] Fix | Delete
'<code>web.config</code>'
[517] Fix | Delete
);
[518] Fix | Delete
?>
[519] Fix | Delete
</p>
[520] Fix | Delete
<?php endif; // End if 'web.config' exists. ?>
[521] Fix | Delete
<?php endif; // End if $_POST['submit'] && ! $writable. ?>
[522] Fix | Delete
<?php else : ?>
[523] Fix | Delete
<?php if ( $permalink_structure && ! $using_index_permalinks && ! $writable && $htaccess_update_required ) : ?>
[524] Fix | Delete
<p id="htaccess-description">
[525] Fix | Delete
<?php
[526] Fix | Delete
printf(
[527] Fix | Delete
/* translators: 1: .htaccess, 2: Documentation URL, 3: Ctrl + A, 4: ⌘ + A */
[528] Fix | Delete
__( '<strong>Error:</strong> Your %1$s file is not <a href="%2$s">writable</a>, so updating it automatically was not possible. These are the mod_rewrite rules you should have in your %1$s file. Click in the field and press %3$s (or %4$s on Mac) to select all.' ),
[529] Fix | Delete
'<code>.htaccess</code>',
[530] Fix | Delete
__( 'https://developer.wordpress.org/advanced-administration/server/file-permissions/' ),
[531] Fix | Delete
'<kbd>Ctrl + A</kbd>',
[532] Fix | Delete
'<kbd>⌘ + A</kbd>'
[533] Fix | Delete
);
[534] Fix | Delete
?>
[535] Fix | Delete
</p>
[536] Fix | Delete
<form action="options-permalink.php" method="post">
[537] Fix | Delete
<?php wp_nonce_field( 'update-permalink' ); ?>
[538] Fix | Delete
<p>
[539] Fix | Delete
<label for="rules"><?php _e( 'Rewrite rules:' ); ?></label><br />
[540] Fix | Delete
<textarea rows="8" class="large-text readonly"
[541] Fix | Delete
name="rules" id="rules" readonly="readonly"
[542] Fix | Delete
aria-describedby="htaccess-description"
[543] Fix | Delete
><?php echo esc_textarea( $wp_rewrite->mod_rewrite_rules() ); ?></textarea>
[544] Fix | Delete
</p>
[545] Fix | Delete
</form>
[546] Fix | Delete
<?php endif; // End if ! $writable && $htaccess_update_required. ?>
[547] Fix | Delete
<?php endif; // End if $iis7_permalinks. ?>
[548] Fix | Delete
<?php endif; // End if ! is_multisite(). ?>
[549] Fix | Delete
[550] Fix | Delete
</div><!-- .wrap -->
[551] Fix | Delete
[552] Fix | Delete
<?php require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
[553] Fix | Delete
[554] Fix | Delete
12
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function