IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
|
|
|
72 | 72 | * Retrieve full permalink for current post or post ID. |
73 | 73 | * |
74 | 74 | * @since 1.0.0 |
| 75 | * @deprecated 3.6.0 |
| 76 | * @deprecated Use get_the_permalink() |
75 | 77 | * |
76 | 78 | * @param int $id Optional. Post ID. |
77 | 79 | * @param bool $leavename Optional, defaults to false. Whether to keep post name or page name. |
78 | 80 | * @return string |
79 | 81 | */ |
80 | 82 | function get_permalink( $id = 0, $leavename = false ) { |
| 83 | return get_the_permalink( $id, $leavename ); |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Retrieve full permalink for current post or post ID. |
| 88 | * |
| 89 | * @since 3.6.0 |
| 90 | * |
| 91 | * @param int $id Optional. Post ID. |
| 92 | * @param bool $leavename Optional, defaults to false. Whether to keep post name or page name. |
| 93 | * @return string |
| 94 | */ |
| 95 | function get_the_permalink( $id = 0, $leavename = false ) { |
81 | 96 | $rewritecode = array( |
82 | 97 | '%year%', |
83 | 98 | '%monthnum%', |