PluginProbe
Yoast SEO – Advanced SEO with real-time guidance and built-in AI / trunk
Yoast SEO – Advanced SEO with real-time guidance and built-in AI vtrunk
28.5 28.4 28.3 28.2 28.1 28.0 27.9 27.8 27.7 27.6 27.5 trunk 18.0 18.1 18.2 18.3 18.4 18.4.1 18.5 18.5.1 18.6 18.7 18.8 18.9 19.0 All 129 releases
← All changes | src/integrations/watchers/indexable-permalink-watcher.php +6 -0 18.8 → trunk View file →
@@ -85,8 +85,10 @@
85 85 }
86 86
87 87 /**
88 88 * Resets the permalinks for everything that is related to the permalink structure.
89 + *
90 + * @return void
89 91 */
90 92 public function reset_permalinks() {
91 93
92 94 $post_types = $this->get_post_types();
@@ -110,8 +112,10 @@
110 112 /**
111 113 * Resets the permalink for the given post type.
112 114 *
113 115 * @param string $post_type The post type to reset.
116 + *
117 + * @return void
114 118 */
115 119 public function reset_permalinks_post_type( $post_type ) {
116 120 $this->indexable_helper->reset_permalink_indexables( 'post', $post_type );
117 121 $this->indexable_helper->reset_permalink_indexables( 'post-type-archive', $post_type );
@@ -122,8 +126,10 @@
122 126 *
123 127 * @param string $old_value Unused. The old option value.
124 128 * @param string $new_value Unused. The new option value.
125 129 * @param string $type The option name.
130 + *
131 + * @return void
126 132 */
127 133 public function reset_permalinks_term( $old_value, $new_value, $type ) {
128 134 $subtype = $type;
129 135