Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Thelastpoet committed May 16, 2023
1 parent 99e439b commit 5f65a92
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ Manuel is a WordPress plugin that searches and removes broken links and images i

- Searches for broken links and images in WordPress posts
- Removes broken links and images
- Updates the modified dates of affected posts
- Provides an admin interface for viewing removed links and images

## Installation
Expand Down
2 changes: 1 addition & 1 deletion includes/class-manuel-mwene.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ private function replace_broken_links( $content, $post ) {
$anchor_text = $link->nodeValue;
$time_removed = current_time( 'mysql' );

// Check if the broken link record exists in the database
// Check if the broken link record is in the database
$broken_link = $wpdb->get_row( $wpdb->prepare(
"SELECT * FROM {$table_name} WHERE post_id = %d AND original_link = %s AND anchor_text = %s", $post->ID, $href, $anchor_text ) );

Expand Down
2 changes: 1 addition & 1 deletion manuel.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@
register_activation_hook( __FILE__, [ __NAMESPACE__ . '\Manuel_Activator', 'activate' ]);
register_uninstall_hook( __FILE__, [ __NAMESPACE__ . '\Manuel_Deactivator', 'deactivate' ]);

// Initialize the plugin.
// Initialize the Manuel.
$manuel = new Manuel();
$manuel->run();
2 changes: 1 addition & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Manuel is a WordPress plugin that searches and removes broken links and images in WordPress posts, and updates the modified dates of these posts.
Manuel is a WordPress plugin that searches and removes broken links and images in WordPress posts.

== Description ==

Expand Down

0 comments on commit 5f65a92

Please sign in to comment.