Skip to content

Commit e1722e3

Browse files
committed
rename methods
1 parent 375df74 commit e1722e3

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

src/Admin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ private static function add_plugin_page_row_action_links() {
8484

8585
return array_merge( [
8686
'<a href="' . esc_url( admin_url( 'options-general.php?page=' . str_replace( '-', '_', Plugin::ID ) ) ) . '">' . esc_html__( 'Settings', 'wp-php-console' ) . '</a>',
87-
'<a href="' . esc_url( Plugin::get_project_page_url() ) . '">' . esc_html__( 'GitHub', 'wp-php-console' ) . '</a>',
87+
'<a href="' . esc_url( Plugin::get_wp_php_console_repository_url() ) . '">' . esc_html__( 'GitHub', 'wp-php-console' ) . '</a>',
8888
'<a href="' . esc_url( Plugin::get_support_page_url() ) . '">' . esc_html__( 'Support', 'wp-php-console' ) . '</a>',
8989
'<a href="' . esc_url( Plugin::get_reviews_page_url() ) . '">' . esc_html__( 'Review', 'wp-php-console' ) . '</a>',
9090
], $actions );

src/Plugin.php

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -315,80 +315,80 @@ public static function get_plugin_page_url() {
315315

316316

317317
/**
318-
* Gets the GitHub repository page URL.
318+
* Gets the plugin reviews page URL.
319319
*
320320
* @since 1.6.0
321321
*
322322
* @return string
323323
*/
324-
public static function get_project_page_url() {
324+
public static function get_reviews_page_url() {
325325

326-
return 'https://github.com/unfulvio/wp-php-console';
326+
return 'https://wordpress.org/support/plugin/wp-php-console/reviews/';
327327
}
328328

329329

330330
/**
331-
* Gets the PHP Console project page URL.
331+
* Gets the plugin support page URL.
332332
*
333333
* @since 1.6.0
334334
*
335335
* @return string
336336
*/
337-
public static function get_php_console_repository_url() {
337+
public static function get_support_page_url() {
338338

339-
return 'https://github.com/barbushin/php-console';
339+
return 'https://wordpress.org/support/plugin/wp-php-console/';
340340
}
341341

342342

343343
/**
344-
* Gets the PHP Console Google Chrome extension URL.
344+
* Gets the GitHub repository page URL.
345345
*
346346
* @since 1.6.0
347347
*
348348
* @return string
349349
*/
350-
public static function get_php_console_chrome_extension_web_store_url() {
350+
public static function get_wp_php_console_repository_url() {
351351

352-
return 'https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef';
352+
return 'https://github.com/unfulvio/wp-php-console';
353353
}
354354

355355

356356
/**
357-
* Gets the PHP Console Google Chrome extension repository URL.
357+
* Gets the PHP Console project page URL.
358358
*
359359
* @since 1.6.0
360360
*
361361
* @return string
362362
*/
363-
public static function get_php_console_chrome_extension_repository_url() {
363+
public static function get_php_console_repository_url() {
364364

365-
return 'https://github.com/barbushin/php-console-extension';
365+
return 'https://github.com/barbushin/php-console';
366366
}
367367

368368

369369
/**
370-
* Gets the plugin reviews page URL.
370+
* Gets the PHP Console Google Chrome extension URL.
371371
*
372372
* @since 1.6.0
373373
*
374374
* @return string
375375
*/
376-
public static function get_reviews_page_url() {
376+
public static function get_php_console_chrome_extension_web_store_url() {
377377

378-
return 'https://wordpress.org/support/plugin/wp-php-console/reviews/';
378+
return 'https://chrome.google.com/webstore/detail/php-console/nfhmhhlpfleoednkpnnnkolmclajemef';
379379
}
380380

381381

382382
/**
383-
* Gets the plugin support page URL.
383+
* Gets the PHP Console Google Chrome extension repository URL.
384384
*
385385
* @since 1.6.0
386386
*
387387
* @return string
388388
*/
389-
public static function get_support_page_url() {
389+
public static function get_php_console_chrome_extension_repository_url() {
390390

391-
return 'https://wordpress.org/support/plugin/wp-php-console/';
391+
return 'https://github.com/barbushin/php-console-extension';
392392
}
393393

394394

0 commit comments

Comments
 (0)