@@ 191-203 (lines=13) @@ | ||
188 | * @access private |
|
189 | * @return void |
|
190 | */ |
|
191 | private function _display_minimum_recommended_wp_version_notice() { |
|
192 | global $wp_version; |
|
193 | EE_Error::add_persistent_admin_notice( |
|
194 | 'wp_version_' . str_replace( '.', '-', EE_MIN_WP_VER_RECOMMENDED ) . '_recommended', |
|
195 | sprintf( |
|
196 | __( 'Event Espresso recommends WordPress version %1$s or greater in order for everything to operate properly. You are currently running version %2$s.%3$sFor information on how to update your version of WordPress, please go to %4$s.', 'event_espresso' ), |
|
197 | EE_MIN_WP_VER_RECOMMENDED, |
|
198 | $wp_version, |
|
199 | '<br/>', |
|
200 | '<a href="http://codex.wordpress.org/Updating_WordPress">http://codex.wordpress.org/Updating_WordPress</a>' |
|
201 | ) |
|
202 | ); |
|
203 | } |
|
204 | ||
205 | ||
206 | ||
@@ 213-224 (lines=12) @@ | ||
210 | * @access private |
|
211 | * @return void |
|
212 | */ |
|
213 | private function _display_minimum_recommended_php_version_notice() { |
|
214 | EE_Error::add_persistent_admin_notice( |
|
215 | 'php_version_' . str_replace( '.', '-', EE_MIN_PHP_VER_RECOMMENDED ) . '_recommended', |
|
216 | sprintf( |
|
217 | __( 'Event Espresso recommends PHP version %1$s or greater for optimal performance. You are currently running version %2$s.%3$sIn order to update your version of PHP, you will need to contact your current hosting provider.%3$sFor information on stable PHP versions, please go to %4$s.', 'event_espresso' ), |
|
218 | EE_MIN_PHP_VER_RECOMMENDED, |
|
219 | PHP_VERSION, |
|
220 | '<br/>', |
|
221 | '<a href="http://php.net/downloads.php">http://php.net/downloads.php</a>' |
|
222 | ) |
|
223 | ); |
|
224 | } |
|
225 | ||
226 | } |
|
227 |